final public SqlIdentifier CollectionsTypeName() throws ParseException { jj_consume_token(MULTISET); {if (true) return new SqlIdentifier( SqlTypeName.MULTISET.name(), getPos());} throw new Error("Missing return statement in function"); }
final public SqlIdentifier CollectionsTypeName() throws ParseException { jj_consume_token(MULTISET); {if (true) return new SqlIdentifier( SqlTypeName.MULTISET.name(), getPos());} throw new Error("Missing return statement in function"); }
final public SqlIdentifier TypeName() throws ParseException { final SqlTypeName sqlTypeName; final SqlIdentifier typeName; final Span s = Span.of(); if (jj_2_432(2)) { sqlTypeName = SqlTypeName(s); typeName = new SqlIdentifier(sqlTypeName.name(), s.end(this)); } else if (jj_2_433(2)) { typeName = CollectionsTypeName(); } else if (jj_2_434(2)) { typeName = CompoundIdentifier(); } else { jj_consume_token(-1); throw new ParseException(); } {if (true) return typeName;} throw new Error("Missing return statement in function"); }
final public SqlIdentifier TypeName() throws ParseException { final SqlTypeName sqlTypeName; final SqlIdentifier typeName; final Span s = Span.of(); if (jj_2_432(2)) { sqlTypeName = SqlTypeName(s); typeName = new SqlIdentifier(sqlTypeName.name(), s.end(this)); } else if (jj_2_433(2)) { typeName = CollectionsTypeName(); } else if (jj_2_434(2)) { typeName = CompoundIdentifier(); } else { jj_consume_token(-1); throw new ParseException(); } {if (true) return typeName;} throw new Error("Missing return statement in function"); }
final public SqlIdentifier CollectionsTypeName() throws ParseException { jj_consume_token(MULTISET); {if ("" != null) return new SqlIdentifier( SqlTypeName.MULTISET.name(), getPos());} throw new Error("Missing return statement in function"); }
final public SqlIdentifier TypeName() throws ParseException {final SqlTypeName sqlTypeName; final SqlIdentifier typeName; final Span s = Span.of(); if (jj_2_437(2)) { sqlTypeName = SqlTypeName(s); typeName = new SqlIdentifier(sqlTypeName.name(), s.end(this)); } else if (jj_2_438(2)) { typeName = CollectionsTypeName(); } else if (jj_2_439(2)) { typeName = CompoundIdentifier(); } else { jj_consume_token(-1); throw new ParseException(); } {if ("" != null) return typeName;} throw new Error("Missing return statement in function"); }
public SqlIdentifier getSqlIdentifier() { SqlTypeName typeName = getSqlTypeName(); if (typeName == null) { return null; } return new SqlIdentifier( typeName.name(), SqlParserPos.ZERO); }
/** * Constructs a type with no parameters. This should only be called from a * factory method. * * @param typeName Type name */ public BasicSqlType(RelDataTypeSystem typeSystem, SqlTypeName typeName) { this(typeSystem, typeName, false, PRECISION_NOT_SPECIFIED, SCALE_NOT_SPECIFIED); assert typeName.allowsPrecScale(false, false) : "typeName.allowsPrecScale(false,false), typeName=" + typeName.name(); computeDigest(); }
public SqlIdentifier getSqlIdentifier() { SqlTypeName typeName = getSqlTypeName(); if (typeName == null) { return null; } return new SqlIdentifier( typeName.name(), SqlParserPos.ZERO); }
final public SqlIdentifier CollectionsTypeName() throws ParseException { jj_consume_token(MULTISET); {if (true) return new SqlIdentifier( SqlTypeName.MULTISET.name(), getPos());} throw new Error("Missing return statement in function"); }
final public SqlIdentifier CollectionsTypeName() throws ParseException { jj_consume_token(MULTISET); {if (true) return new SqlIdentifier( SqlTypeName.MULTISET.name(), getPos());} throw new Error("Missing return statement in function"); }
final public SqlIdentifier CollectionsTypeName() throws ParseException { jj_consume_token(MULTISET); {if (true) return new SqlIdentifier( SqlTypeName.MULTISET.name(), getPos());} throw new Error("Missing return statement in function"); }
final public SqlIdentifier CollectionsTypeName() throws ParseException { jj_consume_token(MULTISET); {if (true) return new SqlIdentifier( SqlTypeName.MULTISET.name(), getPos());} throw new Error("Missing return statement in function"); }
final public SqlIdentifier CollectionsTypeName() throws ParseException { jj_consume_token(MULTISET); {if (true) return new SqlIdentifier( SqlTypeName.MULTISET.name(), getPos());} throw new Error("Missing return statement in function"); }
/** Creates a parse tree node for a type identifier of this name. */ public SqlNode createDataType(SqlParserPos pos) { if (typeName != null) { assert range == null; final SqlIdentifier id = new SqlIdentifier(typeName.name(), pos); return new SqlDataTypeSpec(id, -1, -1, null, null, pos); } else { assert range != null; return new SqlIntervalQualifier(range.startUnit, range.endUnit, pos); } } }
/** Creates a parse tree node for a type identifier of this name. */ public SqlNode createDataType(SqlParserPos pos) { if (typeName != null) { assert range == null; final SqlIdentifier id = new SqlIdentifier(typeName.name(), pos); return new SqlDataTypeSpec(id, -1, -1, null, null, pos); } else { assert range != null; return new SqlIntervalQualifier(range.startUnit, range.endUnit, pos); } } }
final public SqlIdentifier CollectionsTypeName() throws ParseException { jj_consume_token(MULTISET); {if (true) return new SqlIdentifier( SqlTypeName.MULTISET.name(), getPos());} throw new Error("Missing return statement in function"); }
final public SqlIdentifier CollectionsTypeName() throws ParseException { SqlIdentifier typeName = null; SqlParserPos pos = getPos(); jj_consume_token(MULTISET); typeName = new SqlIdentifier( SqlTypeName.MULTISET.name(),pos); {if (true) return typeName;} throw new Error("Missing return statement in function"); }
final public SqlIdentifier CollectionsTypeName() throws ParseException { jj_consume_token(MULTISET); {if (true) return new SqlIdentifier( SqlTypeName.MULTISET.name(), getPos());} throw new Error("Missing return statement in function"); }
final public SqlIdentifier CollectionsTypeName() throws ParseException { SqlIdentifier typeName = null; SqlParserPos pos = getPos(); jj_consume_token(MULTISET); typeName = new SqlIdentifier( SqlTypeName.MULTISET.name(),pos); {if (true) return typeName;} throw new Error("Missing return statement in function"); }