net.sf.farrago.namespace.ftrs
Class FtrsDataServer.FtrsColumnMetadata
java.lang.Object
net.sf.farrago.namespace.impl.MedAbstractColumnMetadata
net.sf.farrago.namespace.ftrs.FtrsDataServer.FtrsColumnMetadata
- Enclosing class:
- FtrsDataServer
private static class FtrsDataServer.FtrsColumnMetadata
- extends MedAbstractColumnMetadata
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FtrsDataServer.FtrsColumnMetadata
private FtrsDataServer.FtrsColumnMetadata()
mapColumnToField
protected int mapColumnToField(RelNode rel,
FemAbstractColumn keyCol)
- Description copied from class:
MedAbstractColumnMetadata
- Maps a FemAbstractColumn to its corresponding field reference in the
RelNode.
- Specified by:
mapColumnToField
in class MedAbstractColumnMetadata
- Parameters:
rel
- RelNode corresponding to the columnkeyCol
- the column whose field ordinal will be returned
- Returns:
- field ordinal relative to the RelNode; -1 if the column is not
accessed by the RelNode
mapFieldToColumnOrdinal
protected int mapFieldToColumnOrdinal(RelNode rel,
int fieldNo)
- Description copied from class:
MedAbstractColumnMetadata
- Maps a field reference to the underlying column ordinal corresponding to
the FemAbstractColumn representing the column.
- Specified by:
mapFieldToColumnOrdinal
in class MedAbstractColumnMetadata
- Parameters:
rel
- RelNode corresponding to the columnfieldNo
- the ordinal of the field reference
- Returns:
- column ordinal of the underlying FemAbstractColumn; -1 if the
column does not map to actual FemAbstractColumn
mapFieldToColumn
protected FemAbstractColumn mapFieldToColumn(RelNode rel,
int fieldNo)
- Description copied from class:
MedAbstractColumnMetadata
- Maps a field reference to its underlying FemAbstractColumn
- Specified by:
mapFieldToColumn
in class MedAbstractColumnMetadata
- Parameters:
rel
- RelNode corresponding to the fieldfieldNo
- the ordinal of the field reference
- Returns:
- underlying FemAbstractColumn; null if no underlying
FemAbstractColumn