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:
- It has a finite number of sources and targets
- Each target has exactly one source
- Each source has at most one target
TODO: figure out which interfaces this should extend
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()