/** * Parses a compound identifier with optional type. */ final public void CompoundIdentifierType(List<SqlNode> list, List<SqlNode> extendList) throws ParseException { final SqlIdentifier name; SqlDataTypeSpec type = null; boolean nullable = true; name = CompoundIdentifier(); if (jj_2_154(2)) { type = DataType(); if (!this.conformance.allowExtend()) { {if (true) throw new ParseException(RESOURCE.extendNotAllowed().str());} } if (jj_2_153(2)) { jj_consume_token(NOT); jj_consume_token(NULL); nullable = false; } else { ; } } else { ; } if (type != null) { extendList.add(name); extendList.add(type.withNullable(nullable)); } list.add(name); }
/** * Parses a compound identifier with optional type. */ final public void CompoundIdentifierType(List<SqlNode> list, List<SqlNode> extendList) throws ParseException { final SqlIdentifier name; SqlDataTypeSpec type = null; boolean nullable = true; name = CompoundIdentifier(); if (jj_2_154(2)) { type = DataType(); if (!this.conformance.allowExtend()) { {if (true) throw new ParseException(RESOURCE.extendNotAllowed().str());} } if (jj_2_153(2)) { jj_consume_token(NOT); jj_consume_token(NULL); nullable = false; } else { ; } } else { ; } if (type != null) { extendList.add(name); extendList.add(type.withNullable(nullable)); } list.add(name); }
|| rate.compareTo(ONE_HUNDRED) > 0) {if (true) throw new ParseException(RESOURCE.invalidSampleSize().str());}
count = UnsignedNumericLiteralOrParam(); if (!this.conformance.isLimitStartCountAllowed()) { {if (true) throw new ParseException(RESOURCE.limitStartCountNotAllowed().str());}
jj_consume_token(SET_MINUS); if (!this.conformance.isMinusAllowed()) { {if (true) throw new ParseException(RESOURCE.minusNotAllowed().str());}
jj_consume_token(NE2); if (!this.conformance.isBangEqualAllowed()) { {if (true) throw new ParseException(RESOURCE.bangEqualNotAllowed().str());}
/** * Parses a compound identifier with optional type. */ final public void CompoundIdentifierType(List<SqlNode> list, List<SqlNode> extendList) throws ParseException {final SqlIdentifier name; SqlDataTypeSpec type = null; boolean nullable = true; name = CompoundIdentifier(); if (jj_2_156(2)) { type = DataType(); if (!this.conformance.allowExtend()) { {if (true) throw new ParseException(RESOURCE.extendNotAllowed().str());} } if (jj_2_155(2)) { jj_consume_token(NOT); jj_consume_token(NULL); nullable = false; } else { ; } } else { ; } if (type != null) { extendList.add(name); extendList.add(type.withNullable(nullable)); } list.add(name); }
|| rate.compareTo(ONE_HUNDRED) > 0) {if (true) throw new ParseException(RESOURCE.invalidSampleSize().str());}
jj_consume_token(NE2); if (!this.conformance.isBangEqualAllowed()) { {if (true) throw new ParseException(RESOURCE.bangEqualNotAllowed().str());} jj_consume_token(PERCENT_REMAINDER); if (!this.conformance.isPercentRemainderAllowed()) { {if (true) throw new ParseException(RESOURCE.percentRemainderNotAllowed().str());}
jj_consume_token(GEOMETRY); if (!this.conformance.allowGeometry()) { {if (true) throw new ParseException(RESOURCE.geometryDisabled().str());}
count = UnsignedNumericLiteral(); if (!this.conformance.isLimitStartCountAllowed()) { {if (true) throw new ParseException(RESOURCE.limitStartCountNotAllowed().str());}
jj_consume_token(GEOMETRY); if (!this.conformance.allowGeometry()) { {if (true) throw new ParseException(RESOURCE.geometryDisabled().str());}
count = UnsignedNumericLiteral(); if (!this.conformance.isLimitStartCountAllowed()) { {if (true) throw new ParseException(RESOURCE.limitStartCountNotAllowed().str());}
jj_consume_token(NE2); if (!this.conformance.isBangEqualAllowed()) { {if (true) throw new ParseException(RESOURCE.bangEqualNotAllowed().str());} jj_consume_token(PERCENT_REMAINDER); if (!this.conformance.isPercentRemainderAllowed()) { {if (true) throw new ParseException(RESOURCE.percentRemainderNotAllowed().str());}
jj_consume_token(SET_MINUS); if (!this.conformance.isMinusAllowed()) { {if (true) throw new ParseException(RESOURCE.minusNotAllowed().str());}
jj_consume_token(SET_MINUS); if (!this.conformance.isMinusAllowed()) { {if (true) throw new ParseException(RESOURCE.minusNotAllowed().str());}
jj_consume_token(NE2); if (!this.conformance.isBangEqualAllowed()) { {if (true) throw new ParseException(RESOURCE.bangEqualNotAllowed().str());}
jj_consume_token(NE2); if (!this.conformance.isBangEqualAllowed()) { {if (true) throw new ParseException(RESOURCE.bangEqualNotAllowed().str());}