Package | Description |
---|---|
com.caucho.amber.expr | |
com.caucho.amber.expr.fun | |
com.caucho.amber.field |
Modifier and Type | Method and Description |
---|---|
FromItem |
ElementCollectionSchemaExpr.addFromItem(QueryParser parser,
java.lang.String id)
Adds the from item.
|
FromItem |
OneToOneSchemaExpr.addFromItem(QueryParser parser,
java.lang.String id)
Adds the from item.
|
FromItem |
EmbeddedSchemaExpr.addFromItem(QueryParser parser,
java.lang.String id)
Adds the from item.
|
FromItem |
TableIdExpr.addFromItem(QueryParser parser,
java.lang.String id)
Adds the from item.
|
FromItem |
FromIdSchemaExpr.addFromItem(QueryParser parser,
java.lang.String id)
Adds the from item.
|
FromItem |
CollectionSchemaExpr.addFromItem(QueryParser parser,
java.lang.String id)
Adds the from item.
|
FromItem |
ManyToOneSchemaExpr.addFromItem(QueryParser parser,
java.lang.String id)
Adds the from item.
|
FromItem |
OneToManySchemaExpr.addFromItem(QueryParser parser,
java.lang.String id)
Adds the from item.
|
abstract FromItem |
SchemaExpr.addFromItem(QueryParser parser,
java.lang.String id)
Adds the from item.
|
AmberExpr |
AmberExpr.bindSelect(QueryParser parser)
Binds the expression as a select item.
|
AmberExpr |
KeyManyToOneExpr.bindSelect(QueryParser parser)
Binds the expression as a select item.
|
AmberExpr |
BetweenExpr.bindSelect(QueryParser parser)
Binds the expression as a select item.
|
AmberExpr |
ExistsExpr.bindSelect(QueryParser parser)
Binds the expression as a select item.
|
AmberExpr |
BinaryExpr.bindSelect(QueryParser parser)
Binds the expression as a select item.
|
AmberExpr |
MemberExpr.bindSelect(QueryParser parser)
Binds the expression as a select item.
|
AmberExpr |
OrExpr.bindSelect(QueryParser parser)
Binds the expression as a select item.
|
AmberExpr |
EmptyExpr.bindSelect(QueryParser parser)
Binds the expression as a select item.
|
AmberExpr |
ArgExpr.bindSelect(QueryParser parser)
Binds the expression as a select item.
|
AmberExpr |
LoadBasicExpr.bindSelect(QueryParser parser)
Binds the expression as a select item.
|
AmberExpr |
LoadEntityExpr.bindSelect(QueryParser parser)
Binds the expression as a select item.
|
AmberExpr |
EqualJoinExpr.bindSelect(QueryParser parser)
Binds the expression as a select item.
|
AmberExpr |
LiteralExpr.bindSelect(QueryParser parser)
Binds the expression as a select item.
|
AmberExpr |
KeyPropertyExpr.bindSelect(QueryParser parser)
Binds the expression as a select item.
|
AmberExpr |
JoinExpr.bindSelect(QueryParser parser)
Binds the expression as a select item.
|
AmberExpr |
OneToManyExpr.bindSelect(QueryParser parser)
Binds the expression as a select item.
|
AmberExpr |
AndExpr.bindSelect(QueryParser parser)
Binds the expression as a select item.
|
AmberExpr |
AllExpr.bindSelect(QueryParser parser)
Binds the expression as a select item.
|
AmberExpr |
DependentEntityOneToOneExpr.bindSelect(QueryParser parser)
Binds the expression as a select item.
|
AmberExpr |
OneToManyJoinExpr.bindSelect(QueryParser parser)
Binds the expression as a select item.
|
AmberExpr |
ManyToOneJoinExpr.bindSelect(QueryParser parser)
Binds the expression as a select item.
|
AmberExpr |
InExpr.bindSelect(QueryParser parser)
Binds the expression as a select item.
|
AmberExpr |
EnumExpr.bindSelect(QueryParser parser)
Binds the expression as a select item.
|
AmberExpr |
ElementCollectionExpr.bindSelect(QueryParser parser)
Binds the expression as a select item.
|
AmberExpr |
IdExpr.bindSelect(QueryParser parser)
Binds the expression as a select item.
|
AmberExpr |
ManyToOneExpr.bindSelect(QueryParser parser)
Binds the expression as a select item.
|
abstract AmberExpr |
AbstractAmberExpr.bindSelect(QueryParser parser)
Binds the expression as a select item.
|
AmberExpr |
LikeExpr.bindSelect(QueryParser parser)
Binds the expression as a select item.
|
AmberExpr |
NullExpr.bindSelect(QueryParser parser)
Binds the expression as a select item.
|
AmberExpr |
AmberColumnExpr.bindSelect(QueryParser parser)
Binds the expression as a select item.
|
AmberExpr |
UnaryExpr.bindSelect(QueryParser parser)
Binds the expression as a select item.
|
AmberExpr |
AnyExpr.bindSelect(QueryParser parser)
Binds the expression as a select item.
|
AmberExpr |
SubSelectExpr.bindSelect(QueryParser parser)
Binds the expression as a select item.
|
AmberExpr |
MapFieldExpr.bindSelect(QueryParser parser)
Binds the expression as a select item.
|
AmberExpr |
LoadEmbeddedExpr.bindSelect(QueryParser parser)
Binds the expression as a select item.
|
AmberExpr |
EmbeddedExpr.bindSelect(QueryParser parser)
Binds the expression as a select item.
|
AmberExpr |
BooleanColumnExpr.bindSelect(QueryParser parser)
Binds the expression as a select item.
|
PathExpr |
PathExpr.bindSelect(QueryParser parser,
java.lang.String tableName)
Binds the expression as a select item.
|
PathExpr |
AbstractPathExpr.bindSelect(QueryParser parser,
java.lang.String tableName)
Binds the expression as a select item.
|
PathExpr |
OneToManyExpr.bindSelect(QueryParser parser,
java.lang.String id)
Binds the expression as a select item.
|
PathExpr |
ElementCollectionExpr.bindSelect(QueryParser parser,
java.lang.String id)
Binds the expression as a select item.
|
PathExpr |
ManyToOneExpr.bindSelect(QueryParser parser,
java.lang.String id)
Binds the expression as a select item.
|
PathExpr |
EmbeddedExpr.bindSelect(QueryParser parser,
java.lang.String id)
Binds the expression as a select item.
|
FromItem |
KeyManyToOneExpr.bindSubPath(QueryParser parser)
Binds the expression as a subpath.
|
FromItem |
PathExpr.bindSubPath(QueryParser parser)
Binds the expression as a select item.
|
FromItem |
AbstractPathExpr.bindSubPath(QueryParser parser)
Binds the expression as a select item.
|
FromItem |
EntityPathExpr.bindSubPath(QueryParser parser)
Binds the expression as a select item.
|
FromItem |
LoadExpr.bindSubPath(QueryParser parser)
Binds the expression as a select item.
|
FromItem |
OneToManyExpr.bindSubPath(QueryParser parser)
Binds the expression as a subpath.
|
FromItem |
DependentEntityOneToOneExpr.bindSubPath(QueryParser parser)
Binds the expression as a subpath.
|
FromItem |
ElementCollectionExpr.bindSubPath(QueryParser parser)
Binds the expression as a subpath.
|
FromItem |
IdExpr.bindSubPath(QueryParser parser)
Binds the expression as a select item.
|
FromItem |
ManyToOneExpr.bindSubPath(QueryParser parser)
Binds the expression as a subpath.
|
FromItem |
EmbeddedExpr.bindSubPath(QueryParser parser)
Binds the expression as a subpath.
|
static AmberExpr |
MemberExpr.create(QueryParser parser,
AmberExpr itemExpr,
AmberExpr collectionExpr,
boolean isNot) |
SchemaExpr |
ElementCollectionSchemaExpr.createField(QueryParser parser,
java.lang.String name)
Creates a field-based schema.
|
SchemaExpr |
OneToOneSchemaExpr.createField(QueryParser parser,
java.lang.String name)
Creates a field-based schema.
|
AmberExpr |
KeyManyToOneExpr.createField(QueryParser parser,
java.lang.String name)
Creates the expr from the path.
|
AmberExpr |
PathExpr.createField(QueryParser parser,
java.lang.String field)
Creates the expr from the path.
|
SchemaExpr |
EmbeddedSchemaExpr.createField(QueryParser parser,
java.lang.String name)
Creates a field-based schema.
|
AmberExpr |
AbstractPathExpr.createField(QueryParser parser,
java.lang.String fieldName)
Creates the expr from the path.
|
SchemaExpr |
TableIdExpr.createField(QueryParser parser,
java.lang.String name)
Creates a field-based schema.
|
SchemaExpr |
FromIdSchemaExpr.createField(QueryParser parser,
java.lang.String name)
Creates a field-based schema.
|
SchemaExpr |
CollectionSchemaExpr.createField(QueryParser parser,
java.lang.String name)
Creates a field-based schema.
|
SchemaExpr |
ManyToOneSchemaExpr.createField(QueryParser parser,
java.lang.String name)
Creates a field-based schema.
|
SchemaExpr |
OneToManySchemaExpr.createField(QueryParser parser,
java.lang.String name)
Creates a field-based schema.
|
abstract SchemaExpr |
SchemaExpr.createField(QueryParser parser,
java.lang.String name)
Creates a field-based schema.
|
Constructor and Description |
---|
ArgExpr(QueryParser parser,
int index)
Creates a new argument expression.
|
ArgExpr(QueryParser parser,
java.lang.String name,
int index)
Creates a new named argument expression.
|
ElementCollectionExpr(QueryParser parser,
PathExpr parent,
LinkColumns linkColumns,
ElementType targetType)
Creates a new expression to the child objects.
|
LiteralExpr(QueryParser parser,
java.lang.String value,
java.lang.Class javaType)
Creates a new literal expression.
|
OneToManyExpr(QueryParser parser,
PathExpr parent,
LinkColumns linkColumns)
Creates a new expression to the child objects.
|
Modifier and Type | Method and Description |
---|---|
AmberExpr |
FunExpr.bindSelect(QueryParser parser)
Binds the expression as a select item.
|
static FunExpr |
CurrentTimestampFunExpr.create(QueryParser parser) |
static FunExpr |
CurrentTimeFunExpr.create(QueryParser parser) |
static FunExpr |
CurrentDateFunExpr.create(QueryParser parser) |
static FunExpr |
ConcatFunExpr.create(QueryParser parser,
java.util.ArrayList<AmberExpr> args) |
static FunExpr |
SizeFunExpr.create(QueryParser parser,
java.util.ArrayList<AmberExpr> args) |
static FunExpr |
LowerFunExpr.create(QueryParser parser,
java.util.ArrayList<AmberExpr> args) |
static FunExpr |
UpperFunExpr.create(QueryParser parser,
java.util.ArrayList<AmberExpr> args) |
static FunExpr |
ModFunExpr.create(QueryParser parser,
java.util.ArrayList<AmberExpr> args) |
static FunExpr |
LengthFunExpr.create(QueryParser parser,
java.util.ArrayList<AmberExpr> args) |
static TrimFunExpr |
TrimFunExpr.create(QueryParser parser,
java.util.ArrayList<AmberExpr> args) |
static FunExpr |
SubstringFunExpr.create(QueryParser parser,
java.util.ArrayList<AmberExpr> args) |
static FunExpr |
LocateFunExpr.create(QueryParser parser,
java.util.ArrayList<AmberExpr> args) |
static FunExpr |
SqrtFunExpr.create(QueryParser parser,
java.util.ArrayList<AmberExpr> args) |
static FunExpr |
AbsFunExpr.create(QueryParser parser,
java.util.ArrayList<AmberExpr> args) |
static MaxFunExpr |
MaxFunExpr.create(QueryParser parser,
java.lang.String id,
java.util.ArrayList<AmberExpr> args,
boolean distinct) |
static MinFunExpr |
MinFunExpr.create(QueryParser parser,
java.lang.String id,
java.util.ArrayList<AmberExpr> args,
boolean distinct) |
static SumFunExpr |
SumFunExpr.create(QueryParser parser,
java.lang.String id,
java.util.ArrayList<AmberExpr> args,
boolean distinct) |
static FunExpr |
FunExpr.create(QueryParser parser,
java.lang.String id,
java.util.ArrayList<AmberExpr> args,
boolean distinct) |
Constructor and Description |
---|
AbsFunExpr(QueryParser parser,
java.util.ArrayList<AmberExpr> args)
Creates a new expression
|
ConcatFunExpr(QueryParser parser,
java.util.ArrayList<AmberExpr> args)
Creates a new expression
|
CurrentDateFunExpr(QueryParser parser)
Creates a new expression
|
CurrentTimeFunExpr(QueryParser parser)
Creates a new expression
|
CurrentTimestampFunExpr(QueryParser parser)
Creates a new expression
|
DateTimeFunExpr(QueryParser parser,
java.lang.String id,
java.util.ArrayList<AmberExpr> args,
boolean distinct)
Creates a new expression
|
FunExpr(QueryParser parser,
java.lang.String id,
java.util.ArrayList<AmberExpr> args,
boolean distinct)
Creates a new function expression
|
LengthFunExpr(QueryParser parser,
java.util.ArrayList<AmberExpr> args)
Creates a new expression
|
LocateFunExpr(QueryParser parser,
java.util.ArrayList<AmberExpr> args)
Creates a new expression
|
LowerFunExpr(QueryParser parser,
java.util.ArrayList<AmberExpr> args)
Creates a new expression
|
MaxFunExpr(QueryParser parser,
java.lang.String id,
java.util.ArrayList<AmberExpr> args,
boolean distinct)
Creates a new function expression
|
MinFunExpr(QueryParser parser,
java.lang.String id,
java.util.ArrayList<AmberExpr> args,
boolean distinct)
Creates a new function expression
|
ModFunExpr(QueryParser parser,
java.util.ArrayList<AmberExpr> args)
Creates a new expression
|
SizeFunExpr(QueryParser parser,
java.util.ArrayList<AmberExpr> args)
Creates a new expression
|
SqrtFunExpr(QueryParser parser,
java.util.ArrayList<AmberExpr> args)
Creates a new expression
|
SubstringFunExpr(QueryParser parser,
java.util.ArrayList<AmberExpr> args)
Creates a new expression
|
SumFunExpr(QueryParser parser,
java.lang.String id,
java.util.ArrayList<AmberExpr> args,
boolean distinct)
Creates a new function expression
|
TrimFunExpr(QueryParser parser,
java.util.ArrayList<AmberExpr> args)
Creates a new expression
|
UpperFunExpr(QueryParser parser,
java.util.ArrayList<AmberExpr> args)
Creates a new expression
|
Modifier and Type | Method and Description |
---|---|
AmberExpr |
ManyToOneField.createExpr(QueryParser parser,
PathExpr parent)
Creates the expression for the field.
|
AmberExpr |
PropertyField.createExpr(QueryParser parser,
PathExpr parent)
Creates the expression for the field.
|
AmberExpr |
CollectionField.createExpr(QueryParser parser,
PathExpr parent)
Creates the expression for the field.
|
AmberExpr |
AbstractField.createExpr(QueryParser parser,
PathExpr parent)
Creates the expression for the field.
|
AmberExpr |
ManyToManyField.createExpr(QueryParser parser,
PathExpr parent)
Creates the expression for the field.
|
AmberExpr |
AmberField.createExpr(QueryParser parser,
PathExpr parent)
Creates the expression for the field.
|
AmberExpr |
KeyPropertyField.createExpr(QueryParser parser,
PathExpr parent)
Creates the expression for the field.
|
AmberExpr |
OneToManyField.createExpr(QueryParser parser,
PathExpr parent)
Creates the expression for the field.
|
AmberExpr |
EmbeddedSubField.createExpr(QueryParser parser,
PathExpr parent)
Creates the expression for the field.
|
AmberExpr |
EntityEmbeddedField.createExpr(QueryParser parser,
PathExpr parent)
Creates the expression for the field.
|
AmberExpr |
EmbeddedIdField.createExpr(QueryParser parser,
PathExpr parent)
Creates the expression for the field.
|
AmberExpr |
ElementCollectionField.createExpr(QueryParser parser,
PathExpr parent)
Creates the expression for the field.
|
AmberExpr |
DependentEntityOneToOneField.createExpr(QueryParser parser,
PathExpr parent)
Creates the expression for the field.
|
AmberExpr |
KeyManyToOneField.createExpr(QueryParser parser,
PathExpr parent)
Creates the expression for the field.
|