org.eigenbase.reltype
Interface RelDataTypeFactory.FieldInfo

All Known Implementing Classes:
RelDataTypeFactory.ListFieldInfo
Enclosing interface:
RelDataTypeFactory

public static interface RelDataTypeFactory.FieldInfo

Callback which provides enough information to create fields.


Method Summary
 int getFieldCount()
          Returns the number of fields.
 String getFieldName(int index)
          Returns the name of a given field.
 RelDataType getFieldType(int index)
          Returns the type of a given field.
 

Method Detail

getFieldCount

int getFieldCount()
Returns the number of fields.

Returns:
number of fields

getFieldName

String getFieldName(int index)
Returns the name of a given field.

Parameters:
index - Ordinal of field
Returns:
Name of given field

getFieldType

RelDataType getFieldType(int index)
Returns the type of a given field.

Parameters:
index - Ordinal of field
Returns:
Type of given field