|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eigenbase.util.mapping.Mappings
public abstract class Mappings
Utility functions related to mappings.
MappingType
,
Mappings.FunctionMapping
,
Permutation
Nested Class Summary | |
---|---|
static class |
Mappings.AbstractMapping
|
static class |
Mappings.FiniteAbstractMapping
|
static interface |
Mappings.FunctionMapping
Mapping where every source has a target. |
(package private) static class |
Mappings.FunctionMappingIter
|
static class |
Mappings.IdentityMapping
|
private static class |
Mappings.InverseMapping
Decorator which converts any Mapping into the inverse of itself. |
static class |
Mappings.NoElementException
Thrown when a mapping is expected to return one element but returns none. |
static class |
Mappings.OverridingSourceMapping
|
static class |
Mappings.OverridingTargetMapping
|
private static class |
Mappings.PartialFunctionImpl
Implementation of Mapping where a source can have at most one
target, and a target can have any number of sources. |
static class |
Mappings.PartialMapping
A mapping where a source at most one target, and every target has at most one source. |
static interface |
Mappings.SourceMapping
Mapping suitable for sourcing columns. |
(package private) static class |
Mappings.SurjectionWithInverse
A surjection with inverse has precisely one source for each target. |
static interface |
Mappings.TargetMapping
Mapping suitable for mapping columns to a target. |
static class |
Mappings.TooManyElementsException
Thrown when a mapping is expected to return one element but returns several. |
Constructor Summary | |
---|---|
private |
Mappings()
|
Method Summary | |
---|---|
static Mapping |
create(MappingType mappingType,
int sourceCount,
int targetCount)
Creates a mapping with required properties. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
private Mappings()
Method Detail |
---|
public static Mapping create(MappingType mappingType, int sourceCount, int targetCount)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |