Class Tuples.Raw

  • All Implemented Interfaces:
    AssignmentTestable
    Enclosing class:
    Tuples

    public static class Tuples.Raw
    extends AbstractMarker.MultiColumnRaw
    A raw placeholder for a tuple of values for different multiple columns, each of which may have a different type. For example, "SELECT ... WHERE (col1, col2) > ?".
    • Constructor Detail

      • Raw

        public Raw​(int bindIndex)
    • Method Detail

      • getExactTypeIfKnown

        public AbstractType<?> getExactTypeIfKnown​(java.lang.String keyspace)
        Description copied from class: Term.Raw
        The type of the term if it can be infered.
        Specified by:
        getExactTypeIfKnown in class Term.Raw
        Parameters:
        keyspace - the keyspace on which the statement containing this term is on.
        Returns:
        the type of this Term if inferrable, or null otherwise (for instance, the type isn't inferable for a bind marker. Even for literals, the exact type is not inferrable since they are valid for many different types and so this will return null too).