...
Code Block | ||
---|---|---|
| ||
public interface RichFunction {
void init(RecordContext recordContext);
void close();
}
public interface ValueMapperWithKey<K, V, VR> {
/**
* Map the given value to a new value.
*
* @param value the value to be mapped
* @return the new value
*/
VR apply(final K key, final V value);
}
public interface RichValueMapper<K, V, VR> extends ValueMapperWithKey<K, V, VR>, RichFunction {
}
public interface RichKeyValueMapper<K, V, VR> extends KeyValueMapper<K, V, VR>, RichFunction {
}
|
...