Class Selectable.WritetimeOrTTL
java.lang.Object
org.apache.cassandra.cql3.selection.Selectable.WritetimeOrTTL
- All Implemented Interfaces:
AssignmentTestable,Selectable
- Enclosing interface:
- Selectable
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic classNested classes/interfaces inherited from interface org.apache.cassandra.cql3.AssignmentTestable
AssignmentTestable.TestResultNested classes/interfaces inherited from interface org.apache.cassandra.cql3.selection.Selectable
Selectable.BetweenParenthesesOrWithTuple, Selectable.RawIdentifier, Selectable.WithArrayLiteral, Selectable.WithCast, Selectable.WithElementSelection, Selectable.WithFieldSelection, Selectable.WithFunction, Selectable.WithList, Selectable.WithMapOrUdt, Selectable.WithSet, Selectable.WithSliceSelection, Selectable.WithTerm, Selectable.WithTypeHint, Selectable.WithVector, Selectable.WritetimeOrTTL -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionWritetimeOrTTL(ColumnMetadata column, Selectable selectable, Selectable.WritetimeOrTTL.Kind kind) -
Method Summary
Modifier and TypeMethodDescriptionAbstractType<?>getExactTypeIfKnown(String keyspace) The type of theSelectableif it can be infered.newSelectorFactory(TableMetadata table, AbstractType<?> expectedType, List<ColumnMetadata> defs, VariableSpecifications boundNames) booleanselectColumns(Predicate<ColumnMetadata> predicate) Checks if thisSelectableselect columns matching the specified predicate.toString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.cassandra.cql3.selection.Selectable
addAndGetIndex, getCompatibleTypeIfKnown, processesSelection, specForElementOrSlice, testAssignment
-
Field Details
-
column
-
selectable
-
kind
-
-
Constructor Details
-
WritetimeOrTTL
public WritetimeOrTTL(ColumnMetadata column, Selectable selectable, Selectable.WritetimeOrTTL.Kind kind)
-
-
Method Details
-
toString
-
newSelectorFactory
public Selector.Factory newSelectorFactory(TableMetadata table, AbstractType<?> expectedType, List<ColumnMetadata> defs, VariableSpecifications boundNames) - Specified by:
newSelectorFactoryin interfaceSelectable
-
getExactTypeIfKnown
Description copied from interface:SelectableThe type of theSelectableif it can be infered.- Specified by:
getExactTypeIfKnownin interfaceSelectable- Parameters:
keyspace- the keyspace on which the statement for which this is aSelectableis on.- Returns:
- the type of this
Selectableif inferrable, ornullotherwise (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 returnnulltoo).
-
selectColumns
Description copied from interface:SelectableChecks if thisSelectableselect columns matching the specified predicate.- Specified by:
selectColumnsin interfaceSelectable- Returns:
trueif thisSelectableselect columns matching the specified predicate,falseotherwise.
-