public interface NoBatchifyTranslator<I,O> extends Translator<I,O>
Translator that does not use a Batchifier.
There are two major cases for avoiding the use of a Batchifier.
First, you want to translate between Batches rather than
Records. For example, you might go from String[] to Int[].
The second option is when using a model that does not use batching. Then, the model expects only a single record at a time.
Translator| Modifier and Type | Method and Description |
|---|---|
default Batchifier |
getBatchifier()
Gets the
Batchifier. |
prepareprocessInputprocessOutputdefault Batchifier getBatchifier()
TranslatorBatchifier.getBatchifier in interface Translator<I,O>Batchifier