QueryObject
SelectQueryImpl
public interface SelectQuery extends QueryObject
Modifier and Type | Method | Description |
---|---|---|
void |
addProjection(Field field) |
Adds the projection.
|
void |
addSchema(Schema schema) |
Adds the schema.
|
Literal |
newBoolean(boolean value) |
New boolean.
|
Literal |
newEnum(java.lang.Enum<?> identifier) |
New enum.
|
Literal |
newNumeric(double value) |
New numeric.
|
Literal |
newNumeric(long value) |
New numeric.
|
Literal |
newNumeric(java.math.BigDecimal 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(java.lang.String name) |
New parameter.
|
Schema |
newSchema(java.lang.Class<?> schema,
java.lang.String identifier) |
Factory method to create new Schema.
|
Schema |
newSchema(java.lang.String schema,
java.lang.String identifier) |
Factory method to create new Schema.
|
Literal |
newString(java.lang.String value) |
New string.
|
Expression |
newTemporal(TemporalType temporalType) |
New temporal.
|
Expression |
newTemporal(TemporalType temporalType,
java.util.Calendar value) |
New temporal.
|
Expression |
newTemporal(TemporalType temporalType,
java.util.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.
|
toString
Schema newSchema(java.lang.String schema, java.lang.String identifier)
schema
- the schemaidentifier
- the identifierSchema newSchema(java.lang.Class<?> schema, java.lang.String identifier)
schema
- the schemaidentifier
- the identifierParameter newParameter(int position)
position
- the intParameter newParameter(java.lang.String name)
name
- the nameLiteral newBoolean(boolean value)
value
- the valueLiteral newNumeric(long value)
value
- the valueLiteral newNumeric(double value)
value
- the valueLiteral newNumeric(java.math.BigDecimal value)
value
- the valueLiteral newString(java.lang.String value)
value
- the valueLiteral newEnum(java.lang.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, java.util.Date value)
temporalType
- the temporal typevalue
- the valueExpression newTemporal(TemporalType temporalType, java.util.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 offsetIntalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com