Modifier and Type | Class and Description |
---|---|
class |
AbstractMarker
A single bind marker.
|
static class |
Constants.Marker |
static class |
Constants.Value
A constant value, i.e.
|
static class |
Lists.DelayedValue
Basically similar to a Value, but with some non-pure function (that need
to be evaluated at execution time) in it.
|
static class |
Lists.Marker
A marker for List values and IN relations
|
static class |
Lists.Value |
static class |
Maps.DelayedValue |
static class |
Maps.Marker |
static class |
Maps.Value |
static class |
Sets.DelayedValue |
static class |
Sets.Marker |
static class |
Sets.Value |
static class |
Term.MultiItemTerminal |
static class |
Term.NonTerminal
A non terminal term, i.e.
|
static class |
Term.Terminal
A terminal term, one that can be reduced to a byte buffer directly.
|
static class |
Tuples.DelayedValue
Similar to Value, but contains at least one NonTerminal, such as a non-pure functions or bind marker.
|
static class |
Tuples.InMarker
Represents a marker for a set of IN values that are tuples, like "SELECT ...
|
static class |
Tuples.InValue
A terminal value for a list of IN values that are tuples.
|
static class |
Tuples.Marker
{@code
Represents a marker for a single tuple, like "SELECT ...
|
static class |
Tuples.Value
A tuple of terminal values (e.g (123, 'abc')).
|
static class |
UserTypes.DelayedValue |
static class |
UserTypes.Marker |
static class |
UserTypes.Value |
Modifier and Type | Field and Description |
---|---|
protected Term |
Operation.t |
Modifier and Type | Field and Description |
---|---|
java.util.List<Term> |
Tuples.DelayedValue.elements |
Modifier and Type | Method and Description |
---|---|
Term |
QueryOptions.getJsonColumnValue(int bindIndex,
ColumnIdentifier columnName,
java.util.Collection<ColumnDefinition> expectedReceivers)
Returns the term corresponding to column
columnName in the JSON value of bind index bindIndex . |
Term |
Lists.Literal.prepare(java.lang.String keyspace,
ColumnSpecification receiver) |
Term |
Maps.Literal.prepare(java.lang.String keyspace,
ColumnSpecification receiver) |
Term |
Sets.Literal.prepare(java.lang.String keyspace,
ColumnSpecification receiver) |
abstract Term |
Term.Raw.prepare(java.lang.String keyspace,
ColumnSpecification receiver)
This method validates this RawTerm is valid for provided column
specification and "prepare" this RawTerm, returning the resulting
prepared Term.
|
Term |
Tuples.Literal.prepare(java.lang.String keyspace,
ColumnSpecification receiver) |
Term |
TypeCast.prepare(java.lang.String keyspace,
ColumnSpecification receiver) |
Term |
UserTypes.Literal.prepare(java.lang.String keyspace,
ColumnSpecification receiver) |
abstract Term |
Term.MultiColumnRaw.prepare(java.lang.String keyspace,
java.util.List<? extends ColumnSpecification> receiver) |
Term |
Tuples.Literal.prepare(java.lang.String keyspace,
java.util.List<? extends ColumnSpecification> receivers) |
protected Term |
MultiColumnRelation.toTerm(java.util.List<? extends ColumnSpecification> receivers,
Term.Raw raw,
java.lang.String keyspace,
VariableSpecifications boundNames) |
protected abstract Term |
Relation.toTerm(java.util.List<? extends ColumnSpecification> receivers,
Term.Raw raw,
java.lang.String keyspace,
VariableSpecifications boundNames)
Converts the specified
Raw into a Term . |
protected Term |
SingleColumnRelation.toTerm(java.util.List<? extends ColumnSpecification> receivers,
Term.Raw raw,
java.lang.String keyspace,
VariableSpecifications boundNames) |
protected Term |
TokenRelation.toTerm(java.util.List<? extends ColumnSpecification> receivers,
Term.Raw raw,
java.lang.String keyspace,
VariableSpecifications boundNames) |
Term |
ColumnCondition.value() |
Modifier and Type | Method and Description |
---|---|
static java.util.Map<ColumnIdentifier,Term> |
Json.parseJson(java.lang.String jsonString,
java.util.Collection<ColumnDefinition> expectedReceivers)
Given a JSON string, return a map of columns to their values for the insert.
|
protected java.util.List<Term> |
Relation.toTerms(java.util.List<? extends ColumnSpecification> receivers,
java.util.List<? extends Term.Raw> raws,
java.lang.String keyspace,
VariableSpecifications boundNames)
Converts the specified
Raw terms into a Term s. |
Modifier and Type | Method and Description |
---|---|
static ColumnCondition |
ColumnCondition.condition(ColumnDefinition column,
FieldIdentifier udtField,
Term value,
Operator op) |
static ColumnCondition |
ColumnCondition.condition(ColumnDefinition column,
Term value,
Operator op) |
static ColumnCondition |
ColumnCondition.condition(ColumnDefinition column,
Term collectionElement,
Term value,
Operator op) |
static ColumnCondition |
ColumnCondition.inCondition(ColumnDefinition column,
FieldIdentifier udtField,
Term inMarker) |
static ColumnCondition |
ColumnCondition.inCondition(ColumnDefinition column,
Term inMarker) |
static ColumnCondition |
ColumnCondition.inCondition(ColumnDefinition column,
Term collectionElement,
java.util.List<Term> inValues) |
static ColumnCondition |
ColumnCondition.inCondition(ColumnDefinition column,
Term collectionElement,
Term inMarker) |
Modifier and Type | Method and Description |
---|---|
static void |
Terms.addFunctions(java.lang.Iterable<Term> terms,
java.util.List<Function> functions) |
static ColumnCondition |
ColumnCondition.inCondition(ColumnDefinition column,
FieldIdentifier udtField,
java.util.List<Term> inValues) |
static ColumnCondition |
ColumnCondition.inCondition(ColumnDefinition column,
java.util.List<Term> inValues) |
static ColumnCondition |
ColumnCondition.inCondition(ColumnDefinition column,
Term collectionElement,
java.util.List<Term> inValues) |
Constructor and Description |
---|
DelayedValue(java.util.Comparator<java.nio.ByteBuffer> comparator,
java.util.Map<Term,Term> elements) |
DelayedValue(java.util.Comparator<java.nio.ByteBuffer> comparator,
java.util.Map<Term,Term> elements) |
DelayedValue(java.util.Comparator<java.nio.ByteBuffer> comparator,
java.util.Set<Term> elements) |
DelayedValue(java.util.List<Term> elements) |
DelayedValue(TupleType type,
java.util.List<Term> elements) |
DelayedValue(UserType type,
java.util.List<Term> values) |
Modifier and Type | Class and Description |
---|---|
class |
FunctionCall |
Modifier and Type | Method and Description |
---|---|
Term |
FunctionCall.Raw.prepare(java.lang.String keyspace,
ColumnSpecification receiver) |
Modifier and Type | Field and Description |
---|---|
protected Term |
MultiColumnRestriction.EQRestriction.value |
Term |
SingleColumnRestriction.EQRestriction.value |
Modifier and Type | Field and Description |
---|---|
protected java.util.List<Term> |
MultiColumnRestriction.InRestrictionWithValues.values |
protected java.util.List<Term> |
SingleColumnRestriction.InRestrictionWithValues.values |
Modifier and Type | Method and Description |
---|---|
Term |
TermSlice.bound(Bound bound)
Returns the boundary value.
|
Modifier and Type | Method and Description |
---|---|
static TermSlice |
TermSlice.newInstance(Bound bound,
boolean include,
Term term)
Creates a new
TermSlice with the specified boundary. |
Constructor and Description |
---|
InRestrictionWithValues(ColumnDefinition columnDef,
java.util.List<Term> values) |
InRestrictionWithValues(java.util.List<ColumnDefinition> columnDefs,
java.util.List<Term> values) |
SuperColumnKeyINRestrictionWithValues(ColumnDefinition columnDef,
java.util.List<Term> values) |
Modifier and Type | Method and Description |
---|---|
static Selector.Factory |
TermSelector.newFactory(java.lang.String name,
Term term,
AbstractType<?> type) |
Constructor and Description |
---|
SelectStatement(CFMetaData cfm,
int boundTerms,
SelectStatement.Parameters parameters,
Selection selection,
StatementRestrictions restrictions,
boolean isReversed,
AggregationSpecification aggregationSpec,
java.util.Comparator<java.util.List<java.nio.ByteBuffer>> orderingComparator,
Term limit,
Term perPartitionLimit) |
Modifier and Type | Method and Description |
---|---|
Term |
AbstractCompositeType.fromJSONObject(java.lang.Object parsed) |
abstract Term |
AbstractType.fromJSONObject(java.lang.Object parsed)
Given a parsed JSON string, return a byte representation of the object.
|
Term |
AsciiType.fromJSONObject(java.lang.Object parsed) |
Term |
BooleanType.fromJSONObject(java.lang.Object parsed) |
Term |
ByteType.fromJSONObject(java.lang.Object parsed) |
Term |
BytesType.fromJSONObject(java.lang.Object parsed) |
Term |
CounterColumnType.fromJSONObject(java.lang.Object parsed) |
Term |
DateType.fromJSONObject(java.lang.Object parsed)
Deprecated.
|
Term |
DecimalType.fromJSONObject(java.lang.Object parsed) |
Term |
DoubleType.fromJSONObject(java.lang.Object parsed) |
Term |
DurationType.fromJSONObject(java.lang.Object parsed) |
Term |
EmptyType.fromJSONObject(java.lang.Object parsed) |
Term |
FloatType.fromJSONObject(java.lang.Object parsed) |
Term |
FrozenType.fromJSONObject(java.lang.Object parsed) |
Term |
InetAddressType.fromJSONObject(java.lang.Object parsed) |
Term |
Int32Type.fromJSONObject(java.lang.Object parsed) |
Term |
IntegerType.fromJSONObject(java.lang.Object parsed) |
Term |
LexicalUUIDType.fromJSONObject(java.lang.Object parsed) |
Term |
ListType.fromJSONObject(java.lang.Object parsed) |
Term |
LongType.fromJSONObject(java.lang.Object parsed) |
Term |
MapType.fromJSONObject(java.lang.Object parsed) |
Term |
PartitionerDefinedOrder.fromJSONObject(java.lang.Object parsed) |
Term |
ReversedType.fromJSONObject(java.lang.Object parsed) |
Term |
SetType.fromJSONObject(java.lang.Object parsed) |
Term |
ShortType.fromJSONObject(java.lang.Object parsed) |
Term |
SimpleDateType.fromJSONObject(java.lang.Object parsed) |
Term |
TimeType.fromJSONObject(java.lang.Object parsed) |
Term |
TimeUUIDType.fromJSONObject(java.lang.Object parsed) |
Term |
TimestampType.fromJSONObject(java.lang.Object parsed) |
Term |
TupleType.fromJSONObject(java.lang.Object parsed) |
Term |
UTF8Type.fromJSONObject(java.lang.Object parsed) |
Term |
UUIDType.fromJSONObject(java.lang.Object parsed) |
Term |
UserType.fromJSONObject(java.lang.Object parsed) |
Copyright © 2018 The Apache Software Foundation