org.eigenbase.util.mapping
Interface Mappings.SourceMapping

All Known Subinterfaces:
Mapping
All Known Implementing Classes:
Mappings.AbstractMapping, Mappings.FiniteAbstractMapping, Mappings.IdentityMapping, Mappings.InverseMapping, Mappings.OverridingSourceMapping, Mappings.OverridingTargetMapping, Mappings.PartialFunctionImpl, Mappings.PartialMapping, Mappings.SurjectionWithInverse, Permutation
Enclosing class:
Mappings

public static interface Mappings.SourceMapping

Mapping suitable for sourcing columns.

Properties:

TODO: figure out which interfaces this should extend


Method Summary
 MappingType getMappingType()
           
 int getSource(int target)
           
 int getSourceCount()
           
 int getSourceOpt(int target)
           
 int getTargetCount()
           
 int getTargetOpt(int source)
           
 Mapping inverse()
           
 boolean isIdentity()
           
 

Method Detail

getSourceCount

int getSourceCount()

getSource

int getSource(int target)

getSourceOpt

int getSourceOpt(int target)

getTargetCount

int getTargetCount()

getTargetOpt

int getTargetOpt(int source)

getMappingType

MappingType getMappingType()

isIdentity

boolean isIdentity()

inverse

Mapping inverse()