}
}
}
- Throws:
java.io.IOException
add
public void add(ColumnFamily columnFamily)
addOrGet
public ColumnFamily addOrGet(java.lang.String cfName)
- Returns:
- the ColumnFamily in this RowMutation corresponding to @param cfName, creating an empty one if necessary.
isEmpty
public boolean isEmpty()
add
public void add(QueryPath path,
java.nio.ByteBuffer value,
long timestamp,
int timeToLive)
addCounter
public void addCounter(QueryPath path,
long value)
add
public void add(QueryPath path,
java.nio.ByteBuffer value,
long timestamp)
delete
public void delete(QueryPath path,
long timestamp)
addAll
public void addAll(IMutation m)
- Specified by:
addAll
in interface IMutation
apply
public void apply()
throws java.io.IOException
- Specified by:
apply
in interface IMutation
- Throws:
java.io.IOException
applyUnsafe
public void applyUnsafe()
throws java.io.IOException
- Throws:
java.io.IOException
getMessage
public Message getMessage(java.lang.Integer version)
throws java.io.IOException
- Specified by:
getMessage
in interface MessageProducer
- Throws:
java.io.IOException
getMessage
public Message getMessage(StorageService.Verb verb,
int version)
throws java.io.IOException
- Throws:
java.io.IOException
getSerializedBuffer
public byte[] getSerializedBuffer(int version)
throws java.io.IOException
- Throws:
java.io.IOException
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
toString
public java.lang.String toString(boolean shallow)
- Specified by:
toString
in interface IMutation
addColumnOrSuperColumn
public void addColumnOrSuperColumn(java.lang.String cfName,
org.apache.cassandra.thrift.ColumnOrSuperColumn cosc)
deleteColumnOrSuperColumn
public void deleteColumnOrSuperColumn(java.lang.String cfName,
org.apache.cassandra.thrift.Deletion del)
fromBytes
public static RowMutation fromBytes(byte[] raw,
int version)
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 2012 The Apache Software Foundation