org.apache.cassandra.cql
Class BatchUpdateStatement
java.lang.Object
org.apache.cassandra.cql.BatchUpdateStatement
public class BatchUpdateStatement
- extends java.lang.Object
A BATCH UPDATE statement parsed from a CQL query.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
BatchUpdateStatement
public BatchUpdateStatement(java.util.List<UpdateStatement> updates,
ConsistencyLevel consistency)
- Creates a new BatchUpdateStatement from a list of UpdateStatements and a
Thrift consistency level.
- Parameters:
updates - a list of UpdateStatementsconsistency - Thrift consistency level enum
getConsistencyLevel
public ConsistencyLevel getConsistencyLevel()
getUpdates
public java.util.List<UpdateStatement> getUpdates()
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
Copyright © 2011 The Apache Software Foundation