public abstract class QueryValue extends Object implements Cloneable
| Modifier and Type | Field and Description |
|---|---|
static List<String> |
SUPPORTED_BINARY_OPERATORS
Must be in upper case
|
| Constructor and Description |
|---|
QueryValue() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
appendDefaultSql(Query query,
RecordStore recordStore,
StringBuilder sql) |
abstract int |
appendParameters(int index,
PreparedStatement statement) |
void |
appendSql(Query query,
RecordStore recordStore,
StringBuilder sql) |
QueryValue |
clone() |
static <V extends QueryValue> |
cloneQueryValues(List<V> values) |
static BoundingBox |
expand(BoundingBox boundingBox,
BoundingBox newBoundingBox) |
static BoundingBox |
getBoundingBox(Query query) |
static BoundingBox |
getBoundingBox(QueryValue queryValue) |
List<QueryValue> |
getQueryValues() |
String |
getStringValue(Map<String,Object> record) |
abstract <V> V |
getValue(Map<String,Object> record) |
static Condition |
parseWhere(RecordDefinition recordDefinition,
String whereClause) |
void |
setRecordDefinition(RecordDefinition recordDefinition) |
String |
toFormattedString() |
static <V extends QueryValue> |
toQueryValue(RecordDefinition recordDefinition,
com.akiban.sql.parser.ValueNode expression) |
public static <V extends QueryValue> List<V> cloneQueryValues(List<V> values)
public static BoundingBox expand(BoundingBox boundingBox, BoundingBox newBoundingBox)
public static BoundingBox getBoundingBox(Query query)
public static BoundingBox getBoundingBox(QueryValue queryValue)
public static Condition parseWhere(RecordDefinition recordDefinition, String whereClause)
public static <V extends QueryValue> V toQueryValue(RecordDefinition recordDefinition, com.akiban.sql.parser.ValueNode expression)
public abstract void appendDefaultSql(Query query, RecordStore recordStore, StringBuilder sql)
public abstract int appendParameters(int index,
PreparedStatement statement)
public void appendSql(Query query, RecordStore recordStore, StringBuilder sql)
public QueryValue clone()
public List<QueryValue> getQueryValues()
public void setRecordDefinition(RecordDefinition recordDefinition)
public String toFormattedString()
Copyright © 2015 Revolution Systems Inc.. All rights reserved.