You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@phoenix.apache.org by Lavrenty Eskin <la...@NetCracker.com> on 2015/01/14 14:22:25 UTC

java.math.BigInteger in phoenix

Hi all,

How to better store java.math.BigInteger datatype in phoenix?
Phoenix's BIGINT datatype mapped to java.lang.Long
Is there any option except VARCHAR(19)?

Thanks


________________________________
The information transmitted herein is intended only for the person or entity to which it is addressed and may contain confidential, proprietary and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.

Re: java.math.BigInteger in phoenix

Posted by anil gupta <an...@gmail.com>.
You can use the Type called DECIMAL.
http://phoenix.apache.org/language/datatypes.html#decimal_type

HTH,
Anil Gupta

On Wed, Jan 14, 2015 at 5:22 AM, Lavrenty Eskin <
lavrenty.eskin@netcracker.com> wrote:

> Hi all,
>
> How to better store java.math.BigInteger datatype in phoenix?
> Phoenix's BIGINT datatype mapped to java.lang.Long
> Is there any option except VARCHAR(19)?
>
> Thanks
>
>
> ________________________________
> The information transmitted herein is intended only for the person or
> entity to which it is addressed and may contain confidential, proprietary
> and/or privileged material. Any review, retransmission, dissemination or
> other use of, or taking of any action in reliance upon, this information by
> persons or entities other than the intended recipient is prohibited. If you
> received this in error, please contact the sender and delete the material
> from any computer.
>



-- 
Thanks & Regards,
Anil Gupta