Operation.Addition, Operation.ColumnDeletion, Operation.ElementDeletion, Operation.Prepend, Operation.RawDeletion, Operation.RawUpdate, Operation.SetElement, Operation.SetValue, Operation.Substraction
Constructor and Description |
---|
DiscarderByIndex(ColumnDefinition column,
Term idx) |
Modifier and Type | Method and Description |
---|---|
void |
execute(java.nio.ByteBuffer rowKey,
ColumnFamily cf,
Composite prefix,
UpdateParameters params)
Execute the operation.
|
boolean |
requiresRead() |
collectMarkerSpecification, getFunctions
public DiscarderByIndex(ColumnDefinition column, Term idx)
public boolean requiresRead()
requiresRead
in class Operation
public void execute(java.nio.ByteBuffer rowKey, ColumnFamily cf, Composite prefix, UpdateParameters params) throws InvalidRequestException
Operation
execute
in class Operation
rowKey
- row key for the update.cf
- the column family to which to add the updates generated by this operation.prefix
- the prefix that identify the CQL3 row this operation applies to.params
- parameters of the update.InvalidRequestException
Copyright © 2019 The Apache Software Foundation