|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.axiondb.parser.AxionSqlParser
public class AxionSqlParser
JavaCC generated SQL parser. Generated from AxionSqlParser.jj ($Header: /cvs/axion/grammars/AxionSqlParser.jj,v 1.133 2005/12/20 18:33:00 ahimanikya Exp $). Do not edit this (.java) file directly, it is programmaticly generated.
Field Summary | |
---|---|
Token |
jj_nt
Next token. |
Token |
token
Current token. |
AxionSqlParserTokenManager |
token_source
Generated Token Manager. |
Constructor Summary | |
---|---|
AxionSqlParser()
|
|
AxionSqlParser(AxionSqlParserTokenManager tm)
Constructor with generated Token Manager. |
|
AxionSqlParser(InputStream stream)
Constructor with InputStream. |
|
AxionSqlParser(InputStream stream,
String encoding)
Constructor with InputStream and supplied encoding |
|
AxionSqlParser(Reader stream)
Constructor. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public AxionSqlParserTokenManager token_source
public Token token
public Token jj_nt
Constructor Detail |
---|
public AxionSqlParser()
public AxionSqlParser(InputStream stream)
public AxionSqlParser(InputStream stream, String encoding)
public AxionSqlParser(Reader stream)
public AxionSqlParser(AxionSqlParserTokenManager tm)
Method Detail |
---|
public AxionCommand parse(String sql) throws AxionException
Parser
command
from the given String
.
parse
in interface Parser
AxionException
public final AxionCommand SqlCommand() throws ParseException
ParseException
public final AxionCommand SqlAxionCustom() throws ParseException
ParseException
public final AxionCommand SqlRemount() throws ParseException
ParseException
public final AxionCommand SQLDefrag() throws ParseException
ParseException
public final AxionCommand SqlTruncate() throws ParseException
ParseException
public final AxionCommand SqlCreate() throws ParseException
ParseException
public final AxionCommand SqlCreateTable() throws ParseException
ParseException
public final AxionCommand SqlCreateView() throws ParseException
ParseException
public final AxionCommand SqlCreateServer() throws ParseException
ParseException
public final AxionCommand SqlCreateIndex() throws ParseException
ParseException
public final AxionCommand SqlCreateSequence() throws ParseException
ParseException
public final void SqlBasicSequenceOption(CreateSequenceCommand result) throws ParseException
ParseException
public final AxionCommand SqlAlterSequence() throws ParseException
ParseException
public final void SqlIfNotExists(AxionCommand result) throws ParseException
ParseException
public final Properties SqlReadProperties() throws ParseException
ParseException
public final void SqlColumnExpression(CreateTableCommand result) throws ParseException
ParseException
public final AxionCommand SqlDelete() throws ParseException
ParseException
public final AxionCommand SqlAlterCmd() throws ParseException
ParseException
public final AxionCommand SqlAlterTable() throws ParseException
ParseException
public final AxionCommand SqlRenameTable(String tablename) throws ParseException
ParseException
public final AxionCommand SqlAlterTableAlterColumn(String tablename) throws ParseException
ParseException
public final AxionCommand SqlDropColumn(String tablename) throws ParseException
ParseException
public final AxionCommand SqlAlterTableDrop(String tablename) throws ParseException
ParseException
public final AxionCommand SqlAlterTableAdd(String tablename) throws ParseException
ParseException
public final AxionCommand SqlDrop() throws ParseException
ParseException
public final AxionCommand SqlDropTable() throws ParseException
ParseException
public final AxionCommand SqlDropView() throws ParseException
ParseException
public final AxionCommand SqlDropServer() throws ParseException
ParseException
public final AxionCommand SqlDropIndex() throws ParseException
ParseException
public final AxionCommand SqlDropSequence() throws ParseException
ParseException
public final AxionCommand SqlInsert() throws ParseException
ParseException
public final InsertCommand SqlMultiTableInsert() throws ParseException
ParseException
public final InsertCommand SqlSingleTableInsert() throws ParseException
ParseException
public final DMLWhenClause SqlDMLWhenClause() throws ParseException
ParseException
public final void SqlInsertIntoClause(InsertCommand insertCommand) throws ParseException
ParseException
public final void SqlInsertElseClause(InsertCommand insertCommand) throws ParseException
ParseException
public final List insertValues() throws ParseException
ParseException
public final AxionCommand SqlSelect() throws ParseException
ParseException
public final AxionQueryContext SqlSelectContext() throws ParseException
ParseException
public final List SqlSelectCols() throws ParseException
ParseException
public final ColumnIdentifier SqlNextValueFor() throws ParseException
ParseException
public final Literal SqlSelectLimit() throws ParseException
ParseException
public final Literal SqlSelectOffset() throws ParseException
ParseException
public final Literal SqlNumericLiteralOrBindVar() throws ParseException
ParseException
public final Literal SqlLiteralOrBindVar() throws ParseException
ParseException
public final AxionCommand SqlUpdate() throws ParseException
ParseException
public final void SqlUpdateExceptionWhenClause(UpdateCommand cmd) throws ParseException
ParseException
public final Selectable[] SqlUpdateAssignment() throws ParseException
ParseException
public final AxionCommand SqlUpsert() throws ParseException
ParseException
public final void SqlUpsertExceptionWhenClause(UpsertCommand cmd) throws ParseException
ParseException
public final Constraint SqlTableConstraint() throws ParseException
ParseException
public final Constraint SqlColumnConstraint(String tablename, String columnname) throws ParseException
ParseException
public final SelectableBasedConstraint SqlSelectableBasedConstraintType(String constraintname) throws ParseException
ParseException
public final CheckConstraint SqlCheckConstraintType(String constraintname) throws ParseException
ParseException
public final ForeignKeyConstraint SqlForeignKeyConstraintType(String constraintname) throws ParseException
ParseException
public final void SqlForeignKeyConstraintTriger(ForeignKeyConstraint constraint) throws ParseException
ParseException
public final void SqlSelectableBasedConstraintArgs(SelectableBasedConstraint constraint) throws ParseException
ParseException
public final void SqlDeferrable(Constraint constraint) throws ParseException
ParseException
public final void SqlInitiallyDeferredOrImmediate(Constraint constraint) throws ParseException
ParseException
public final String SqlIdentifier() throws ParseException
ParseException
public final String SqlQuotedId() throws ParseException
ParseException
public final String SqlUnquotedId() throws ParseException
ParseException
public final BindVariable SqlBindVar() throws ParseException
ParseException
public final Object[] SqlColumnDef() throws ParseException
ParseException
public final void SqlGCAndDefaultClause(Object[] tuple) throws ParseException
ParseException
public final void SqlCharStringType(Object[] tuple) throws ParseException
ParseException
public final void SqlBinaryStringType(Object[] tuple) throws ParseException
ParseException
public final void SqlExactNumericType(Object[] tuple) throws ParseException
ParseException
public final void SqlApproximateNumericType(Object[] tuple) throws ParseException
ParseException
public final void SqlBooleanType(Object[] tuple) throws ParseException
ParseException
public final void SqlDataTimeType(Object[] tuple) throws ParseException
ParseException
public final void SqlJavaObjectType(Object[] tuple) throws ParseException
ParseException
public final void SqlUserDefinedType(Object[] tuple) throws ParseException
ParseException
public final void SqlCharLength(Object[] tuple) throws ParseException
ParseException
public final void SqlPrecisionAndScale(Object[] tuple) throws ParseException
ParseException
public final void SqlPrecision(Object[] tuple) throws ParseException
ParseException
public final String SqlPositiveInteger() throws ParseException
ParseException
public final String SqlUnsignedInteger() throws ParseException
ParseException
public final ColumnIdentifier SqlColumnRef() throws ParseException
ParseException
public final Selectable SqlCase() throws ParseException
ParseException
public final Selectable SqlPseudoColumn() throws ParseException
ParseException
public final Selectable SqlCastAs() throws ParseException
ParseException
public final Object[] SqlCastAsType() throws ParseException
ParseException
public final Selectable SqlSubString() throws ParseException
ParseException
public final Selectable SqlExtract() throws ParseException
ParseException
public final Selectable SqlPosition() throws ParseException
ParseException
public final Selectable SqlTrim() throws ParseException
ParseException
public final Selectable SqlFunction() throws ParseException
ParseException
public final List SqlFunctionArgs(String name) throws ParseException
ParseException
public final Selectable SqlSumExprSelectable() throws ParseException
ParseException
public final Selectable SqlProductExprSelectable() throws ParseException
ParseException
public final List SqlLiteralList() throws ParseException
ParseException
public final String SqlLValue() throws ParseException
ParseException
public final Literal SqlLiteral() throws ParseException
ParseException
public final String SqlValueTerm() throws ParseException
ParseException
public final String SqlClassName() throws ParseException
ParseException
public final Selectable SqlSelectable() throws ParseException
ParseException
public final Selectable SqlSelectAsScalarValue() throws ParseException
ParseException
public final Selectable SqlSelectableElements() throws ParseException
ParseException
public final List SqlSelectList() throws ParseException
ParseException
public final Selectable SqlSelectClauseElement() throws ParseException
ParseException
public final TableIdentifier SqlTableRef() throws ParseException
ParseException
public final List SqlOrderBy() throws ParseException
ParseException
public final OrderNode SqlOrderByElem() throws ParseException
ParseException
public final List SqlOrderByList() throws ParseException
ParseException
public final boolean SqlOrderDirection() throws ParseException
ParseException
public final List SqlGroupBy() throws ParseException
ParseException
public final Selectable SqlGroupByElem() throws ParseException
ParseException
public final List SqlGroupByList() throws ParseException
ParseException
public final FromNode SqlFrom() throws ParseException
ParseException
public final FromNode SqlGetTraditionalFromNode(FromNode basenode) throws ParseException
ParseException
public final Object SqlGetAnsiFromNode() throws ParseException
ParseException
public final FromNode SqlGetRightFromNode(FromNode node) throws ParseException
ParseException
public final FromNode SqlAnsiJoin(FromNode node) throws ParseException
ParseException
public final int SqlJoinType() throws ParseException
ParseException
public final Object SqlTableOrView() throws ParseException
ParseException
public final Selectable SqlWhere() throws ParseException
ParseException
public final Selectable SqlWhereOr() throws ParseException
ParseException
public final Selectable SqlWhereAnd() throws ParseException
ParseException
public final Selectable SqlWhereNot() throws ParseException
ParseException
public final Selectable SqlWhereElt() throws ParseException
ParseException
public final Selectable SqlCompareExpr() throws ParseException
ParseException
public final String SqlCompareOp() throws ParseException
ParseException
public final String SqlIsClause() throws ParseException
ParseException
public final Selectable[] SqlBetweenClause() throws ParseException
ParseException
public final Selectable SqlExistsClause() throws ParseException
ParseException
public final Selectable SqlInClause(Selectable left) throws ParseException
ParseException
public final Selectable SqlLikeClause(Selectable left) throws ParseException
ParseException
public final AxionCommand SqlSubSelect() throws ParseException
ParseException
public final AxionQueryContext SqlSubSelectContext() throws ParseException
ParseException
public void ReInit(InputStream stream)
public void ReInit(InputStream stream, String encoding)
public void ReInit(Reader stream)
public void ReInit(AxionSqlParserTokenManager tm)
public final Token getNextToken()
public final Token getToken(int index)
public ParseException generateParseException()
public final void enable_tracing()
public final void disable_tracing()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |