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 Batch
es rather than
Record
s. 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 . |
prepare
processInput
processOutput
default Batchifier getBatchifier()
Translator
Batchifier
.getBatchifier
in interface Translator<I,O>
Batchifier