Package | Description |
---|---|
com.caucho.amber.expr | |
com.caucho.amber.expr.fun | |
com.caucho.amber.query |
Modifier and Type | Field and Description |
---|---|
protected FromItem |
AmberColumnExpr._fromItem |
protected FromItem |
BooleanColumnExpr._fromItem |
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.
|
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.
|
FromItem |
KeyManyToOneExpr.getChildFromItem()
Return the child from item.
|
FromItem |
PathExpr.getChildFromItem()
Returns the from item
|
FromItem |
AbstractPathExpr.getChildFromItem()
Returns the from item
|
FromItem |
EntityPathExpr.getChildFromItem()
Returns the from item
|
FromItem |
LoadExpr.getChildFromItem()
Returns the from item
|
FromItem |
KeyPropertyExpr.getChildFromItem()
Returns the child from item.
|
FromItem |
OneToManyExpr.getChildFromItem()
Returns the child from item.
|
FromItem |
DependentEntityOneToOneExpr.getChildFromItem()
Return the child from item.
|
FromItem |
ElementCollectionExpr.getChildFromItem()
Returns the child from item.
|
FromItem |
IdExpr.getChildFromItem()
Returns the from item
|
FromItem |
ManyToOneExpr.getChildFromItem()
Return the child from item.
|
FromItem |
EmbeddedExpr.getChildFromItem()
Return the child from item.
|
FromItem |
IdExpr.getFromItem()
Returns the from item
|
FromItem |
ManyToOneExpr.getFromItem()
Return the parent from item.
|
FromItem |
EmbeddedExpr.getFromItem()
Return the parent from item.
|
FromItem |
JoinExpr.getJoinParent()
Returns the parent join clause.
|
FromItem |
OneToManyJoinExpr.getJoinParent()
Returns the parent join clause, i.e.
|
FromItem |
ManyToOneJoinExpr.getJoinParent()
Returns the target join clause.
|
FromItem |
EqualJoinExpr.getJoinTarget()
Returns the parent join clause.
|
FromItem |
JoinExpr.getJoinTarget()
Returns the target join clause.
|
FromItem |
OneToManyJoinExpr.getJoinTarget()
Returns the target join clause.
|
FromItem |
ManyToOneJoinExpr.getJoinTarget()
Returns the target join clause.
|
Modifier and Type | Method and Description |
---|---|
static LoadExpr |
LoadExpr.create(PathExpr expr,
FromItem rootItem) |
IdExpr |
PathExpr.createId(FromItem from)
Creates an id expression.
|
IdExpr |
AbstractPathExpr.createId(FromItem fromItem)
Creates an id expression.
|
IdExpr |
ElementCollectionExpr.createId(FromItem fromItem)
Creates an id expression.
|
boolean |
AmberExpr.exists(FromItem from)
Returns true if the item is required to exist by the expression, e.g.
|
boolean |
BinaryExpr.exists(FromItem from)
Returns true if the expression uses the from item.
|
boolean |
AndExpr.exists(FromItem from)
Returns true if the from item is used in the expression
|
boolean |
ManyToOneJoinExpr.exists(FromItem from)
Returns true if the expression uses the from item.
|
boolean |
ManyToOneExpr.exists(FromItem from)
Returns true if the item is forced to exist by the parent
|
boolean |
AbstractAmberExpr.exists(FromItem from)
Returns true if the expression must exist
|
boolean |
JoinExpr.isDependent(FromItem parent,
LinkColumns link)
Returns true if the given from item is the parent link.
|
boolean |
AmberExpr.usesFrom(FromItem from,
int type)
Returns true if the expression uses the from item.
|
boolean |
AbstractAmberExpr.usesFrom(FromItem from,
int type)
Returns true if the expression uses the from item.
|
boolean |
SubSelectExpr.usesFrom(FromItem from,
int type)
Returns true if the expression uses the from item.
|
boolean |
CollectionIdExpr.usesFrom(FromItem from,
int type,
boolean isNot)
Returns true if the expression uses the from item.
|
boolean |
AmberExpr.usesFrom(FromItem from,
int type,
boolean isNot)
Returns true if the expression uses the from item.
|
boolean |
KeyManyToOneExpr.usesFrom(FromItem from,
int type,
boolean isNot)
Returns true if the expression uses the from item.
|
boolean |
BetweenExpr.usesFrom(FromItem from,
int type,
boolean isNot)
Returns true if the expression uses the from item.
|
boolean |
ExistsExpr.usesFrom(FromItem from,
int type,
boolean isNot)
Returns true if the expression uses the from item.
|
boolean |
KeyColumnExpr.usesFrom(FromItem from,
int type,
boolean isNot)
Returns true if the expression uses the from item.
|
boolean |
BinaryExpr.usesFrom(FromItem from,
int type,
boolean isNot)
Returns true if the expression uses the from item.
|
boolean |
MemberExpr.usesFrom(FromItem from,
int type,
boolean isNot)
Returns true if the expression uses the from item.
|
boolean |
OrExpr.usesFrom(FromItem from,
int type,
boolean isNot)
Returns true if the expression uses the from item.
|
boolean |
EmptyExpr.usesFrom(FromItem from,
int type,
boolean isNot)
Returns true if the expression uses the from item.
|
boolean |
LoadExpr.usesFrom(FromItem from,
int type,
boolean isNot)
Returns true if the expression uses the from item.
|
boolean |
KeyPropertyExpr.usesFrom(FromItem from,
int type,
boolean isNot)
Returns true if the expression uses the from item.
|
boolean |
OneToManyExpr.usesFrom(FromItem from,
int type,
boolean isNot)
Returns true if the expression uses the from item.
|
boolean |
AndExpr.usesFrom(FromItem from,
int type,
boolean isNot)
Returns true if the expression uses the from item.
|
boolean |
AllExpr.usesFrom(FromItem from,
int type,
boolean isNot)
Returns true if the expression uses the from item.
|
boolean |
DependentEntityOneToOneExpr.usesFrom(FromItem from,
int type,
boolean isNot)
Returns true if the expression uses the from item.
|
boolean |
ManyToOneJoinExpr.usesFrom(FromItem from,
int type,
boolean isNot)
Returns true if the expression uses the from item.
|
boolean |
InExpr.usesFrom(FromItem from,
int type,
boolean isNot)
Returns true if the expression uses the from item.
|
boolean |
ElementCollectionExpr.usesFrom(FromItem from,
int type,
boolean isNot)
Returns true if the expression uses the from item.
|
boolean |
IdExpr.usesFrom(FromItem from,
int type,
boolean isNot)
Returns true if the expression uses the from item.
|
boolean |
ManyToOneExpr.usesFrom(FromItem from,
int type,
boolean isNot)
Returns true if the expression uses the from item.
|
boolean |
AbstractAmberExpr.usesFrom(FromItem from,
int type,
boolean isNot)
Returns true if the expression uses the from item.
|
boolean |
LikeExpr.usesFrom(FromItem from,
int type,
boolean isNot)
Returns true if the expression uses the from item.
|
boolean |
AmberColumnExpr.usesFrom(FromItem from,
int type,
boolean isNot)
Returns true if the expression uses the from item.
|
boolean |
UnaryExpr.usesFrom(FromItem from,
int type,
boolean isNot)
Returns true if the expression uses the from item.
|
boolean |
AnyExpr.usesFrom(FromItem from,
int type,
boolean isNot)
Returns true if the expression uses the from item.
|
boolean |
MapFieldExpr.usesFrom(FromItem from,
int type,
boolean isNot)
Returns true if the expression uses the from item.
|
boolean |
EmbeddedExpr.usesFrom(FromItem from,
int type,
boolean isNot)
Returns true if the expression uses the from item.
|
boolean |
BooleanColumnExpr.usesFrom(FromItem from,
int type,
boolean isNot)
Returns true if the expression uses the from item.
|
Constructor and Description |
---|
CollectionIdExpr(FromItem fromItem,
AmberExpr path)
Creates a new unbound id expression.
|
ElementCollectionIdExpr(FromItem fromItem,
ElementCollectionExpr path)
Creates a new unbound id expression.
|
IdExpr(FromItem fromItem)
Creates a new unbound id expression.
|
ManyToOneJoinExpr(LinkColumns link,
FromItem source,
FromItem target)
Creates the expr.
|
OneToManyJoinExpr(LinkColumns linkColumns,
FromItem source,
FromItem target)
Creates the expr.
|
Modifier and Type | Method and Description |
---|---|
boolean |
FunExpr.usesFrom(FromItem from,
int type,
boolean isNot)
Returns true if the expression uses the from item.
|
Modifier and Type | Field and Description |
---|---|
protected java.util.ArrayList<FromItem> |
AbstractQuery._fromList |
Modifier and Type | Method and Description |
---|---|
FromItem |
QueryParser.addFromItem(AmberTable table)
Adds a new FromItem.
|
FromItem |
QueryParser.addFromItem(AmberTable table,
java.lang.String id)
Adds a new FromItem.
|
FromItem |
QueryParser.addFromItem(EntityType entityType,
AmberTable table)
Adds a new FromItem.
|
FromItem |
QueryParser.addFromItem(EntityType entityType,
AmberTable table,
java.lang.String id)
Adds a new FromItem.
|
FromItem |
QueryParser.createDependentFromItem(FromItem item,
LinkColumns link)
Adds a new FromItem.
|
FromItem |
AbstractQuery.createDependentFromItem(FromItem parent,
LinkColumns link,
java.lang.String name)
Creates a dependent from item
|
FromItem |
AbstractQuery.createFromItem(AmberTable table,
java.lang.String name)
Sets the from list.
|
FromItem |
AbstractQuery.createFromItem(EntityType entityType,
AmberTable table,
java.lang.String name)
Sets the from list.
|
Modifier and Type | Method and Description |
---|---|
java.util.ArrayList<FromItem> |
AbstractQuery.getFromList()
Returns the from list.
|
Modifier and Type | Method and Description |
---|---|
FromItem |
QueryParser.createDependentFromItem(FromItem item,
LinkColumns link)
Adds a new FromItem.
|
FromItem |
AbstractQuery.createDependentFromItem(FromItem parent,
LinkColumns link,
java.lang.String name)
Creates a dependent from item
|
boolean |
AmberSelectQuery.exists(FromItem item)
Returns true if the item must have at least one entry in the database.
|
boolean |
AbstractQuery.exists(FromItem item)
Returns true if the item must have at least one entry in the database.
|
boolean |
AmberSelectQuery.usesFrom(FromItem item,
int type)
Returns true if the from item is used by the query.
|
boolean |
AbstractQuery.usesFrom(FromItem item,
int type)
Returns true if the from item is used by the query.
|