public class UpdateStatement extends ModificationStatement
UPDATE statement parsed from a CQL query statement.| Modifier and Type | Class and Description |
|---|---|
static class |
UpdateStatement.ParsedInsert |
static class |
UpdateStatement.ParsedInsertJson
A parsed INSERT JSON statement.
|
static class |
UpdateStatement.ParsedUpdate |
ModificationStatement.Parsed, ModificationStatement.StatementTypeattrs, cfm, processedKeys, type| Modifier and Type | Method and Description |
|---|---|
void |
addUpdateForKey(ColumnFamily cf,
java.nio.ByteBuffer key,
Composite prefix,
UpdateParameters params) |
void |
addUpdateForKey(ColumnFamily cf,
java.nio.ByteBuffer key,
Composite prefix,
UpdateParameters params,
boolean validateIndexedColumns) |
boolean |
requireFullClusteringKey() |
addCondition, addConditions, addKeyValue, addOperation, appliesOnlyToStaticColumns, appliesToRegularColumns, buildCasResultSet, buildPartitionKeyNames, checkAccess, columnFamily, createClusteringPrefix, execute, executeInternal, executeInternalWithCondition, executeInternalWithoutCondition, executeWithCondition, getBoundTerms, getColumnsWithConditions, getFirstEmptyKey, getFunctions, getOperations, getTimestamp, getTimeToLive, hasConditions, hasIfExistCondition, hasIfNotExistCondition, hasRegularConditions, hasStaticConditions, isCounter, isTimestampSet, keyspace, makeUpdateParameters, processWhereClause, readRequiredRows, requiresRead, setIfExistCondition, setIfNotExistCondition, validate, validateWhereClauseForConditionspublic boolean requireFullClusteringKey()
requireFullClusteringKey in class ModificationStatementpublic void addUpdateForKey(ColumnFamily cf, java.nio.ByteBuffer key, Composite prefix, UpdateParameters params) throws InvalidRequestException
addUpdateForKey in class ModificationStatementInvalidRequestExceptionpublic void addUpdateForKey(ColumnFamily cf, java.nio.ByteBuffer key, Composite prefix, UpdateParameters params, boolean validateIndexedColumns) throws InvalidRequestException
InvalidRequestExceptionCopyright © 2018 The Apache Software Foundation