public interface Selectable extends AssignmentTestable
| Modifier and Type | Interface and Description |
|---|---|
static class |
Selectable.Raw |
static class |
Selectable.WithCast |
static class |
Selectable.WithFieldSelection |
static class |
Selectable.WithFunction |
static class |
Selectable.WithTerm |
static class |
Selectable.WithToJSonFunction |
static class |
Selectable.WritetimeOrTTL |
AssignmentTestable.TestResult| Modifier and Type | Method and Description |
|---|---|
default int |
addAndGetIndex(ColumnDefinition def,
java.util.List<ColumnDefinition> l) |
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) |
default AssignmentTestable.TestResult |
testAssignment(java.lang.String keyspace,
ColumnSpecification receiver) |
Selector.Factory newSelectorFactory(CFMetaData cfm, AbstractType<?> expectedType, java.util.List<ColumnDefinition> defs, VariableSpecifications boundNames)
AbstractType<?> getExactTypeIfKnown(java.lang.String keyspace)
Selectable if it can be infered.keyspace - 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).default AssignmentTestable.TestResult testAssignment(java.lang.String keyspace, ColumnSpecification receiver)
testAssignment in interface AssignmentTestabledefault int addAndGetIndex(ColumnDefinition def, java.util.List<ColumnDefinition> l)
Copyright © 2018 The Apache Software Foundation