public interface CustomColumnResolvingTable extends Table
Table
that specifies a custom way to resolve column
names.
It is optional for a Table to implement this interface. If Table does not implement this interface, column resolving will be performed in the default way.
NOTE: This class is experimental and subject to change/removal without notice.
Modifier and Type | Method and Description |
---|---|
java.util.List<Pair<RelDataTypeField,java.util.List<java.lang.String>>> |
resolveColumn(RelDataType rowType,
RelDataTypeFactory typeFactory,
java.util.List<java.lang.String> names)
Resolve a column based on the name components.
|
getJdbcTableType, getRowType, getStatistic, isRolledUp, rolledUpColumnValidInsideAgg
java.util.List<Pair<RelDataTypeField,java.util.List<java.lang.String>>> resolveColumn(RelDataType rowType, RelDataTypeFactory typeFactory, java.util.List<java.lang.String> names)
rowType
- the table row typetypeFactory
- the type factorynames
- the name components to be resolvedCopyright © 2012–2019 The Apache Software Foundation. All rights reserved.