cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From S G <>
Subject DataStax: What codec to use for converting bigint to Long?
Date Thu, 30 Mar 2017 19:36:12 GMT

I have a bigint field in my Cassandra that I want to convert to a long
value. However, I am not sure how to specify the same in my

Here is the code:

@Column(name="phone", codec=TypeCodec.)
private Double phoneNumber;

Can someone please tell what to use in the Column annotation?

Thanks for the help,


View raw message