public class Expression
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
Expression.Bound |
static class |
Expression.Op |
Modifier and Type | Field and Description |
---|---|
AbstractAnalyzer |
analyzer |
java.util.List<java.nio.ByteBuffer> |
exclusions |
ColumnIndex |
index |
boolean |
isLiteral |
Expression.Bound |
lower |
protected Expression.Op |
operation |
Expression.Bound |
upper |
AbstractType<?> |
validator |
Constructor and Description |
---|
Expression(Expression other) |
Expression(QueryController controller,
ColumnIndex columnIndex) |
Expression(java.lang.String name,
AbstractType<?> validator) |
Modifier and Type | Method and Description |
---|---|
Expression |
add(Operator op,
java.nio.ByteBuffer value) |
Expression |
addExclusion(java.nio.ByteBuffer value) |
void |
checkpoint() |
boolean |
equals(java.lang.Object other) |
Expression.Op |
getOp() |
int |
hashCode() |
boolean |
hasLower() |
boolean |
hasUpper() |
boolean |
isIndexed() |
boolean |
isLowerSatisfiedBy(OnDiskIndex.DataTerm term) |
boolean |
isSatisfiedBy(java.nio.ByteBuffer value) |
boolean |
isUpperSatisfiedBy(OnDiskIndex.DataTerm term) |
Expression |
setLower(Expression.Bound newLower) |
Expression |
setOp(Expression.Op op) |
Expression |
setUpper(Expression.Bound newUpper) |
java.lang.String |
toString() |
public final AbstractAnalyzer analyzer
public final ColumnIndex index
public final AbstractType<?> validator
public final boolean isLiteral
protected Expression.Op operation
public Expression.Bound lower
public Expression.Bound upper
public java.util.List<java.nio.ByteBuffer> exclusions
public Expression(Expression other)
public Expression(QueryController controller, ColumnIndex columnIndex)
public Expression(java.lang.String name, AbstractType<?> validator)
public Expression setLower(Expression.Bound newLower)
public Expression setUpper(Expression.Bound newUpper)
public Expression setOp(Expression.Op op)
public Expression add(Operator op, java.nio.ByteBuffer value)
public Expression addExclusion(java.nio.ByteBuffer value)
public boolean isSatisfiedBy(java.nio.ByteBuffer value)
public Expression.Op getOp()
public void checkpoint()
public boolean hasLower()
public boolean hasUpper()
public boolean isLowerSatisfiedBy(OnDiskIndex.DataTerm term)
public boolean isUpperSatisfiedBy(OnDiskIndex.DataTerm term)
public boolean isIndexed()
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
Copyright © 2009-2019 The Apache Software Foundation