| |
|
| java.lang.Object com.caucho.amber.query.QueryParser
QueryParser | public class QueryParser (Code) | | Contains the parser for EJB 3.0 style queries and stores
the parsed expressions.
|
Field Summary | |
final public static int | ABS | final public static int | AND | final public static int | ARG | final public static int | AS | final public static int | ASC | final public static int | BETWEEN | final public static int | BOTH | final public static int | BY | final public static int | CONCAT | final public static int | CONCAT_OP | final public static int | CURRENT_DATE | final public static int | CURRENT_TIME | final public static int | CURRENT_TIMESTAMP | final public static int | DELETE | final public static int | DESC | final public static int | DISTINCT | final public static int | DOUBLE | final public static int | EMPTY | final public static int | EQ | final public static int | ESCAPE | final public static int | EXTERNAL_DOT | final public static int | FALSE | final public static int | FETCH | final public static int | FROM | final public static int | GE | final public static int | GROUP | final public static int | GT | final public static int | HAVING | final public static int | IDENTIFIER | final public static int | IN | final public static int | INNER | final public static int | INTEGER | final public static int | IS | final public static int | JOIN | final static L10N | L | final public static int | LE | final public static int | LEADING | final public static int | LEFT | final public static int | LENGTH | final public static int | LIKE | final public static int | LIMIT | final public static int | LOCATE | final public static int | LONG | final public static int | LOWER | final public static int | LT | final public static int | MAX | final public static int | MEMBER | final public static int | MIN | final public static int | MOD | final public static int | NAMED_ARG | final public static int | NE | final public static int | NEW | final public static int | NOT | final public static int | NOT_NULL | final public static int | NULL | final public static int | OF | final public static int | OFFSET | final public static int | OR | final public static int | ORDER | final public static int | OUTER | final public static int | SELECT | final public static int | SET | final public static int | SIZE | final public static int | SQRT | final public static int | STRING | final public static int | SUBSTRING | final public static int | SUM | final public static int | THIS | final public static int | TRAILING | final public static int | TRIM | final public static int | TRUE | final public static int | UNKNOWN | final public static int | UPDATE | final public static int | UPPER | final public static int | WHERE | ArrayList<AmberExpr> | _appendResultList | ArrayList<AmberExpr> | _groupList | final static Logger | log |
ABS | final public static int ABS(Code) | | |
AND | final public static int AND(Code) | | |
ARG | final public static int ARG(Code) | | |
AS | final public static int AS(Code) | | |
ASC | final public static int ASC(Code) | | |
BETWEEN | final public static int BETWEEN(Code) | | |
BOTH | final public static int BOTH(Code) | | |
BY | final public static int BY(Code) | | |
CONCAT | final public static int CONCAT(Code) | | |
CONCAT_OP | final public static int CONCAT_OP(Code) | | |
CURRENT_DATE | final public static int CURRENT_DATE(Code) | | |
CURRENT_TIME | final public static int CURRENT_TIME(Code) | | |
CURRENT_TIMESTAMP | final public static int CURRENT_TIMESTAMP(Code) | | |
DELETE | final public static int DELETE(Code) | | |
DESC | final public static int DESC(Code) | | |
DISTINCT | final public static int DISTINCT(Code) | | |
DOUBLE | final public static int DOUBLE(Code) | | |
EMPTY | final public static int EMPTY(Code) | | |
EQ | final public static int EQ(Code) | | |
ESCAPE | final public static int ESCAPE(Code) | | |
EXTERNAL_DOT | final public static int EXTERNAL_DOT(Code) | | |
FALSE | final public static int FALSE(Code) | | |
FETCH | final public static int FETCH(Code) | | |
FROM | final public static int FROM(Code) | | |
GE | final public static int GE(Code) | | |
GROUP | final public static int GROUP(Code) | | |
GT | final public static int GT(Code) | | |
HAVING | final public static int HAVING(Code) | | |
IDENTIFIER | final public static int IDENTIFIER(Code) | | |
IN | final public static int IN(Code) | | |
INNER | final public static int INNER(Code) | | |
INTEGER | final public static int INTEGER(Code) | | |
IS | final public static int IS(Code) | | |
JOIN | final public static int JOIN(Code) | | |
LE | final public static int LE(Code) | | |
LEADING | final public static int LEADING(Code) | | |
LEFT | final public static int LEFT(Code) | | |
LENGTH | final public static int LENGTH(Code) | | |
LIKE | final public static int LIKE(Code) | | |
LIMIT | final public static int LIMIT(Code) | | |
LOCATE | final public static int LOCATE(Code) | | |
LONG | final public static int LONG(Code) | | |
LOWER | final public static int LOWER(Code) | | |
LT | final public static int LT(Code) | | |
MAX | final public static int MAX(Code) | | |
MEMBER | final public static int MEMBER(Code) | | |
MIN | final public static int MIN(Code) | | |
MOD | final public static int MOD(Code) | | |
NAMED_ARG | final public static int NAMED_ARG(Code) | | |
NE | final public static int NE(Code) | | |
NEW | final public static int NEW(Code) | | |
NOT | final public static int NOT(Code) | | |
NOT_NULL | final public static int NOT_NULL(Code) | | |
NULL | final public static int NULL(Code) | | |
OF | final public static int OF(Code) | | |
OFFSET | final public static int OFFSET(Code) | | |
OR | final public static int OR(Code) | | |
ORDER | final public static int ORDER(Code) | | |
OUTER | final public static int OUTER(Code) | | |
SELECT | final public static int SELECT(Code) | | |
SET | final public static int SET(Code) | | |
SIZE | final public static int SIZE(Code) | | |
SQRT | final public static int SQRT(Code) | | |
STRING | final public static int STRING(Code) | | |
SUBSTRING | final public static int SUBSTRING(Code) | | |
SUM | final public static int SUM(Code) | | |
THIS | final public static int THIS(Code) | | |
TRAILING | final public static int TRAILING(Code) | | |
TRIM | final public static int TRIM(Code) | | |
TRUE | final public static int TRUE(Code) | | |
UNKNOWN | final public static int UNKNOWN(Code) | | |
UPDATE | final public static int UPDATE(Code) | | |
UPPER | final public static int UPPER(Code) | | |
WHERE | final public static int WHERE(Code) | | |
QueryParser | public QueryParser(String query)(Code) | | Creates the query parser.
|
createTableName | public String createTableName()(Code) | | Returns a unique table name
|
generateSQLArg | public int generateSQLArg()(Code) | | Generates a new arg.
|
getQuery | public String getQuery()(Code) | | Returns the query string
|
isDerbyDBMS | public boolean isDerbyDBMS()(Code) | | Returns true for Derby-like DBMS.
|
isPostgresDBMS | public boolean isPostgresDBMS()(Code) | | Returns true for Postgres-like DBMS.
|
setLazyResult | public void setLazyResult(boolean isLazy)(Code) | | Sets true for lazy loading.
|
toString | public String toString()(Code) | | Returns a debuggable description of the select.
|
|
|
|