public interface SelectQuery extends QueryObject
| Modifier and Type | Method and Description |
|---|---|
void |
addProjection(Field field)
Adds the projection.
|
void |
addSchema(Schema schema)
Adds the schema.
|
Literal |
newBoolean(boolean value)
New boolean.
|
Literal |
newEnum(Enum<?> identifier)
New enum.
|
Literal |
newNumeric(BigDecimal value)
New numeric.
|
Literal |
newNumeric(double value)
New numeric.
|
Literal |
newNumeric(long value)
New numeric.
|
Order |
newOrder(Field field)
New order.
|
Order |
newOrder(Field field,
OrderDirection direction)
New order.
|
Parameter |
newParameter(int position)
Factory method to create new Parameter.
|
Parameter |
newParameter(String name)
New parameter.
|
Schema |
newSchema(Class<?> schema,
String identifier)
Factory method to create new Schema.
|
Schema |
newSchema(String schema,
String identifier)
Factory method to create new Schema.
|
Literal |
newString(String value)
New string.
|
Expression |
newTemporal(TemporalType temporalType)
New temporal.
|
Expression |
newTemporal(TemporalType temporalType,
Calendar value)
New temporal.
|
Expression |
newTemporal(TemporalType temporalType,
Date value)
New temporal.
|
void |
setDistinct(boolean distinct)
Sets the distinct.
|
void |
setLimit(int limit)
Sets the limit.
|
void |
setLimit(int limit,
int offset)
Sets the limit.
|
void |
setLimit(Parameter limit)
Sets the limit.
|
void |
setLimit(Parameter limit,
Parameter offset)
Sets the limit.
|
void |
setOrder(Order order)
Sets the order.
|
void |
setWhere(Condition condition)
Sets the where.
|
toStringSchema newSchema(String schema, String identifier)
schema - the schemaidentifier - the identifierSchema newSchema(Class<?> schema, String identifier)
schema - the schemaidentifier - the identifierParameter newParameter(int position)
position - the intParameter newParameter(String name)
name - the nameLiteral newBoolean(boolean value)
value - the valueLiteral newNumeric(long value)
value - the valueLiteral newNumeric(double value)
value - the valueLiteral newNumeric(BigDecimal value)
value - the valueLiteral newString(String value)
value - the valueLiteral newEnum(Enum<?> identifier)
identifier - the identifierOrder newOrder(Field field, OrderDirection direction)
field - the fielddirection - the directionExpression newTemporal(TemporalType temporalType)
temporalType - the temporal typeExpression newTemporal(TemporalType temporalType, Date value)
temporalType - the temporal typevalue - the valueExpression newTemporal(TemporalType temporalType, Calendar value)
temporalType - the temporal typevalue - the valuevoid setDistinct(boolean distinct)
distinct - the new distinctvoid addProjection(Field field)
field - the fieldvoid addSchema(Schema schema)
schema - the schemavoid setWhere(Condition condition)
condition - the new wherevoid setOrder(Order order)
order - the new ordervoid setLimit(int limit)
limit - the new limitvoid setLimit(Parameter limit)
limit - the new limitvoid setLimit(int limit,
int offset)
limit - the limitoffset - the offsetCopyright © 2014. All rights reserved.