Storing 128bit numbers in elastic or mongodb

I have design requirement to be able to save an IPv6 address in a decimal format. In java I have BigInteger that can hold 40 digit number and Oracle takes it via JDBC driver just fine.

How can do this in Elastic or Mongo DB. From what I read, max numbers supported in elastic or mongodb are 64bit bigint numbers. For e.g. if i convert

 FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF, 

decimal format is

 340282366920938463463374607431768211455 (total of 39 digits). 

What is the best way to solve this in elastic or mongo. I need to be able to run range functions (=,<,<=,>=) on this field to search the documents.

Answer:1

I want to check if a string: String s = "a=182 b=41 c=72", contains only: a b c, with their respective values, but they can occur in random order. How do I go about doing this? I have tried doing the ...

I have 2 tiles, for example. Here is the matrix: 0,0,0,0,2 0,0,0,0,0 1,0,0,0,0 How I can automatically make a line from 1 one to point 2? Final result will be something like that: 0,0,0,1,2 0,1,1,...

We're downloading a file from FTP server. Content of the file changes sometimes. File name is always the same. Is this scenario possible? File content is "aaaaaaaaaaaaa" We start downloading File is ...

I am having trouble with my last method. I am informed that I have to use my adjust method from my BankAccount.class in my monthlyFee method in my bank class and I can not figure it out. I've tried ...