Package | Description |
---|---|
com.datastax.driver.core.schemabuilder |
A CQL3 schema builder.
|
Modifier and Type | Method and Description |
---|---|
static TableOptions.CachingRowsPerPartition |
SchemaBuilder.allRows()
Return the row caching strategy that caches all rows (
all ), to use in a CREATE or ALTER TABLE statement. |
static TableOptions.CachingRowsPerPartition |
SchemaBuilder.noRows()
Return the row caching strategy that never caches rows (
none , to use in a CREATE or ALTER TABLE statement. |
static TableOptions.CachingRowsPerPartition |
SchemaBuilder.rows(int rowNumber)
Return the row caching strategy that caches a given number of rows, to use in a CREATE or ALTER TABLE statement.
|
Modifier and Type | Method and Description |
---|---|
T |
TableOptions.caching(SchemaBuilder.KeyCaching keys,
TableOptions.CachingRowsPerPartition rowsPerPartition)
Define the caching options for Cassandra 2.1.x.
|
Copyright © 2012–2017. All rights reserved.