org.eigenbase.util.mapping
Interface Mappings.TargetMapping

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.TargetMapping

Mapping suitable for mapping columns to a target.

Properties:

TODO: figure out which interfaces this should extend


Method Summary
 MappingType getMappingType()
           
 int getSourceCount()
           
 int getSourceOpt(int target)
           
 int getTarget(int target)
           
 int getTargetCount()
           
 int getTargetOpt(int source)
           
 Mapping inverse()
           
 void set(int source, int target)
           
 

Method Detail

getSourceCount

int getSourceCount()

getSourceOpt

int getSourceOpt(int target)

getTargetCount

int getTargetCount()

getTarget

int getTarget(int target)

getTargetOpt

int getTargetOpt(int source)

set

void set(int source,
         int target)

getMappingType

MappingType getMappingType()

inverse

Mapping inverse()