public abstract class ColumnCondition
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
ColumnCondition.Bound |
static class |
ColumnCondition.Raw |
Modifier and Type | Field and Description |
---|---|
ColumnMetadata |
column |
Operator |
operator |
Modifier and Type | Method and Description |
---|---|
void |
addFunctionsTo(java.util.List<Function> functions)
Adds functions for the bind variables of this operation.
|
abstract ColumnCondition.Bound |
bind(QueryOptions options) |
protected java.util.List<java.nio.ByteBuffer> |
bindAndGetTerms(QueryOptions options) |
protected java.util.List<Term.Terminal> |
bindTerms(QueryOptions options) |
void |
collectMarkerSpecification(VariableSpecifications boundNames)
Collects the column specification for the bind variables of this operation.
|
static ColumnCondition |
condition(ColumnMetadata column,
FieldIdentifier udtField,
Operator op,
Terms terms)
A UDT column, simple condition.
|
static ColumnCondition |
condition(ColumnMetadata column,
Operator op,
Terms terms)
A regular column, simple condition.
|
static ColumnCondition |
condition(ColumnMetadata column,
Term collectionElement,
Operator op,
Terms terms)
A collection column, simple condition.
|
protected static boolean |
evaluateComparisonWithOperator(int comparison,
Operator operator) |
protected static Cell<?> |
getCell(Row row,
ColumnMetadata column) |
protected static Cell<?> |
getCell(Row row,
ColumnMetadata column,
CellPath path) |
protected static java.util.Iterator<Cell<?>> |
getCells(Row row,
ColumnMetadata column) |
public final ColumnMetadata column
public final Operator operator
public void addFunctionsTo(java.util.List<Function> functions)
functions
- the list of functions to get addpublic void collectMarkerSpecification(VariableSpecifications boundNames)
boundNames
- the list of column specification where to collect the
bind variables of this term in.public abstract ColumnCondition.Bound bind(QueryOptions options)
protected final java.util.List<java.nio.ByteBuffer> bindAndGetTerms(QueryOptions options)
protected final java.util.List<Term.Terminal> bindTerms(QueryOptions options)
public static ColumnCondition condition(ColumnMetadata column, Operator op, Terms terms)
public static ColumnCondition condition(ColumnMetadata column, Term collectionElement, Operator op, Terms terms)
public static ColumnCondition condition(ColumnMetadata column, FieldIdentifier udtField, Operator op, Terms terms)
protected static final Cell<?> getCell(Row row, ColumnMetadata column)
protected static final Cell<?> getCell(Row row, ColumnMetadata column, CellPath path)
protected static final java.util.Iterator<Cell<?>> getCells(Row row, ColumnMetadata column)
protected static final boolean evaluateComparisonWithOperator(int comparison, Operator operator)
Copyright © 2009- The Apache Software Foundation