Package org.apache.cassandra.cql3
Class VariableSpecifications
java.lang.Object
org.apache.cassandra.cql3.VariableSpecifications
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(int bindIndex, ColumnSpecification spec) static VariableSpecificationsempty()Returns an empty instance ofVariableSpecifications.short[]Returns an array with the same length as the number of partition key columns for the table corresponding to table.booleanisEmpty()toString()
-
Constructor Details
-
VariableSpecifications
-
-
Method Details
-
empty
Returns an empty instance ofVariableSpecifications.- Returns:
- an empty instance of
VariableSpecifications
-
isEmpty
public boolean isEmpty() -
getBindVariables
-
getPartitionKeyBindVariableIndexes
Returns an array with the same length as the number of partition key columns for the table corresponding to table. Each short in the array represents the bind index of the marker that holds the value for that partition key column. If there are no bind markers for any of the partition key columns, null is returned. Callers of this method should ensure that all statements operate on the same table. -
add
-
toString
-