Package | Description |
---|---|
com.caucho.amber.expr | |
com.caucho.amber.field | |
com.caucho.amber.query |
Modifier and Type | Interface and Description |
---|---|
interface |
EntityPathExpr
A path expression that returns an entity.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractPathExpr
Represents an amber mapping query expression
|
class |
CollectionIdExpr
Bound identifier expression.
|
class |
DependentEntityOneToOneExpr
Bound identifier expression.
|
class |
ElementCollectionExpr
Expression to a collection of rows
The relation is maintained by a link from the child objects
to the parent object.
|
class |
ElementCollectionIdExpr
Bound identifier expression.
|
class |
EmbeddedExpr
Embedded path expression
|
class |
IdExpr
Bound identifier expression.
|
class |
KeyManyToOneExpr
Bound identifier expression.
|
class |
ManyToOneExpr
Link expression to a new table
|
class |
OneToManyExpr
Expression to a collection of rows
The relation is maintained by a link from the child objects
to the parent object.
|
Modifier and Type | Field and Description |
---|---|
protected PathExpr |
KeyPropertyExpr._parent |
protected PathExpr |
AmberColumnExpr._parent |
protected PathExpr |
MapFieldExpr._parent |
protected PathExpr |
BooleanColumnExpr._parent |
Modifier and Type | Method and Description |
---|---|
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.
|
PathExpr |
LoadExpr.getExpr()
Returns the underlying expression
|
PathExpr |
KeyManyToOneExpr.getParent()
Returns the parent expression.
|
PathExpr |
KeyPropertyExpr.getParent()
Returns the parent expression.
|
PathExpr |
OneToManyExpr.getParent()
Returns the parent.
|
PathExpr |
ElementCollectionExpr.getParent()
Returns the parent.
|
PathExpr |
ManyToOneExpr.getParent()
Returns the parent.
|
PathExpr |
AmberColumnExpr.getParent()
Returns the parent.
|
PathExpr |
IdFieldExpr.getParent()
Returns the parent expr.
|
PathExpr |
EmbeddedExpr.getParent()
Returns the parent.
|
Modifier and Type | Method and Description |
---|---|
static LoadExpr |
LoadExpr.create(PathExpr expr) |
static LoadExpr |
LoadExpr.create(PathExpr expr,
FromItem rootItem) |
Constructor and Description |
---|
AmberColumnExpr(PathExpr parent,
AmberColumn column)
Creates a new unbound id expression.
|
BooleanColumnExpr(PathExpr parent,
AmberColumn column)
Creates a new unbound id expression.
|
CollectionSchemaExpr(PathExpr expr,
java.lang.String name)
Creates the collection schema.
|
DependentEntityOneToOneExpr(PathExpr parent,
LinkColumns linkColumns)
Creates a new unbound id expression.
|
ElementCollectionExpr(QueryParser parser,
PathExpr parent,
LinkColumns linkColumns,
ElementType targetType)
Creates a new expression to the child objects.
|
EmbeddedExpr(PathExpr parent,
EmbeddableType embeddableType,
java.util.ArrayList<EmbeddedSubField> subFields)
Creates a new expression.
|
KeyColumnExpr(PathExpr parent,
AmberColumn column)
Creates a new unbound id expression.
|
KeyManyToOneExpr(PathExpr parent,
KeyManyToOneField manyToOne)
Creates a new unbound id expression.
|
KeyPropertyExpr(PathExpr parent,
KeyPropertyField field)
Creates a new unbound id expression.
|
ManyToOneExpr(PathExpr parent,
LinkColumns linkColumns)
Creates a new unbound id expression.
|
MapFieldExpr(PathExpr parent,
MapElementField field,
AmberExpr index)
Creates a new unbound id expression.
|
OneToManyExpr(QueryParser parser,
PathExpr parent,
LinkColumns linkColumns)
Creates a new expression to the child objects.
|
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.
|
Modifier and Type | Method and Description |
---|---|
PathExpr |
QueryParser.addPath(PathExpr path)
Adds an entity path
|
PathExpr |
FromItem.getCollectionExpr()
Gets the id expr.
|
Modifier and Type | Method and Description |
---|---|
PathExpr |
QueryParser.addPath(PathExpr path)
Adds an entity path
|
void |
FromItem.setCollectionExpr(PathExpr collectionExpr)
Sets the collection expr.
|