org.apache.cassandra.cql3
Class Maps.Putter

java.lang.Object
  extended by org.apache.cassandra.cql3.Operation
      extended by org.apache.cassandra.cql3.Maps.Putter
Enclosing class:
Maps

public static class Maps.Putter
extends Operation


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.cassandra.cql3.Operation
Operation.Addition, Operation.ColumnDeletion, Operation.ElementDeletion, Operation.Prepend, Operation.RawDeletion, Operation.RawUpdate, Operation.SetElement, Operation.SetValue, Operation.Substraction
 
Field Summary
 
Fields inherited from class org.apache.cassandra.cql3.Operation
columnName, t
 
Constructor Summary
Maps.Putter(ColumnIdentifier column, Term t)
           
 
Method Summary
 void execute(java.nio.ByteBuffer rowKey, ColumnFamily cf, ColumnNameBuilder prefix, UpdateParameters params)
          Execute the operation.
 
Methods inherited from class org.apache.cassandra.cql3.Operation
collectMarkerSpecification, requiresRead
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Maps.Putter

public Maps.Putter(ColumnIdentifier column,
                   Term t)
Method Detail

execute

public void execute(java.nio.ByteBuffer rowKey,
                    ColumnFamily cf,
                    ColumnNameBuilder prefix,
                    UpdateParameters params)
             throws InvalidRequestException
Description copied from class: Operation
Execute the operation.

Specified by:
execute in class Operation
Parameters:
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 (callers should not reuse the ColumnNameBuilder they pass here).
params - parameters of the update.
Throws:
InvalidRequestException


Copyright © 2013 The Apache Software Foundation