| Constructor and Description |
|---|
View.FieldType(String name,
org.apache.calcite.rel.type.RelDataType dataType) |
View.FieldType(String name,
org.apache.calcite.sql.type.SqlTypeName type,
Integer precision,
Integer scale,
org.apache.calcite.avatica.util.TimeUnit startUnit,
org.apache.calcite.avatica.util.TimeUnit endUnit,
Integer fractionalSecondPrecision,
Boolean isNullable) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.calcite.avatica.util.TimeUnit |
getEndUnit()
Gets the time range end unit of the type qualifier of the interval data
type descriptor of this field (iff interval type).
|
Integer |
getFractionalSecondPrecision()
Gets the fractional second precision of the type qualifier of the interval
data type descriptor of this field (iff interval type).
|
org.apache.calcite.sql.SqlIntervalQualifier |
getIntervalQualifier()
Gets the interval type qualifier of the interval data type descriptor of
this field (iff interval type).
|
Boolean |
getIsNullable()
Gets the nullability of the data type desription of this field.
|
String |
getName()
Gets the name of this field.
|
Integer |
getPrecision()
Gets the precision of the data type descriptor of this field.
|
Integer |
getScale()
Gets the numeric scale of the data type descriptor of this field,
for numeric types.
|
org.apache.calcite.avatica.util.TimeUnit |
getStartUnit()
Gets the time range start unit of the type qualifier of the interval data
type descriptor of this field (iff interval type).
|
org.apache.calcite.sql.type.SqlTypeName |
getType()
Gets the data type of this field.
|
public View.FieldType(String name, org.apache.calcite.sql.type.SqlTypeName type, Integer precision, Integer scale, org.apache.calcite.avatica.util.TimeUnit startUnit, org.apache.calcite.avatica.util.TimeUnit endUnit, Integer fractionalSecondPrecision, Boolean isNullable)
public View.FieldType(String name, org.apache.calcite.rel.type.RelDataType dataType)
public String getName()
public org.apache.calcite.sql.type.SqlTypeName getType()
public Integer getPrecision()
public Integer getScale()
public org.apache.calcite.sql.SqlIntervalQualifier getIntervalQualifier()
public org.apache.calcite.avatica.util.TimeUnit getStartUnit()
public org.apache.calcite.avatica.util.TimeUnit getEndUnit()
public Integer getFractionalSecondPrecision()
public Boolean getIsNullable()
Copyright © 2017 The Apache Software Foundation. All rights reserved.