public final class TableMappingSelector<ST extends SourceTable<?,?>,TT extends TargetTable<?,?>> extends Object
TableMapping
in a MappingSpec
.MappingSpec.getTableMappings()
Modifier and Type | Method and Description |
---|---|
static <ST extends SourceTable<?,?>,TT extends TargetTable<?,?>> |
atIndex(int index)
Selects the table mapping at the specified index.
|
static <ST extends SourceTable<?,?>,TT extends TargetTable<?,?>> |
first()
Selects the first table mapping.
|
static <ST extends SourceTable<?,?>,TT extends TargetTable<?,?>> |
where(java.util.function.Predicate<ST> sourceCriteria,
java.util.function.Predicate<TT> targetCriteria)
Selects the first table mapping that meets the criteria of both the source table and the target table.
|
static <ST extends SourceTable<?,?>,TT extends TargetTable<?,?>> |
whereSource(java.util.function.Predicate<ST> criteria)
Selects the first table mapping that meets the criteria of the source table only.
|
static <ST extends SourceTable<?,?>,TT extends TargetTable<?,?>> |
whereTarget(java.util.function.Predicate<TT> criteria)
Selects the first table mapping that meets the criteria of the target table only.
|
public static <ST extends SourceTable<?,?>,TT extends TargetTable<?,?>> TableMappingSelector<ST,TT> first()
public static <ST extends SourceTable<?,?>,TT extends TargetTable<?,?>> TableMappingSelector<ST,TT> atIndex(int index)
public static <ST extends SourceTable<?,?>,TT extends TargetTable<?,?>> TableMappingSelector<ST,TT> whereSource(java.util.function.Predicate<ST> criteria)
SourceTable
public static <ST extends SourceTable<?,?>,TT extends TargetTable<?,?>> TableMappingSelector<ST,TT> whereTarget(java.util.function.Predicate<TT> criteria)
TargetTable
public static <ST extends SourceTable<?,?>,TT extends TargetTable<?,?>> TableMappingSelector<ST,TT> where(java.util.function.Predicate<ST> sourceCriteria, java.util.function.Predicate<TT> targetCriteria)
SourceTable
,
TargetTable