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.ParsedUpdate |
ModificationStatement.Parsed, ModificationStatement.StatementType
attrs, 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, buildCasResultSet, buildPartitionKeyNames, checkAccess, columnFamily, createClusteringPrefix, execute, executeInternal, executeWithCondition, getBoundTerms, getColumnsWithConditions, getFirstEmptyKey, getOperations, getTimestamp, getTimeToLive, hasConditions, hasIfExistCondition, hasIfNotExistCondition, isCounter, isTimestampSet, keyspace, makeUpdateParameters, processWhereClause, readRequiredRows, requiresRead, setIfExistCondition, setIfNotExistCondition, validate, validateWhereClauseForConditions
public boolean requireFullClusteringKey()
requireFullClusteringKey
in class ModificationStatement
public void addUpdateForKey(ColumnFamily cf, java.nio.ByteBuffer key, Composite prefix, UpdateParameters params) throws InvalidRequestException
addUpdateForKey
in class ModificationStatement
InvalidRequestException
public void addUpdateForKey(ColumnFamily cf, java.nio.ByteBuffer key, Composite prefix, UpdateParameters params, boolean validateIndexedColumns) throws InvalidRequestException
InvalidRequestException
Copyright © 2015 The Apache Software Foundation