Package org.apache.calcite.rel.type
Interface RelDataTypeFactory.FieldInfo
- All Known Implementing Classes:
RelDataTypeFactory.FieldInfoBuilder
- Enclosing interface:
- RelDataTypeFactory
Deprecated.
Callback that provides enough information to create fields.
-
Method Summary
Modifier and TypeMethodDescriptionint
Deprecated.Returns the number of fields.getFieldName
(int index) Deprecated.Returns the name of a given field.getFieldType
(int index) Deprecated.Returns the type of a given field.
-
Method Details
-
getFieldCount
int getFieldCount()Deprecated.Returns the number of fields.- Returns:
- number of fields
-
getFieldName
Deprecated.Returns the name of a given field.- Parameters:
index
- Ordinal of field- Returns:
- Name of given field
-
getFieldType
Deprecated.Returns the type of a given field.- Parameters:
index
- Ordinal of field- Returns:
- Type of given field
-