Package org.apache.calcite.sql
Class SqlArrayWithAngleBracketsNameSpec
java.lang.Object
org.apache.calcite.sql.SqlTypeNameSpec
org.apache.calcite.sql.SqlCollectionTypeNameSpec
org.apache.calcite.sql.SqlArrayWithAngleBracketsNameSpec
A SqlArrayWithAngleBracketsNameSpec to parse or unparse SQL ARRAY type to
ARRAY<VARCHAR>.-
Constructor Summary
ConstructorsConstructorDescriptionSqlArrayWithAngleBracketsNameSpec(SqlTypeNameSpec elementTypeName, SqlTypeName collectionTypeName, SqlParserPos pos) Creates aSqlArrayWithAngleBracketsNameSpec. -
Method Summary
Methods inherited from class org.apache.calcite.sql.SqlCollectionTypeNameSpec
deriveType, equalsDeep, getElementTypeNameMethods inherited from class org.apache.calcite.sql.SqlTypeNameSpec
getParserPos, getTypeName
-
Constructor Details
-
SqlArrayWithAngleBracketsNameSpec
public SqlArrayWithAngleBracketsNameSpec(SqlTypeNameSpec elementTypeName, SqlTypeName collectionTypeName, SqlParserPos pos) Creates aSqlArrayWithAngleBracketsNameSpec.- Parameters:
elementTypeName- Type of the collection elementcollectionTypeName- Collection type namepos- Parser position, must not be null
-
-
Method Details
-
unparse
Description copied from class:SqlTypeNameSpecWrites a SQL representation of this spec to a writer.- Overrides:
unparsein classSqlCollectionTypeNameSpec
-