Used when creating a ContactPoint to allow users to provide a single KeySpace derived query.
Used when creating a ContactPoint to allow users to provide a single KeySpace derived query. When users want to provide a single argument to the ContactPoint#keySpace method, they can use the following syntax to generate a full keyspace initialisation query.
KeySpace("test").builder.ifNotExists
Definition used to cast an index map column with keys indexed to a query-able definition.
Definition used to cast an index map column with keys indexed to a query-able definition. This will allow users to use "CONTAINS KEY" clauses to search for matches based on map keys.
The Cassandra table inner type.
The record type of the table.
The type of the key held in the map.
The type of the value held in the map.
A MapConditionals class with CONTAINS KEY support.
Augments Cassandra VersionNumber descriptors to support simple comparison of versions.
Augments Cassandra VersionNumber descriptors to support simple comparison of versions. This allows for operations that can differ based on the Cassandra version used by the session.
(Since version 2.9.0) Use BigDecimalColumn without passing in the 'this' argument
(Since version 2.9.0) Use BigIntColumn without passing in the 'this' argument
(Since version 2.9.0) Use BlobColumn without passing in the 'this' argument
(Since version 2.9.0) Use BooleanColumn without passing in the 'this' argument
(Since version 2.9.0) Use Column[Type] without passing in the 'this' argument
(Since version 2.9.0) Use CounterColumn without passing in the 'this' argument
(Since version 2.9.0) Use DateColumn without passing in the 'this' argument
(Since version 2.9.0) Use DateTimeColumn without passing in the 'this' argument
(Since version 2.9.0) Use DoubleColumn without passing in the 'this' argument
(Since version 2.9.0) Use FloatColumn without passing in the 'this' argument
(Since version 2.9.0) Use InetAddressColumn without passing in the 'this' argument
(Since version 2.9.0) Use IntColumn without passing in the 'this' argument
(Since version 2.9.0) Use LocalDateColumn without passing in the 'this' argument
(Since version 2.9.0) Use LongColumn without passing in the 'this' argument
(Since version 2.9.0) Use OptionalBigDecimalColumn without passing in the 'this' argument
(Since version 2.9.0) Use OptionalBigIntColumn without passing in the 'this' argument
(Since version 2.9.0) Use OptionalBlobColumn without passing in the 'this' argument
(Since version 2.9.0) Use OptionalBooleanColumn without passing in the 'this' argument
(Since version 2.9.0) Use OptionalCol[Type] without passing in the 'this' argument
(Since version 2.9.0) Use OptionalDateColumn without passing in the 'this' argument
(Since version 2.9.0) Use OptionalDateTimeColumn without passing in the 'this' argument
(Since version 2.9.0) Use OptionalDoubleColumn without passing in the 'this' argument
(Since version 2.9.0) Use OptionalFloatColumn without passing in the 'this' argument
(Since version 2.9.0) Use OptionalInetAddressColumn without passing in the 'this' argument
(Since version 2.9.0) Use OptionalIntColumn without passing in the 'this' argument
(Since version 2.9.0) Use OptionalLocalDateColumn without passing in the 'this' argument
(Since version 2.9.0) Use OptionalLongColumn without passing in the 'this' argument
(Since version 2.9.0) Use OptionalCol[Type] without passing in the 'this' argument
(Since version 2.9.0) Use OptionalSmallIntColumn without passing in the 'this' argument
(Since version 2.9.0) Use OptionalStringColumn without passing in the 'this' argument
(Since version 2.9.0) Use OptionalTimeUUIDColumn without passing in the 'this' argument
(Since version 2.9.0) Use OptionalTinyIntColumn without passing in the 'this' argument
(Since version 2.9.0) Use OptionalUUIDColumn without passing in the 'this' argument
(Since version 2.9.0) Use Column[Type] without passing in the 'this' argument
(Since version 2.9.0) Use SmallIntColumn without passing in the 'this' argument
(Since version 2.9.0) Use StringColumn without passing in the 'this' argument
(Since version 2.9.0) Use TimeUUIDColumn without passing in the 'this' argument
(Since version 2.9.0) Use TinyIntColumn without passing in the 'this' argument
(Since version 2.9.0) Use UUIDColumn without passing in the 'this' argument
Table creation clause allowing specification of CQL compaction strategies.
Table creation clause allowing specification of CQL compaction strategies.
import com.outworkers.phantom.dsl._ SomeTable.create.`with`(compaction eqs SnappyCompressor)
Helper object used to specify the compression strategy for a table.
Helper object used to specify the compression strategy for a table. According to the Cassandra specification, the available strategies are:
A simple way to define a strategy is by using the {{eqs}} method.
import com.outworkers.phantom.dsl._ SomeTable.create.with(compression eqs SnappyCompressor)
Using a compression strategy also allows using the API methods of controlling compressor behaviour:
import com.outworkers.phantom.dsl._ import com.twitter.conversions.storage._ SomeTable.create.`with`(compression eqs SnappyCompressor.chunk_length_kb(50.kilobytes))
Used as a secondary option when creating a ContactPoint to allow users to provide a single KeySpace derived query.
Used as a secondary option when creating a ContactPoint to allow users to provide a single KeySpace derived query. When users want to provide a single argument to the ContactPoint#keySpace method, they can use the following syntax to generate a full keyspace initialisation query. The KeySpace will implicitly convert to a RootSerializer.
KeySpace("test").ifNotExists
Definition used to cast a comparison clause to Map entry lookup based on a secondary index.
Definition used to cast a comparison clause to Map entry lookup based on a secondary index.
The type of the key inside the MapColumn.
The type of the value held inside the MapColumn.
The column update clause generated from MapColumn.apply(keyValue)
A MapEntriesConditionals query that allows secondary index operators on map entries.
Definition used to cast an index map column with values indexed to a query-able definition.
Definition used to cast an index map column with values indexed to a query-able definition. This will allow users to use "CONTAINS" clauses to search for matches based on map values.
The Cassandra table inner type.
The record type of the table.
The type of the key held in the map.
The type of the value held in the map.
The map column to cast to a Map column secondary index query.
A MapConditionals class with CONTAINS support.