- long int
These are all stores as native number values in the RDBMS and their natural Java representations in the key/value store.
These are stored using the native types in the RDBMS. The atomic values above are stored in their natural Java representation in the key/value store. JSON is stored as a serialized string and binary is stored as a raw byte sequence.
why should we use double vs. float vs. decimal in our code?
this is essentially correct: https://stackoverflow.com/questions/618535/difference-between-decimal-float-and-double-in-net