Class Selectable.WithFunction

java.lang.Object
org.apache.cassandra.cql3.selection.Selectable.WithFunction
All Implemented Interfaces:
AssignmentTestable, Selectable
Enclosing interface:
Selectable

public static class Selectable.WithFunction extends Object implements Selectable
  • Field Details

  • Constructor Details

  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • newSelectorFactory

      public Selector.Factory newSelectorFactory(TableMetadata table, AbstractType<?> expectedType, List<ColumnMetadata> defs, VariableSpecifications boundNames)
      Specified by:
      newSelectorFactory in interface Selectable
    • selectColumns

      public boolean selectColumns(Predicate<ColumnMetadata> predicate)
      Description copied from interface: Selectable
      Checks if this Selectable select columns matching the specified predicate.
      Specified by:
      selectColumns in interface Selectable
      Returns:
      true if this Selectable select columns matching the specified predicate, false otherwise.
    • getExactTypeIfKnown

      public AbstractType<?> getExactTypeIfKnown(String keyspace)
      Description copied from interface: Selectable
      The type of the Selectable if it can be infered.
      Specified by:
      getExactTypeIfKnown in interface Selectable
      Parameters:
      keyspace - the keyspace on which the statement for which this is a Selectable is on.
      Returns:
      the type of this Selectable 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).