| Package | Description | 
|---|---|
| com.caucho.amber.expr | |
| com.caucho.amber.expr.fun | |
| com.caucho.amber.field | |
| com.caucho.amber.query | 
| Modifier and Type | Interface and Description | 
|---|---|
| interface  | EntityPathExprA path expression that returns an entity. | 
| interface  | IdFieldExprBound identifier expression. | 
| interface  | PathExprRepresents an amber mapping query expression | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | AbstractAmberExprRepresents an Amber query expression | 
| class  | AbstractPathExprRepresents an amber mapping query expression | 
| class  | AllExprRepresents an ALL query expression | 
| class  | AmberColumnExprBound identifier expression. | 
| class  | AndExprA conjunction. | 
| class  | AnyExprRepresents an ANY or SOME (synonymous) query expression | 
| class  | ArgExprParameter argument expression. | 
| class  | BetweenExprBound identifier expression. | 
| class  | BinaryExprBound identifier expression. | 
| class  | BooleanColumnExprAmberColumn expression returning a boolean | 
| class  | CollectionIdExprBound identifier expression. | 
| class  | DependentEntityOneToOneExprBound identifier expression. | 
| class  | ElementCollectionExprExpression to a collection of rows
 The relation is maintained by a link from the child objects
 to the parent object. | 
| class  | ElementCollectionIdExprBound identifier expression. | 
| class  | EmbeddedExprEmbedded path expression | 
| class  | EmptyExprRepresents a member query expression | 
| class  | EnumExprEnum expression for Amber. | 
| class  | EqualJoinExprLinks two tables by their key fields. | 
| class  | ExistsExprRepresents an exists query expression | 
| class  | IdExprBound identifier expression. | 
| class  | InExpr"in" expression | 
| class  | JoinExprLinks two tables. | 
| class  | KeyColumnExprBound identifier expression. | 
| class  | KeyManyToOneExprBound identifier expression. | 
| class  | KeyPropertyExprBound identifier expression. | 
| class  | LikeExprBound identifier expression. | 
| class  | LiteralExprLiteral expression for Amber. | 
| class  | LoadBasicExprAn embedded expression which should be loaded. | 
| class  | LoadEmbeddedExprAn embedded expression which should be loaded. | 
| class  | LoadEntityExprAn entity expression which should be loaded. | 
| class  | LoadExprAn embedded or entity expression which should be loaded. | 
| class  | ManyToOneExprLink expression to a new table | 
| class  | ManyToOneJoinExprLinks two tables. | 
| class  | MapFieldExprBound identifier expression. | 
| class  | MapManyToManyExprmap expression with many-to-many result | 
| class  | MemberExprRepresents a member query expression | 
| class  | NullExprNull expression for Amber. | 
| class  | OneToManyExprExpression to a collection of rows
 The relation is maintained by a link from the child objects
 to the parent object. | 
| class  | OneToManyJoinExprJoins two tables as "a.children". | 
| class  | OrExprA disjunction. | 
| class  | SubSelectExprRepresents a subselect mapping query expression | 
| class  | UnaryExprUnary expression. | 
| Modifier and Type | Method and Description | 
|---|---|
| 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. | 
| static AmberExpr | AndExpr. create(AmberExpr left,
      AmberExpr right)Creates the and. | 
| static AmberExpr | MemberExpr. create(QueryParser parser,
      AmberExpr itemExpr,
      AmberExpr collectionExpr,
      boolean isNot) | 
| AmberExpr | PathExpr. createArray(AmberExpr field)Creates an array reference. | 
| AmberExpr | AbstractPathExpr. createArray(AmberExpr field)Creates an array reference. | 
| AmberExpr | AmberExpr. createBoolean()Converts to a boolean expression. | 
| AmberExpr | AbstractAmberExpr. createBoolean()Converts to a boolean expression. | 
| AmberExpr | AmberColumnExpr. createBoolean()Returns a boolean expression. | 
| 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 | AbstractPathExpr. createField(QueryParser parser,
           java.lang.String fieldName)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 | OneToManyJoinExpr. 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 | 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 | OneToManyJoinExpr. 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 | AmberExpr. 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 | BinaryExpr. 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. | 
| AmberExpr | EmptyExpr. 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 | InExpr. 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 | AbstractAmberExpr. replaceJoin(JoinExpr join)Returns true if the expression uses the from item. | 
| AmberExpr | LikeExpr. 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 | BooleanColumnExpr. replaceJoin(JoinExpr join)Replaces linked join to eliminate a table. | 
| Modifier and Type | Method and Description | 
|---|---|
| java.util.ArrayList<AmberExpr> | AndExpr. getComponents()Returns the components. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | OrExpr. add(AmberExpr expr)Adds a new component. | 
| void | AndExpr. 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 | PathExpr. createArray(AmberExpr field)Creates an array reference. | 
| AmberExpr | AbstractPathExpr. createArray(AmberExpr field)Creates an array reference. | 
| void | AmberExpr. setInternalArgType(AmberExpr otherExpr)Binds the argument type based on another expr. | 
| void | OrExpr. setInternalArgType(AmberExpr other)Binds the argument type based on another expr. | 
| void | AndExpr. setInternalArgType(AmberExpr other)Binds the argument type based on another expr. | 
| void | AbstractAmberExpr. setInternalArgType(AmberExpr other)Binds the argument type based on another expr. | 
| Modifier and Type | Method and Description | 
|---|---|
| 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. | 
| Constructor and Description | 
|---|
| 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 and Description | 
|---|
| InExpr(AmberExpr expr,
      java.util.ArrayList<AmberExpr> values,
      boolean isNot)Creates a new cmp expression | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | AbsFunExprABS function expression | 
| class  | ConcatFunExprCONCAT function expression | 
| class  | CurrentDateFunExprCURRENT_DATE function expression | 
| class  | CurrentTimeFunExprCURRENT_TIME function expression | 
| class  | CurrentTimestampFunExprCURRENT_TIMESTAMP function expression | 
| class  | DateTimeFunExprBase for CURRENT_DATE/TIME/TIMESTAMP function expression | 
| class  | FunExprFunction expression | 
| class  | LengthFunExprLENGTH function expression | 
| class  | LocateFunExprLOCATE function expression | 
| class  | LowerFunExprLOWER function expression | 
| class  | MaxFunExprMAX() function expression | 
| class  | MinFunExprMIN() function expression | 
| class  | ModFunExprMOD function expression | 
| class  | SizeFunExprSIZE function expression | 
| class  | SqrtFunExprSQRT function expression | 
| class  | SubstringFunExprSUBSTRING function expression | 
| class  | SumFunExprSUM() function expression | 
| class  | TrimFunExprTRIM function expression | 
| class  | UpperFunExprUPPER function expression | 
| Modifier and Type | Method and Description | 
|---|---|
| AmberExpr | FunExpr. bindSelect(QueryParser parser)Binds the expression as a select item. | 
| Modifier and Type | Method and Description | 
|---|---|
| java.util.ArrayList<AmberExpr> | FunExpr. getArgs()Returns the args. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | TrimFunExpr. setTrimChar(AmberExpr trimChar)Sets the trim character. | 
| Modifier and Type | Method and Description | 
|---|---|
| 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 | 
| 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. | 
| Modifier and Type | Method and Description | 
|---|---|
| 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. |