Interface | Description |
---|---|
Mapping |
A Mapping is a relationship between a source domain to target
domain of integers.
|
Mappings.CoreMapping |
Core interface of all mappings.
|
Mappings.FunctionMapping |
Mapping where every source has a target.
|
Mappings.SourceMapping |
Mapping suitable for sourcing columns.
|
Mappings.TargetMapping |
Mapping suitable for mapping columns to a target.
|
Class | Description |
---|---|
AbstractSourceMapping |
Simple implementation of
Mappings.TargetMapping where the
number of sources and targets are specified as constructor parameters and you
just need to implement one method, |
AbstractTargetMapping |
Simple implementation of
Mappings.TargetMapping where the
number of sources and targets are specified as constructor parameters and you
just need to implement one method, |
IntPair |
An immutable pair of integers.
|
Mappings |
Utility functions related to mappings.
|
Mappings.AbstractMapping |
Abstract implementation of
Mapping . |
Mappings.FiniteAbstractMapping |
Abstract implementation of mapping where both source and target
domains are finite.
|
Mappings.FunctionMappingIter |
Iterator that yields the (source, target) values in a
Mappings.FunctionMapping . |
Mappings.IdentityMapping |
The identity mapping, of a given size, or infinite.
|
Mappings.InverseMapping |
Decorator which converts any
Mapping into the inverse of itself. |
Mappings.OverridingSourceMapping |
Source mapping that returns the same result as a parent
Mappings.SourceMapping except for specific overriding elements. |
Mappings.OverridingTargetMapping |
Target mapping that returns the same result as a parent
Mappings.TargetMapping except for specific overriding elements. |
Mappings.PartialFunctionImpl |
Implementation of
Mapping where a source can have at most one
target, and a target can have any number of sources. |
Mappings.PartialMapping |
A mapping where a source has at most one target, and every target has at
most one source.
|
Mappings.SurjectionWithInverse |
A surjection with inverse has precisely one source for each target.
|
Enum | Description |
---|---|
MappingType |
Describes the type of a mapping, from the most general
MappingType.MULTI_FUNCTION (every element in the source and target domain can
participate in many mappings) to the most retricted MappingType.BIJECTION (every
element in the source and target domain must be paired with precisely one
element in the other domain). |
Exception | Description |
---|---|
Mappings.NoElementException |
Thrown when a mapping is expected to return one element but returns none.
|
Mappings.TooManyElementsException |
Thrown when a mapping is expected to return one element but returns
several.
|
Copyright © 2012–2019 The Apache Software Foundation. All rights reserved.