|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use AmberExpr | |
---|---|
com.caucho.amber.expr | |
com.caucho.amber.expr.fun | |
com.caucho.amber.field | |
com.caucho.amber.query |
Uses of AmberExpr in com.caucho.amber.expr |
---|
Subinterfaces of AmberExpr in com.caucho.amber.expr | |
---|---|
interface |
EntityPathExpr
A path expression that returns an entity. |
interface |
IdFieldExpr
Bound identifier expression. |
interface |
PathExpr
Represents an amber mapping query expression |
Classes in com.caucho.amber.expr that implement AmberExpr | |
---|---|
class |
AbstractAmberExpr
Represents an Amber query expression |
class |
AbstractPathExpr
Represents an amber mapping query expression |
class |
AllExpr
Represents an ALL query expression |
class |
AmberColumnExpr
Bound identifier expression. |
class |
AndExpr
A conjunction. |
class |
AnyExpr
Represents an ANY or SOME (synonymous) query expression |
class |
ArgExpr
Parameter argument expression. |
class |
BetweenExpr
Bound identifier expression. |
class |
BinaryExpr
Bound identifier expression. |
class |
BooleanColumnExpr
AmberColumn expression returning a boolean |
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 |
EmptyExpr
Represents a member query expression |
class |
EnumExpr
Enum expression for Amber. |
class |
EqualJoinExpr
Links two tables by their key fields. |
class |
ExistsExpr
Represents an exists query expression |
class |
IdExpr
Bound identifier expression. |
class |
InExpr
"in" expression |
class |
JoinExpr
Links two tables. |
class |
KeyColumnExpr
Bound identifier expression. |
class |
KeyManyToOneExpr
Bound identifier expression. |
class |
KeyPropertyExpr
Bound identifier expression. |
class |
LikeExpr
Bound identifier expression. |
class |
LiteralExpr
Literal expression for Amber. |
class |
LoadBasicExpr
An embedded expression which should be loaded. |
class |
LoadEmbeddedExpr
An embedded expression which should be loaded. |
class |
LoadEntityExpr
An entity expression which should be loaded. |
class |
LoadExpr
An embedded or entity expression which should be loaded. |
class |
ManyToOneExpr
Link expression to a new table |
class |
ManyToOneJoinExpr
Links two tables. |
class |
MapFieldExpr
Bound identifier expression. |
class |
MapManyToManyExpr
map expression with many-to-many result |
class |
MemberExpr
Represents a member query expression |
class |
NullExpr
Null expression for Amber. |
class |
OneToManyExpr
Expression to a collection of rows The relation is maintained by a link from the child objects to the parent object. |
class |
OneToManyJoinExpr
Joins two tables as "a.children". |
class |
OrExpr
A disjunction. |
class |
SubSelectExpr
Represents a subselect mapping query expression |
class |
UnaryExpr
Unary expression. |
Methods in com.caucho.amber.expr that return AmberExpr | |
---|---|
abstract AmberExpr |
AbstractAmberExpr.bindSelect(QueryParser parser)
Binds the expression as a select item. |
AmberExpr |
AllExpr.bindSelect(QueryParser parser)
Binds the expression as a select item. |
AmberExpr |
AmberColumnExpr.bindSelect(QueryParser parser)
Binds the expression as a select item. |
AmberExpr |
AmberExpr.bindSelect(QueryParser parser)
Binds the expression as a select item. |
AmberExpr |
AndExpr.bindSelect(QueryParser parser)
Binds the expression as a select item. |
AmberExpr |
AnyExpr.bindSelect(QueryParser parser)
Binds the expression as a select item. |
AmberExpr |
ArgExpr.bindSelect(QueryParser parser)
Binds the expression as a select item. |
AmberExpr |
BetweenExpr.bindSelect(QueryParser parser)
Binds the expression as a select item. |
AmberExpr |
BinaryExpr.bindSelect(QueryParser parser)
Binds the expression as a select item. |
AmberExpr |
BooleanColumnExpr.bindSelect(QueryParser parser)
Binds the expression as a select item. |
AmberExpr |
DependentEntityOneToOneExpr.bindSelect(QueryParser parser)
Binds the expression as a select item. |
AmberExpr |
ElementCollectionExpr.bindSelect(QueryParser parser)
Binds the expression as a select item. |
AmberExpr |
EmbeddedExpr.bindSelect(QueryParser parser)
Binds the expression as a select item. |
AmberExpr |
EmptyExpr.bindSelect(QueryParser parser)
Binds the expression as a select item. |
AmberExpr |
EnumExpr.bindSelect(QueryParser parser)
Binds the expression as a select item. |
AmberExpr |
EqualJoinExpr.bindSelect(QueryParser parser)
Binds the expression as a select item. |
AmberExpr |
ExistsExpr.bindSelect(QueryParser parser)
Binds the expression as a select item. |
AmberExpr |
IdExpr.bindSelect(QueryParser parser)
Binds the expression as a select item. |
AmberExpr |
InExpr.bindSelect(QueryParser parser)
Binds the expression as a select item. |
AmberExpr |
JoinExpr.bindSelect(QueryParser parser)
Binds the expression as a select item. |
AmberExpr |
KeyManyToOneExpr.bindSelect(QueryParser parser)
Binds the expression as a select item. |
AmberExpr |
KeyPropertyExpr.bindSelect(QueryParser parser)
Binds the expression as a select item. |
AmberExpr |
LikeExpr.bindSelect(QueryParser parser)
Binds the expression as a select item. |
AmberExpr |
LiteralExpr.bindSelect(QueryParser parser)
Binds the expression as a select item. |
AmberExpr |
LoadBasicExpr.bindSelect(QueryParser parser)
Binds the expression as a select item. |
AmberExpr |
LoadEmbeddedExpr.bindSelect(QueryParser parser)
Binds the expression as a select item. |
AmberExpr |
LoadEntityExpr.bindSelect(QueryParser parser)
Binds the expression as a select item. |
AmberExpr |
ManyToOneExpr.bindSelect(QueryParser parser)
Binds the expression as a select item. |
AmberExpr |
ManyToOneJoinExpr.bindSelect(QueryParser parser)
Binds the expression as a select item. |
AmberExpr |
MapFieldExpr.bindSelect(QueryParser parser)
Binds the expression as a select item. |
AmberExpr |
MemberExpr.bindSelect(QueryParser parser)
Binds the expression as a select item. |
AmberExpr |
NullExpr.bindSelect(QueryParser parser)
Binds the expression as a select item. |
AmberExpr |
OneToManyExpr.bindSelect(QueryParser parser)
Binds the expression as a select item. |
AmberExpr |
OneToManyJoinExpr.bindSelect(QueryParser parser)
Binds the expression as a select item. |
AmberExpr |
OrExpr.bindSelect(QueryParser parser)
Binds the expression as a select item. |
AmberExpr |
SubSelectExpr.bindSelect(QueryParser parser)
Binds the expression as a select item. |
AmberExpr |
UnaryExpr.bindSelect(QueryParser parser)
Binds the expression as a select item. |
static AmberExpr |
AndExpr.create(AmberExpr left,
AmberExpr right)
Creates the and. |
static AmberExpr |
MemberExpr.create(QueryParser parser,
AmberExpr itemExpr,
AmberExpr collectionExpr,
boolean isNot)
|
AmberExpr |
AbstractPathExpr.createArray(AmberExpr field)
Creates an array reference. |
AmberExpr |
PathExpr.createArray(AmberExpr field)
Creates an array reference. |
AmberExpr |
AbstractAmberExpr.createBoolean()
Converts to a boolean expression. |
AmberExpr |
AmberColumnExpr.createBoolean()
Returns a boolean expression. |
AmberExpr |
AmberExpr.createBoolean()
Converts to a boolean expression. |
AmberExpr |
AbstractPathExpr.createField(QueryParser parser,
java.lang.String fieldName)
Creates the expr from the path. |
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. |
AmberExpr |
AndExpr.getSingle()
Returns a single expression. |
AmberExpr |
JoinExpr.getWhere()
Returns the where clause once the parent is removed |
AmberExpr |
OneToManyJoinExpr.getWhere()
Returns the where clause once the parent is removed |
AmberExpr |
EqualJoinExpr.replace(IdExpr id)
Returns the id expr with the joined expression. |
AmberExpr |
JoinExpr.replace(IdExpr id)
Returns the id expr with the joined expression. |
AmberExpr |
ManyToOneJoinExpr.replace(IdExpr id)
Returns the id expr with the joined expression. |
AmberExpr |
OneToManyJoinExpr.replace(IdExpr id)
Returns the id expr with the joined expression. |
AmberExpr |
EqualJoinExpr.replace(IdFieldExpr id)
Returns the id expr with the joined expression. |
AmberExpr |
JoinExpr.replace(KeyColumnExpr id)
Returns the id expr with the joined expression. |
AmberExpr |
ManyToOneJoinExpr.replace(KeyColumnExpr id)
Returns the id expr with the joined expression. |
AmberExpr |
OneToManyJoinExpr.replace(KeyColumnExpr id)
Returns the id expr with the joined expression. |
AmberExpr |
AbstractAmberExpr.replaceJoin(JoinExpr join)
Returns true if the expression uses the from item. |
AmberExpr |
AmberColumnExpr.replaceJoin(JoinExpr join)
Replaces linked join to eliminate a table. |
AmberExpr |
AmberExpr.replaceJoin(JoinExpr join)
Returns true if the expression uses the from item. |
AmberExpr |
AndExpr.replaceJoin(JoinExpr join)
Returns true if the expression uses the from item. |
AmberExpr |
BinaryExpr.replaceJoin(JoinExpr join)
Returns true if the expression uses the from item. |
AmberExpr |
BooleanColumnExpr.replaceJoin(JoinExpr join)
Replaces linked join to eliminate a table. |
AmberExpr |
EmptyExpr.replaceJoin(JoinExpr join)
Returns true if the expression uses the from item. |
AmberExpr |
IdExpr.replaceJoin(JoinExpr join)
Returns true if the expression uses the from item. |
AmberExpr |
InExpr.replaceJoin(JoinExpr join)
Returns true if the expression uses the from item. |
AmberExpr |
KeyColumnExpr.replaceJoin(JoinExpr join)
Replaces linked join to eliminate a table. |
AmberExpr |
LikeExpr.replaceJoin(JoinExpr join)
Returns true if the expression uses the from item. |
AmberExpr |
MemberExpr.replaceJoin(JoinExpr join)
Returns true if the expression uses the from item. |
AmberExpr |
OrExpr.replaceJoin(JoinExpr join)
Returns true if the expression uses the from item. |
Methods in com.caucho.amber.expr that return types with arguments of type AmberExpr | |
---|---|
java.util.ArrayList<AmberExpr> |
AndExpr.getComponents()
Returns the components. |
Methods in com.caucho.amber.expr with parameters of type AmberExpr | |
---|---|
void |
AndExpr.add(AmberExpr expr)
Adds a new component. |
void |
OrExpr.add(AmberExpr expr)
Adds a new component. |
static AmberExpr |
AndExpr.create(AmberExpr left,
AmberExpr right)
Creates the and. |
static AmberExpr |
MemberExpr.create(QueryParser parser,
AmberExpr itemExpr,
AmberExpr collectionExpr,
boolean isNot)
|
AmberExpr |
AbstractPathExpr.createArray(AmberExpr field)
Creates an array reference. |
AmberExpr |
PathExpr.createArray(AmberExpr field)
Creates an array reference. |
void |
AbstractAmberExpr.setInternalArgType(AmberExpr other)
Binds the argument type based on another expr. |
void |
AmberExpr.setInternalArgType(AmberExpr otherExpr)
Binds the argument type based on another expr. |
void |
AndExpr.setInternalArgType(AmberExpr other)
Binds the argument type based on another expr. |
void |
OrExpr.setInternalArgType(AmberExpr other)
Binds the argument type based on another expr. |
Method parameters in com.caucho.amber.expr with type arguments of type AmberExpr | |
---|---|
EntityItem |
LoadEntityExpr.findItem(AmberConnection aConn,
java.sql.ResultSet rs,
int index,
java.util.Map<AmberExpr,java.lang.String> joinFetchMap)
Returns the object for the expr. |
java.lang.Object |
LoadEntityExpr.getCacheObject(AmberConnection aConn,
java.sql.ResultSet rs,
int index,
java.util.Map<AmberExpr,java.lang.String> joinFetchMap)
Returns the object for the expr. |
Constructors in com.caucho.amber.expr with parameters of type AmberExpr | |
---|---|
BetweenExpr(AmberExpr expr,
AmberExpr min,
AmberExpr max,
boolean isNot)
Creates a new cmp expression |
|
BinaryExpr(int token,
AmberExpr left,
AmberExpr right)
Creates a new cmp expression |
|
CollectionIdExpr(FromItem fromItem,
AmberExpr path)
Creates a new unbound id expression. |
|
EmptyExpr(AmberExpr collectionExpr)
|
|
InExpr(AmberExpr expr,
java.util.ArrayList<AmberExpr> values,
boolean isNot)
Creates a new cmp expression |
|
LikeExpr(AmberExpr expr,
AmberExpr value,
java.lang.String escape,
boolean isNot)
Creates a new cmp expression |
|
MapFieldExpr(PathExpr parent,
MapElementField field,
AmberExpr index)
Creates a new unbound id expression. |
|
UnaryExpr(int token,
AmberExpr expr)
Creates a new unary expression |
Constructor parameters in com.caucho.amber.expr with type arguments of type AmberExpr | |
---|---|
InExpr(AmberExpr expr,
java.util.ArrayList<AmberExpr> values,
boolean isNot)
Creates a new cmp expression |
Uses of AmberExpr in com.caucho.amber.expr.fun |
---|
Classes in com.caucho.amber.expr.fun that implement AmberExpr | |
---|---|
class |
AbsFunExpr
ABS function expression |
class |
ConcatFunExpr
CONCAT function expression |
class |
CurrentDateFunExpr
CURRENT_DATE function expression |
class |
CurrentTimeFunExpr
CURRENT_TIME function expression |
class |
CurrentTimestampFunExpr
CURRENT_TIMESTAMP function expression |
class |
DateTimeFunExpr
Base for CURRENT_DATE/TIME/TIMESTAMP function expression |
class |
FunExpr
Function expression |
class |
LengthFunExpr
LENGTH function expression |
class |
LocateFunExpr
LOCATE function expression |
class |
LowerFunExpr
LOWER function expression |
class |
MaxFunExpr
MAX() function expression |
class |
MinFunExpr
MIN() function expression |
class |
ModFunExpr
MOD function expression |
class |
SizeFunExpr
SIZE function expression |
class |
SqrtFunExpr
SQRT function expression |
class |
SubstringFunExpr
SUBSTRING function expression |
class |
SumFunExpr
SUM() function expression |
class |
TrimFunExpr
TRIM function expression |
class |
UpperFunExpr
UPPER function expression |
Methods in com.caucho.amber.expr.fun that return AmberExpr | |
---|---|
AmberExpr |
FunExpr.bindSelect(QueryParser parser)
Binds the expression as a select item. |
Methods in com.caucho.amber.expr.fun that return types with arguments of type AmberExpr | |
---|---|
java.util.ArrayList<AmberExpr> |
FunExpr.getArgs()
Returns the args. |
Methods in com.caucho.amber.expr.fun with parameters of type AmberExpr | |
---|---|
void |
TrimFunExpr.setTrimChar(AmberExpr trimChar)
Sets the trim character. |
Method parameters in com.caucho.amber.expr.fun with type arguments of type AmberExpr | |
---|---|
static FunExpr |
AbsFunExpr.create(QueryParser parser,
java.util.ArrayList<AmberExpr> args)
|
static FunExpr |
ConcatFunExpr.create(QueryParser parser,
java.util.ArrayList<AmberExpr> args)
|
static FunExpr |
LengthFunExpr.create(QueryParser parser,
java.util.ArrayList<AmberExpr> args)
|
static FunExpr |
LocateFunExpr.create(QueryParser parser,
java.util.ArrayList<AmberExpr> args)
|
static FunExpr |
LowerFunExpr.create(QueryParser parser,
java.util.ArrayList<AmberExpr> args)
|
static FunExpr |
ModFunExpr.create(QueryParser parser,
java.util.ArrayList<AmberExpr> args)
|
static FunExpr |
SizeFunExpr.create(QueryParser parser,
java.util.ArrayList<AmberExpr> args)
|
static FunExpr |
SqrtFunExpr.create(QueryParser parser,
java.util.ArrayList<AmberExpr> args)
|
static FunExpr |
SubstringFunExpr.create(QueryParser parser,
java.util.ArrayList<AmberExpr> args)
|
static TrimFunExpr |
TrimFunExpr.create(QueryParser parser,
java.util.ArrayList<AmberExpr> args)
|
static FunExpr |
UpperFunExpr.create(QueryParser parser,
java.util.ArrayList<AmberExpr> args)
|
static FunExpr |
FunExpr.create(QueryParser parser,
java.lang.String id,
java.util.ArrayList<AmberExpr> args,
boolean distinct)
|
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)
|
Constructor parameters in com.caucho.amber.expr.fun with type arguments of type AmberExpr | |
---|---|
AbsFunExpr(QueryParser parser,
java.util.ArrayList<AmberExpr> args)
Creates a new expression |
|
ConcatFunExpr(QueryParser parser,
java.util.ArrayList<AmberExpr> args)
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 |
Uses of AmberExpr in com.caucho.amber.field |
---|
Methods in com.caucho.amber.field that return AmberExpr | |
---|---|
AmberExpr |
AbstractField.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 |
CollectionField.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 |
ElementCollectionField.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 |
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 |
KeyManyToOneField.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 |
ManyToManyField.createExpr(QueryParser parser,
PathExpr parent)
Creates the expression for the field. |
AmberExpr |
ManyToOneField.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 |
PropertyField.createExpr(QueryParser parser,
PathExpr parent)
Creates the expression for the field. |
Uses of AmberExpr in com.caucho.amber.query |
---|
Methods in com.caucho.amber.query that return types with arguments of type AmberExpr | |
---|---|
java.util.ArrayList<AmberExpr> |
UpdateQuery.getFieldList()
Returns the field list. |
java.util.Map<AmberExpr,java.lang.String> |
ResultSetImpl.getJoinFetchMap()
Returns the join fetch map. |
java.util.ArrayList<AmberExpr> |
AmberSelectQuery.getResultList()
Returns the result list. |
java.util.ArrayList<AmberExpr> |
UpdateQuery.getValueList()
Returns the field list. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |