Source

casbench / include / cassandra_types.hrl

The default branch has multiple heads

-ifndef(_cassandra_types_included).
-define(_cassandra_types_included, yeah).

-define(cassandra_ZERO, 0).
-define(cassandra_ONE, 1).
-define(cassandra_QUORUM, 2).
-define(cassandra_DCQUORUM, 3).
-define(cassandra_DCQUORUMSYNC, 4).
-define(cassandra_ALL, 5).

-record(column, {name, value, timestamp}).

-record(superColumn, {name, columns}).

-record(columnOrSuperColumn, {column, super_column}).

-record(notFoundException, {}).

-record(invalidRequestException, {why}).

-record(unavailableException, {}).

-record(timedOutException, {}).

-record(columnParent, {column_family, super_column}).

-record(columnPath, {column_family, super_column, column}).

-record(sliceRange, {start, finish, reversed, count}).

-record(slicePredicate, {column_names, slice_range}).

-record(keySlice, {key, columns}).

-endif.