| java.lang.Object org.apache.derby.impl.sql.compile.SQLParser
Inner Class :final static class JJCalls | |
Method Summary | |
final public ValueNode | DB2DefaultOption(String columnName) | final public char | DB2lockGranularityClause() | final public DataTypeDescriptor | LOBType() | final public int | LocksOrCursors() | public void | ReInit(CharStream stream) | public void | ReInit(SQLParserTokenManager tm) | final public QueryTreeNode | Statement(String statementSQLText, Object[] paramDefaults) | final public QueryTreeNode | StatementPart(Token[] tokenHolder) | final public DataTypeDescriptor | XMLType() | final public ValueNode | absFunction() | final public TableElementNode | addColumnDefinition(TableElementList tableElementList) | final public ValueNode | additiveExpression(ValueNode farLeftOperand, int compOp, boolean inSelectClause) | final public int | additiveOperator() | final public ValueNode | aggregateExpression(String aggName, Class aggClass) | final public ValueNode | aggregateNode() | final public char | alterTableAction(TableElementList tableElementList, int[] changeType, int[] behavior, boolean[] sequential) | final public QueryTreeNode | alterTableBody(TableName tableName) | final public QueryTreeNode | alterTableStatement() | final public ValueNode | andExpression(ValueNode farLeftOperand, boolean inSelectClause) | final public DataTypeDescriptor | approximateNumericType() | final public String | asClause() | final public int | atIsolationLevel() | final public void | autoIncrementBeginEnd(long[] autoIncrementInfo) | final public QueryTreeNode | bareCallStatement() | final public ValueNode | bareDateLiteral() | final public ValueNode | bareTimeLiteral() | final public ValueNode | bareTimestampLiteral() | final public Boolean | beforeOrAfter() | final public Token | booleanLiteral() | final public ValueNode | booleanPrimary(boolean inSelectClause) | final public Token | builtInAggregateType() | final public QueryTreeNode | callStatement() | final public Boolean | calledOnNullInput(boolean isProcedure) | final public ValueNode | caseExpression() | final public String | caseInsensitiveIdentifierPlusReservedWords() | final public String | caseSensitiveIdentifier() | final public String | caseSensitiveIdentifierPlusReservedWords() | final public ValueNode | castOperand() | final public ValueNode | castSpecification() | final public int | charLength() | final public void | charOrCharacter() | final public int | charOrVarchar() | final public DataTypeDescriptor | characterStringType() | final public ValueNode | characterValueFunction() | final public ConstraintDefinitionNode | checkConstraintDefinition(TableName constraintName, String columnName) | void | checkRequiredRoutineClause(int[] required, Object[] clauses) Check to see if the required claues have been added
to a procedure or function defintion. | final public void | coalesceExpression(ValueNodeList expressionList) | final public ValueNode | coalesceFunction(String coalesceOrValue) | final public TableElementNode | columnAlterClause(String columnName) | final public ConstraintDefinitionNode | columnConstraint(TableName constraintName, DataTypeDescriptor dataTypeDescriptor, String columnName) | final public void | columnConstraintDefinition(DataTypeDescriptor dataTypeDescriptor, TableElementList tableElementList, String columnName) | final public TableElementNode | columnDefinition(TableElementList tableElementList) | final public ValueNode | columnMethodInvocation() | final public ValueNode | columnNameForInvocation() | final public void | columnNameItem(ResultColumnList columnList) | final public void | columnNameList(ResultColumnList columnList) | final public void | columnQualifiedNameItem(ResultColumnList columnList) | final public void | columnQualifiedNameList(ResultColumnList columnList) | final public ColumnReference | columnReference() | boolean | commonDatatypeName(boolean checkFollowingToken) Determine whether the next sequence of tokens represents one of
the common (built-in) datatypes. | final public int | compOp() | final public TableName | constraintNameDefinition() | final public QueryTreeNode | createStatements() | final public FromTable | currentOfClause(String correlationName) | final public DataTypeDescriptor | dataTypeCast() | final public DataTypeDescriptor | dataTypeCommon() | final public DataTypeDescriptor | dataTypeDDL() | final public ValueNode | dataTypeScalarFunction() | final public ValueNode | dateTimeLiteral() | final public ValueNode | dateTimeScalarFunction() | final public int | datetimeField() | final public DataTypeDescriptor | datetimeType() | final public ValueNode | datetimeValueFunction() | final public void | declareTableClause(Object[] declareTableClauses) | final public ValueNode | defaultAndConstraints(DataTypeDescriptor typeDescriptor, TableElementList tableElementList, String columnName, long[] autoIncrementInfo) | final public ValueNode | defaultClause(long[] autoIncrementInfo, String columnName) | final public ValueNode | defaultNullOnlyClause() | final public ValueNode | defaultOption(Token beginToken, long[] autoIncrementInfo, String columnName) | final public QueryTreeNode | deleteBody() | final public int | deleteReferentialAction() | final public int | deleteRule() | final public String | delimitedIdentifier() | final public ResultColumn | derivedColumn(ResultColumnList resultColumns) | final public ResultColumnList | derivedColumnList() | final public ResultSetNode | derivedTable() | final public void | disable_tracing() | final public DataTypeDescriptor | doubleType() | QueryTreeNode | dropAliasNode(Object aliasName, char type) Create a node for the drop alias/procedure call. | final public QueryTreeNode | dropAliasStatement() | final public QueryTreeNode | dropIndexStatement() | final public QueryTreeNode | dropSchemaStatement() | final public QueryTreeNode | dropStatements() | final public TableElementNode | dropTableConstraintDefinition() | final public QueryTreeNode | dropTableStatement() | final public QueryTreeNode | dropTriggerStatement() | final public QueryTreeNode | dropViewStatement() | final public void | dummyTableReferenceRule(FromList fromList) | final public ParameterNode | dynamicParameterSpecification() | final public void | enable_tracing() | final public ValueNode | escapedDateTimeLiteral() | final public ValueNode | escapedSYSFUNFunction() | final public ValueNode | escapedValueFunction() | final public DataTypeDescriptor | exactIntegerType() | final public long | exactNumber() | final public DataTypeDescriptor | exactNumericType() | final public QueryTreeNode | execStatement() | final public SubqueryNode | existsExpression() | final public int | forBitData(int charType) | final public int | forUpdateClause(Vector columnList) | final public void | forUpdateColumn(Vector columnList) | final public void | forUpdateColumnList(Vector columnList) | final public FromList | fromClause() | final public void | fromListProperties(FromList fromList) | final public QueryTreeNode | functionDefinition() CREATE FUNCTION
functionElements contains the description of the function. | final public void | functionParameterDefinition(Vector[] list) | final public Object[] | functionParameterList() | final public ValueNode | generalAggregate() | final public ValueNode | generalValueSpecification() | public ParseException | generateParseException() | final public ValueNode | generatedColumnOption(long[] autoIncrementInfo) | QueryTreeNode | getCreateAliasNode(Object aliasName, String fullStaticMethodName, Object aliasSpecificInfo, char aliasType, Boolean delimitedIdentifier) Get one of the several types of create alias nodes. | final public Token | getNextToken() | ValueNode | getNumericNode(String num) Translate a String containing a number into the appropriate type
of Numeric node. | ValueNode | getSubstringNode(ValueNode stringValue, ValueNode startPosition, ValueNode length, Boolean boolVal) | final public Token | getToken(int index) | final public QueryTreeNode | globalTemporaryTableDeclaration() | final public QueryTreeNode | grantStatement() | final public void | grantee(List list) | final public List | granteeList() | final public GroupByList | groupByClause() | final public void | groupingColumnReference(GroupByList groupingCols) | final public GroupByList | groupingColumnReferenceList() | final public ValueNode | havingClause() | final public ValueNode | hexLiteral() | final public String | identifier(int id_length_limit, boolean checkLength) | final public void | inElement(ValueNodeList inList) | final public ValueNode | inPredicateValue(ValueNode leftOperand) | final public ValueNode | inValueList(ValueNode leftOperand) | final public void | indexColumnItem(Vector columnList) | final public void | indexColumnList(Vector columnList) | final public QueryTreeNode | indexDefinition() | void | initUnnamedParameterList() Initializes the list of unnamed parameters, i.e., "?" parameters
Usually, this routine just gets an empty list for the unnamed parameters. | final public Integer | inoutParameter() | final public ResultColumnList | insertColumnList() | final public QueryTreeNode | insertColumnsAndSource(QueryTreeNode targetTable) | final public QueryTreeNode | insertStatement() | final public String | internalIdentifier(int id_length_limit, boolean useANSICasing, boolean checkLength) | final public ResultSetNode | intersect(ResultSetNode term) | final public ValueNode | isSearchCondition(boolean inSelectClause) | final public int | isolationLevel() | final public int | isolationLevelDB2() | final public int | isolationLevelDB2Abbrev() | final public int | isolationLevelDB2OrReset() | final public String | javaClass() | boolean | javaClassFollows() | final public String | javaClassName() | final public String | javaDSL() | final public String | javaDSLNameExtender(String dotSeparatedList) | final public DataTypeDescriptor | javaType() | final public ValueNode | jdbcIntervalType() | final public ValueNode | joinCondition() | final public Object[] | joinSpecification(ResultSetNode leftRSN, ResultSetNode rightRSN) | final public int | joinType() | final public TableOperatorNode | joinedTableExpression(ResultSetNode leftRSN, boolean nestedInParens) | final public int | length() | final public int | lengthAndModifier() | final public int | levelOfIsolation() | final public int | levelOfIsolationRead() | final public ValueNode | literal() | final public char | lockGranularity() | final public Boolean | lockMode() | final public QueryTreeNode | lockStatement() | final public DataTypeDescriptor | longSubType() | final public DataTypeDescriptor | longType() | ParameterNode | lookupUnnamedParameter(int paramNumber) Looks up an unnamed parameter given its parameter number. | ParameterNode | makeParameterNode() Makes a new unnamed ParameterNode and chains it onto parameterList. | final public void | methodCallParameterList(Vector parameterList) | final public MethodCallNode | methodName(ValueNode receiver) | final public void | methodParameter(Vector parameterList) | final public ValueNode | miscBuiltins() | final public ValueNode | miscBuiltinsCore(boolean isJDBCEscape) | final public ValueNode | modFunction() | ValueNode | multOp(ValueNode leftOperand, ValueNode rightOperand, int multiplicativeOperator) | final public ValueNode | multiplicativeExpression(ValueNode farLeftOperand, int additiveOperator, boolean inSelectClause) | final public int | multiplicativeOperator() | final public DataTypeDescriptor | nationalCharacterStringType() | final public JavaToSQLValueNode | newInvocation() | final public ResultSetNode | nonJoinQueryPrimary() | final public ResultSetNode | nonJoinQueryTerm(ResultSetNode leftSide, int operatorType) | final public String | nonReservedKeyword() | final public int | nonSecondDatetimeField() | final public ValueNode | nonStaticMethodCallOrFieldAccess(ValueNode receiver) | final public ValueNode | nonStaticMethodInvocation(ValueNode receiver) | final public ValueNode | nullSpecification() | final public DataTypeDescriptor | numericFunctionType() | final public ValueNode | numericLiteral(String sign) | final public DataTypeDescriptor | numericType() | final public ValueNode | numericValueFunction() | final public Boolean | onCommit() | final public Object[] | optionalTableClauses() | final public Object[] | optionalTableProperties() | final public ValueNode | orExpression(ValueNode farLeftOperand, boolean inSelectClause) | final public OrderByList | orderByClause() | final public void | orderingSpecification(OrderByColumn orderCol) | final public int | outerJoinType() | final public Short | parameterStyle() | final public List | parameterTypeList() | final public int | precision() | final public ValueNode | predicate(boolean inSelectClause) | final public QueryTreeNode | preparableDeleteStatement() | final public QueryTreeNode | preparableSQLDataStatement() | final public CursorNode | preparableSelectStatement(boolean checkParams) | final public QueryTreeNode | preparableUpdateStatement() | final public ValueNode | primary(boolean inSelectClause) | final public ValueNode | primaryExpression(boolean inSelectClause) | final public ValueNode | primaryExpressionXX(boolean inSelectClause) | final public ResultColumnList | privilegeColumnList() | final public QueryTreeNode | proceduralStatement(Token[] tokenHolder) | final public QueryTreeNode | procedureDefinition() CREATE PROCEDURE
procedureElements contains the description of the procedure. | final public void | procedureParameterDefinition(Vector[] list) | final public Object[] | procedureParameterList() | final public Properties | propertyList(boolean propertiesUseAllowed) | final public TableOperatorNode | qualifiedJoin(ResultSetNode leftRSN, boolean nestedInParens) | final public TableName | qualifiedName(int id_length_limit) | final public TableName | qualifiedName(int nodeType, int id_length_limit) | final public void | qualifiedNameElement(Vector list, int id_length_limit) | final public void | qualifiedNameList(Vector list, int id_length_limit) | final public int | quantifier(int opType) | final public ResultSetNode | queryExpression(ResultSetNode leftSide, int operatorType) | final public ResultSetNode | querySpecification() | final public TableName | referencedTableAndColumns(ResultColumnList rcl) | final public TableName | referencesSpecification(ResultColumnList rcl, int[] refActions) | final public ConstraintDefinitionNode | referentialConstraintDefinition(TableName constraintName) | final public void | referentialTriggeredAction(int[] refActions) | final public ValueNode | remainingNegatablePredicate(ValueNode leftOperand, boolean inSelectClause) | final public ValueNode | remainingNonNegatablePredicate(ValueNode leftOperand, boolean inSelectClause) | final public ValueNode | remainingPredicate(ValueNode value, boolean inSelectClause) | final public QueryTreeNode | renameIndexStatement() | final public QueryTreeNode | renameTableStatement() | final public String | reservedKeyword() | final public QueryTreeNode | revokeStatement() | final public RoutineDesignator | routineDesignator() | final public void | routineElement(boolean isProcedure, Object[] routineElements) | final public QueryTreeNode | routineGrantStatement() | final public ValueNode | routineInvocation() | final public QueryTreeNode | routineRevokeStatement() | final public Boolean | rowOrStatement() | final public ResultSetNode | rowValueConstructor(ResultSetNode leftRSN) | final public void | rowValueConstructorElement(ResultColumnList resultColumns) | final public void | rowValueConstructorList(ResultColumnList resultColumns) | final public QueryTreeNode | savepointStatement() | final public void | savepointStatementClause(Object[] savepointStatementClauses) | final public int | scale() | final public QueryTreeNode | schemaDefinition() | final public void | selectColumnList(ResultColumnList resultColumns) | final public ResultColumnList | selectList() | final public void | selectSublist(ResultColumnList resultColumns) | final public void | setClause(ResultColumnList columnList) | final public ResultColumnList | setClauseList() | final void | setCompilerContext(CompilerContext cc) | final public void | setIsolationHeader() | final public TransactionStatementNode | setIsolationStatement() | final public QueryTreeNode | setMessageLocaleStatement() | final public boolean | setQuantifier() | final public void | setSchemaHeader() | final public QueryTreeNode | setSchemaStatement() | final public QueryTreeNode | setSchemaValues() | final public String | sign() | final public ResultSetNode | simpleTable() | final public ValueNode | simpleValueSpecification() | final public void | some() | final public OrderByColumn | sortKey() | final public void | sortSpecification(OrderByList orderCols) | final public OrderByList | sortSpecificationList() | final public QueryTreeNode | spsAlterStatement() | final public QueryTreeNode | spsRenameStatement() | final public QueryTreeNode | spsSetStatement() | final public ValueNode | staticClassFieldReference(String javaClassName) | final public ValueNode | staticClassReference() | final public ValueNode | staticClassReferenceType(String javaClassName) | final public ValueNode | staticMethodInvocation(String javaClassName) | final public MethodCallNode | staticMethodName(String javaClassName) | final public String | string() | final public CharConstantNode | stringLiteral() | final public SubqueryNode | subquery(int subqueryType, ValueNode leftOperand) | final public QueryTreeNode | synonymDefinition() | final public void | tableAction(TablePrivilegesNode tablePrivilegesNode) | final public TablePrivilegesNode | tableActions() | final public ConstraintDefinitionNode | tableConstraint(TableName constraintName) | final public TableElementNode | tableConstraintDefinition() | final public QueryTreeNode | tableDefinition() | final public void | tableElement(TableElementList tableElementList) | final public TableElementList | tableElementList() | final public SelectNode | tableExpression(ResultColumnList selectList) | final public QueryTreeNode | tableGrantStatement() | final public boolean | tableOrIndex() | final public PrivilegeNode | tablePrivileges() | final public FromTable | tableReference(boolean nestedInParens) | final public FromTable | tableReferenceTypes(boolean nestedInParens) | final public QueryTreeNode | tableRevokeStatement() | final public SubqueryNode | tableSubquery(int subqueryType, ValueNode leftOperand) | final public ResultSetNode | tableValueConstructor() | final public ResultSetNode | tableValueConstructorList() | final public QueryTreeNode | targetTable() | final public ValueNode | thenElseExpression() | final public ValueNode | timestampArithmeticFuncion() | final public ValueNode | timestampFunctionCompletion(ValueNode firstArg) | final public TransactionStatementNode | transactionMode() | final public QueryTreeNode | triggerDefinition() | final public int | triggerEvent(ResultColumnList rcl) | final public Vector | triggerReferencingClause() | final public void | triggerReferencingExpression(Vector vector) | final public ValueNode | trimFunction() | final public Integer | trimType() | final public QueryTreeNode | truncateTableStatement() | final public int | uint_value() | final public ValueNode | unaryExpression(ValueNode farLeftOperand, int multiplicativeOperator, boolean inSelectClause) | final public ResultSetNode | unionOrExcept(ResultSetNode term) | final public Boolean | unique() | final public ResultColumnList | uniqueColumnList() | final public ConstraintDefinitionNode | uniqueConstraintDefinition(TableName constraintName) | final public int | uniqueSpecification(DataTypeDescriptor dataTypeDescriptor, String columnName) | final public QueryTreeNode | updateBody() | final public int | updateReferentialAction() | final public int | updateRule() | final public ValueNode | updateSource(String columnName) | final public ValueNode | userNode() | final public ValueNode | valueExpression(boolean inSelectClause) | final public ValueNode | valueExpressionPrimary(boolean inSelectClause) | final public ValueNode | valueSpecification() | final public ResultColumnList | viewColumnList() | final public QueryTreeNode | viewDefinition(Token beginToken) | final public ValueNode | whenThenExpression() | final public ValueNode | whereClause(Token beginToken) | final public void | xmlDocOrContent() | final public ValueNode | xmlFunction() | final public ValueNode | xmlParseValue() | final public short | xmlPassingMechanism() | final public boolean | xmlPreserveWhitespace() | final public ValueNode | xmlQueryValue(boolean existsOnly) | final public DataTypeDescriptor | xmlSerializeTargetType() | final public ValueNode | xmlSerializeValue() | final public short | xqEmptyHandlingClause() | final public short | xqReturningClause() | final public ValueNode | xqVarList() xqVarList
Parse a list of XML query variables, which can include at most one
XML value to be used as the "context item" for the query. | final public void | xqVariable(ValueNode[] xmlVal) xqVariable
Parse an XML query variable. |
DEFAULT_INDEX_TYPE | final static String DEFAULT_INDEX_TYPE(Code) | | |
explicitNotNull | boolean explicitNotNull(Code) | | |
explicitNull | boolean explicitNull(Code) | | |
explicitlyNullableColumnsList | Vector explicitlyNullableColumnsList(Code) | | |
lookingAhead | public boolean lookingAhead(Code) | | |
caseSensitiveIdentifierPlusReservedWords | final public String caseSensitiveIdentifierPlusReservedWords() throws ParseException(Code) | | |
checkRequiredRoutineClause | void checkRequiredRoutineClause(int[] required, Object[] clauses) throws StandardException(Code) | | Check to see if the required claues have been added
to a procedure or function defintion.
Parameters: required - int array of require clauses Parameters: clauses - the array of declared clauses. |
commonDatatypeName | boolean commonDatatypeName(boolean checkFollowingToken)(Code) | | Determine whether the next sequence of tokens represents one of
the common (built-in) datatypes.
TRUE iff the next set of tokens names a common datatype |
disable_tracing | final public void disable_tracing()(Code) | | |
enable_tracing | final public void enable_tracing()(Code) | | |
functionDefinition | final public QueryTreeNode functionDefinition() throws ParseException, StandardException(Code) | | CREATE FUNCTION
functionElements contains the description of the function.
0 - Object[] 3 element array for parameters
1 - TableName - specific name
2 - Integer - dynamic result set count - always 0
3 - String language (always java) - required to be set
4 - String external name (also passed directly to create alias node - ignore
5 - Short parameter style (always java) - required to be set
6 - Short - SQL allowed.
7 - Boolean - CALLED ON NULL INPUT
8 - TypeDescriptor - return type
|
getCreateAliasNode | QueryTreeNode getCreateAliasNode(Object aliasName, String fullStaticMethodName, Object aliasSpecificInfo, char aliasType, Boolean delimitedIdentifier) throws StandardException(Code) | | Get one of the several types of create alias nodes.
Parameters: aliasName - The name of the alias Parameters: fullStaticMethodName - The full path/method name Parameters: aliasSpecificInfo - Information specific to the type of alias being created. Parameters: aliasType - The type of alias to create Parameters: delimitedIdentifier - Whether or not to treat the class nameas a delimited identifier if trying toresolve it as a class alias. A CreateAliasNode matching the given parameters exception: StandardException - Thrown on error |
initUnnamedParameterList | void initUnnamedParameterList()(Code) | | Initializes the list of unnamed parameters, i.e., "?" parameters
Usually, this routine just gets an empty list for the unnamed parameters.
|
javaClassFollows | boolean javaClassFollows()(Code) | | Determine whether the next sequence of tokens is a class name
TRUE iff the next set of tokens is the java class name |
lookupUnnamedParameter | ParameterNode lookupUnnamedParameter(int paramNumber)(Code) | | Looks up an unnamed parameter given its parameter number.
Parameters: paramNumber - Number of parameter in unnamedparameter list. corresponding unnamed parameter. |
procedureDefinition | final public QueryTreeNode procedureDefinition() throws ParseException, StandardException(Code) | | CREATE PROCEDURE
procedureElements contains the description of the procedure.
(CREATE FUNCTIONS shares this lyout), see functionDefinition
0 - Object[] 3 element array for parameters
1 - TableName - specific name
2 - Integer - dynamic result set count
3 - String language (always java) - ignore
4 - String external name (also passed directly to create alias node - ignore
5 - Short parameter style (always java) - ignore
6 - Short - SQL allowed.
7 - Boolean - CALLED ON NULL INPUT (always TRUE for procedures)
8 - TypeDescriptor - return type (always NULL for procedures)
|
xqVarList | final public ValueNode xqVarList() throws ParseException, StandardException(Code) | | xqVarList
Parse a list of XML query variables, which can include at most one
XML value to be used as the "context item" for the query. If
such a context item was found, return that item; for all other
variable declarations we currently throw a "not supported" error
because Xalan doesn't allowing binding of variables.
|
xqVariable | final public void xqVariable(ValueNode[] xmlVal) throws ParseException, StandardException(Code) | | xqVariable
Parse an XML query variable. If the argument is an XML value
to be used as the "context item" for a query, then store the
value in the first slot of the received ValueNode array;
otherwise, throw a "not supported" errror (for now).
|
|
|