INPUT_TYPE - the input type (usually json objects or buffers coming in off the wire)OUTPUT_TYPE - the output type for use with internal ETL tooling and inference
by a verticlepublic interface InputAdapter<INPUT_TYPE,OUTPUT_TYPE>
TransformProcess
. Usually the input type is a raw JsonArray
or Buffer that is then mapped to some input
such as an ndarray or ArrowWritableRecordBatch| Modifier and Type | Method and Description |
|---|---|
OUTPUT_TYPE |
convert(INPUT_TYPE input,
ConverterArgs parameters,
Map<String,Object> contextData)
Convert the input type
to the desired output type
given the
ConverterArgs |
OUTPUT_TYPE convert(INPUT_TYPE input, ConverterArgs parameters, Map<String,Object> contextData) throws IOException
ConverterArgsinput - the input to convertparameters - the parameters relevant
for conversion of the outputcontextData - the routing context when convertingIOException - I/O exceptionCopyright © 2022. All rights reserved.