public class SqlMapTypeNameSpec
extends org.apache.calcite.sql.SqlTypeNameSpec
MAP type does not belong to standard SQL.
Constructor and Description |
---|
SqlMapTypeNameSpec(org.apache.calcite.sql.SqlDataTypeSpec keyType,
org.apache.calcite.sql.SqlDataTypeSpec valType,
org.apache.calcite.sql.parser.SqlParserPos pos)
Creates a
SqlMapTypeNameSpec . |
Modifier and Type | Method and Description |
---|---|
org.apache.calcite.rel.type.RelDataType |
deriveType(org.apache.calcite.sql.validate.SqlValidator validator) |
boolean |
equalsDeep(org.apache.calcite.sql.SqlTypeNameSpec spec,
org.apache.calcite.util.Litmus litmus) |
org.apache.calcite.sql.SqlDataTypeSpec |
getKeyType() |
org.apache.calcite.sql.SqlDataTypeSpec |
getValType() |
void |
unparse(org.apache.calcite.sql.SqlWriter writer,
int leftPrec,
int rightPrec) |
public SqlMapTypeNameSpec(org.apache.calcite.sql.SqlDataTypeSpec keyType, org.apache.calcite.sql.SqlDataTypeSpec valType, org.apache.calcite.sql.parser.SqlParserPos pos)
SqlMapTypeNameSpec
.keyType
- key typevalType
- value typepos
- the parser positionpublic org.apache.calcite.sql.SqlDataTypeSpec getKeyType()
public org.apache.calcite.sql.SqlDataTypeSpec getValType()
public org.apache.calcite.rel.type.RelDataType deriveType(org.apache.calcite.sql.validate.SqlValidator validator)
deriveType
in class org.apache.calcite.sql.SqlTypeNameSpec
public void unparse(org.apache.calcite.sql.SqlWriter writer, int leftPrec, int rightPrec)
unparse
in class org.apache.calcite.sql.SqlTypeNameSpec
public boolean equalsDeep(org.apache.calcite.sql.SqlTypeNameSpec spec, org.apache.calcite.util.Litmus litmus)
equalsDeep
in class org.apache.calcite.sql.SqlTypeNameSpec
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.