org.apache.cassandra.cql3
Class UpdateParameters

java.lang.Object
  extended by org.apache.cassandra.cql3.UpdateParameters

public class UpdateParameters
extends java.lang.Object

A simple container that simplify passing parameters for collections methods.


Field Summary
 int localDeletionTime
           
 long timestamp
           
 java.util.List<java.nio.ByteBuffer> variables
           
 
Constructor Summary
UpdateParameters(java.util.List<java.nio.ByteBuffer> variables, long timestamp, int ttl)
           
 
Method Summary
 Column makeColumn(java.nio.ByteBuffer name, java.nio.ByteBuffer value)
           
 RangeTombstone makeRangeTombstone(java.nio.ByteBuffer start, java.nio.ByteBuffer end)
           
 Column makeTombstone(java.nio.ByteBuffer name)
           
 RangeTombstone makeTombstoneForOverwrite(java.nio.ByteBuffer start, java.nio.ByteBuffer end)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

variables

public final java.util.List<java.nio.ByteBuffer> variables

timestamp

public final long timestamp

localDeletionTime

public final int localDeletionTime
Constructor Detail

UpdateParameters

public UpdateParameters(java.util.List<java.nio.ByteBuffer> variables,
                        long timestamp,
                        int ttl)
Method Detail

makeColumn

public Column makeColumn(java.nio.ByteBuffer name,
                         java.nio.ByteBuffer value)

makeTombstone

public Column makeTombstone(java.nio.ByteBuffer name)

makeRangeTombstone

public RangeTombstone makeRangeTombstone(java.nio.ByteBuffer start,
                                         java.nio.ByteBuffer end)

makeTombstoneForOverwrite

public RangeTombstone makeTombstoneForOverwrite(java.nio.ByteBuffer start,
                                                java.nio.ByteBuffer end)


Copyright © 2012 The Apache Software Foundation