T - Transformed typeE - Extracted typepublic class Transform<T,E>
extends java.lang.Object
| Constructor and Description |
|---|
Transform(ETLContext context,
java.lang.Class<T> cls) |
| Modifier and Type | Method and Description |
|---|---|
Transform<T,E> |
addPrimaryKey(PrimaryKey key,
E e) |
void |
checkpoint(E extraction,
T t) |
T |
computeIfAbsent(PrimaryKey key) |
T |
computeIfAbsent(PrimaryKey key,
java.util.function.Consumer<T> consumer) |
java.util.Collection<net.e6tech.elements.common.util.datastructure.Pair<PrimaryKey,E>> |
entries() |
Transform<T,E> |
forEachCreateIfNotExist(java.util.function.BiConsumer<E,T> consumer) |
java.util.Set<PrimaryKey> |
keys() |
java.util.Set<PrimaryKey> |
keySet() |
Transform<T,E> |
load() |
Transform<T,E> |
put(PrimaryKey key,
T t) |
int |
size() |
java.util.Collection<T> |
values() |
public Transform(ETLContext context, java.lang.Class<T> cls)
public Transform<T,E> addPrimaryKey(PrimaryKey key, E e)
public java.util.Set<PrimaryKey> keys()
public java.util.Collection<net.e6tech.elements.common.util.datastructure.Pair<PrimaryKey,E>> entries()
public Transform<T,E> put(PrimaryKey key, T t)
public T computeIfAbsent(PrimaryKey key)
public T computeIfAbsent(PrimaryKey key, java.util.function.Consumer<T> consumer)
public Transform<T,E> forEachCreateIfNotExist(java.util.function.BiConsumer<E,T> consumer)
public java.util.Collection<T> values()
public java.util.Set<PrimaryKey> keySet()
public int size()