Package org.apache.derby.impl.sql.compile

Examples of org.apache.derby.impl.sql.compile.Token


/*
* <A NAME="uint_value">uint_value</A>
*/
  final public int uint_value() throws ParseException, StandardException {
        Token uintToken;
    /*
        because the parser won't match to UINT, we use EXACT_NUMERIC.
       */
            uintToken = jj_consume_token(EXACT_NUMERIC);
                try {
View Full Code Here


/*
* <A NAME="datetimeType">datetimeType</A>
*/
  final public DataTypeDescriptor datetimeType() throws ParseException, StandardException {
        Token tzTok = null;
        int prec = -1;
    switch (jj_nt.kind) {
    case DATE:
      jj_consume_token(DATE);
                {if (true) return DataTypeDescriptor.getBuiltInDataTypeDescriptor(Types.DATE);}
View Full Code Here

/*
* <A NAME="unionOrExcept">unionOrExcept</A>
*/
  final public ResultSetNode unionOrExcept(ResultSetNode term) throws ParseException, StandardException {
        ResultSetNode   expression;
        Token                   tok = null;
    switch (jj_nt.kind) {
    case UNION:
      jj_consume_token(UNION);
      switch (jj_nt.kind) {
      case ALL:
View Full Code Here

/*
* <A NAME="intersect">intersect</A>
*/
  final public ResultSetNode intersect(ResultSetNode term) throws ParseException, StandardException {
        ResultSetNode   expression;
        Token                   tok = null;
    jj_consume_token(INTERSECT);
    switch (jj_nt.kind) {
    case ALL:
    case DISTINCT:
      switch (jj_nt.kind) {
View Full Code Here

*
* @param inSelectClause will be true if this method got called while parsing the select or values clause
* If in select or values clause, we do not want to allow boolean values.
*/
  final public ValueNode andExpression(ValueNode farLeftOperand, boolean inSelectClause) throws ParseException, StandardException {
        Token           tok = null;
        ValueNode       test;
    if (getToken(1).kind == NOT && !(getToken(2).kind == PERIOD ||
                            getToken(2).kind == DOUBLE_COLON)) {
      tok = jj_consume_token(NOT);
    } else {
View Full Code Here

* If in select or values clause, we do not want to allow boolean values.
*/
  final public ValueNode isSearchCondition(boolean inSelectClause) throws ParseException, StandardException {
        ValueNode       result;
        ValueNode       booleanPrimary;
        Token           isToken = null;
        Token           notToken = null;
        Token           truthValue = null;
    booleanPrimary = booleanPrimary(inSelectClause);
    switch (jj_nt.kind) {
    case IS:
      isToken = jj_consume_token(IS);
      switch (jj_nt.kind) {
View Full Code Here

*
* @param inSelectClause will be true if this method got called while parsing the select or values clause
* If in select or values clause, we do not want to allow boolean values.
*/
  final public ValueNode remainingPredicate(ValueNode value, boolean inSelectClause) throws ParseException, StandardException {
        Token tok = null;
    switch (jj_nt.kind) {
    case LESS_THAN_OPERATOR:
    case LESS_THAN_OR_EQUALS_OPERATOR:
    case EQUALS_OPERATOR:
    case NOT_EQUALS_OPERATOR:
View Full Code Here

* If in select or values clause, we do not want to allow boolean values.
*/
  final public ValueNode remainingNonNegatablePredicate(ValueNode leftOperand, boolean inSelectClause) throws ParseException, StandardException {
        int                     operator;
        String          javaClassName;
        Token           tok = null;
        ValueNode       tree = null;
        ValueNode       likePattern;
        ValueNode       betweenLeft;
        ValueNode       betweenRight;
    operator = compOp();
View Full Code Here

/*
* <A NAME="additiveOperator">additiveOperator</A>
*/
  final public int additiveOperator() throws ParseException, StandardException {
        Token tok;
    switch (jj_nt.kind) {
    case PLUS_SIGN:
      tok = jj_consume_token(PLUS_SIGN);
                {if (true) return BinaryOperatorNode.PLUS;}
      break;
View Full Code Here

/*
* <A NAME="sign">sign</A>
*/
  final public String sign() throws ParseException {
        Token   s;
    switch (jj_nt.kind) {
    case PLUS_SIGN:
      s = jj_consume_token(PLUS_SIGN);
                {if (true) return s.image;}
      break;
View Full Code Here

TOP

Related Classes of org.apache.derby.impl.sql.compile.Token

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.