public abstract class ReadOperation
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
ReadOperation() |
Modifier and Type | Method and Description |
---|---|
static ReadOperation |
create() |
abstract java.util.List<java.lang.String> |
getColumns() |
abstract java.lang.String |
getIndex() |
abstract KeySet |
getKeySet() |
abstract Statement |
getQuery() |
abstract java.lang.String |
getTable() |
ReadOperation |
withColumns(java.util.List<java.lang.String> columns) |
ReadOperation |
withColumns(java.lang.String... columns) |
ReadOperation |
withIndex(java.lang.String index) |
ReadOperation |
withKeySet(KeySet keySet) |
ReadOperation |
withPartitionOptions(PartitionOptions partitionOptions) |
ReadOperation |
withQuery(Statement statement) |
ReadOperation |
withQuery(java.lang.String sql) |
ReadOperation |
withTable(java.lang.String table) |
public static ReadOperation create()
@Nullable public abstract Statement getQuery()
@Nullable public abstract java.lang.String getTable()
@Nullable public abstract java.lang.String getIndex()
@Nullable public abstract java.util.List<java.lang.String> getColumns()
@Nullable public abstract KeySet getKeySet()
public ReadOperation withTable(java.lang.String table)
public ReadOperation withColumns(java.lang.String... columns)
public ReadOperation withColumns(java.util.List<java.lang.String> columns)
public ReadOperation withQuery(Statement statement)
public ReadOperation withQuery(java.lang.String sql)
public ReadOperation withKeySet(KeySet keySet)
public ReadOperation withIndex(java.lang.String index)
public ReadOperation withPartitionOptions(PartitionOptions partitionOptions)