public class SqlRowType extends org.apache.calcite.sql.SqlIdentifier implements ExtendedSqlType
Constructor and Description |
---|
SqlRowType(org.apache.calcite.sql.parser.SqlParserPos pos,
List<org.apache.calcite.sql.SqlIdentifier> fieldNames,
List<org.apache.calcite.sql.SqlDataTypeSpec> fieldTypes,
List<org.apache.calcite.sql.SqlCharStringLiteral> comments) |
Modifier and Type | Method and Description |
---|---|
int |
getArity() |
List<org.apache.calcite.sql.SqlCharStringLiteral> |
getComments() |
org.apache.calcite.sql.SqlIdentifier |
getFieldName(int i) |
List<org.apache.calcite.sql.SqlIdentifier> |
getFieldNames() |
org.apache.calcite.sql.SqlDataTypeSpec |
getFieldType(int i) |
List<org.apache.calcite.sql.SqlDataTypeSpec> |
getFieldTypes() |
void |
unparse(org.apache.calcite.sql.SqlWriter writer,
int leftPrec,
int rightPrec) |
accept, add, assignNamesFrom, clone, equalsDeep, getCollation, getComponent, getComponent, getComponentParserPosition, getKind, getMonotonicity, getSimple, getString, isComponentQuoted, isSimple, isStar, plus, plusStar, setName, setNames, skipLast, star, star, toStar, toString, validate, validateExpr
clone, clone, cloneArray, equalDeep, equalDeep, equalsDeep, findValidOptions, getParserPosition, isA, toSqlString, toSqlString
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
unparseType
public List<org.apache.calcite.sql.SqlIdentifier> getFieldNames()
public List<org.apache.calcite.sql.SqlDataTypeSpec> getFieldTypes()
public List<org.apache.calcite.sql.SqlCharStringLiteral> getComments()
public int getArity()
public org.apache.calcite.sql.SqlIdentifier getFieldName(int i)
public org.apache.calcite.sql.SqlDataTypeSpec getFieldType(int i)
public void unparse(org.apache.calcite.sql.SqlWriter writer, int leftPrec, int rightPrec)
unparse
in class org.apache.calcite.sql.SqlIdentifier
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.