Class VariableSpecifications


  • public class VariableSpecifications
    extends java.lang.Object
    • Constructor Detail

      • VariableSpecifications

        public VariableSpecifications​(java.util.List<ColumnIdentifier> variableNames)
    • Method Detail

      • empty

        public static VariableSpecifications empty()
        Returns an empty instance of VariableSpecifications.
        Returns:
        an empty instance of VariableSpecifications
      • isEmpty

        public boolean isEmpty()
      • getPartitionKeyBindVariableIndexes

        public short[] getPartitionKeyBindVariableIndexes​(TableMetadata metadata)
        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.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object