public static class Selectable.WritetimeOrTTL extends java.lang.Object implements Selectable
| Modifier and Type | Class and Description |
|---|---|
static class |
Selectable.WritetimeOrTTL.Raw |
Selectable.WithCast, Selectable.WithFieldSelection, Selectable.WithFunction, Selectable.WithTerm, Selectable.WithToJSonFunction, Selectable.WritetimeOrTTLAssignmentTestable.TestResult| Modifier and Type | Field and Description |
|---|---|
ColumnDefinition |
column |
boolean |
isWritetime |
| Constructor and Description |
|---|
WritetimeOrTTL(ColumnDefinition column,
boolean isWritetime) |
| Modifier and Type | Method and Description |
|---|---|
AbstractType<?> |
getExactTypeIfKnown(java.lang.String keyspace)
The type of the
Selectable if it can be infered. |
Selector.Factory |
newSelectorFactory(CFMetaData cfm,
AbstractType<?> expectedType,
java.util.List<ColumnDefinition> defs,
VariableSpecifications boundNames) |
java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddAndGetIndex, testAssignmentpublic final ColumnDefinition column
public final boolean isWritetime
public WritetimeOrTTL(ColumnDefinition column, boolean isWritetime)
public java.lang.String toString()
toString in class java.lang.Objectpublic Selector.Factory newSelectorFactory(CFMetaData cfm, AbstractType<?> expectedType, java.util.List<ColumnDefinition> defs, VariableSpecifications boundNames)
newSelectorFactory in interface Selectablepublic AbstractType<?> getExactTypeIfKnown(java.lang.String keyspace)
SelectableSelectable if it can be infered.getExactTypeIfKnown in interface Selectablekeyspace - the keyspace on which the statement for which this is a
Selectable is on.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).Copyright © 2018 The Apache Software Foundation