public class CSVSparkTransform
extends java.lang.Object
TransformProcess
Constructor and Description |
---|
CSVSparkTransform() |
Modifier and Type | Method and Description |
---|---|
Base64NDArrayBody |
toArray(BatchRecord batch)
Convert a raw record via
the
TransformProcess
to a base 64ed ndarray |
Base64NDArrayBody |
toArray(CSVRecord record)
Convert a raw record via
the
TransformProcess
to a base 64ed ndarray |
BatchRecord |
transform(BatchRecord batch)
Runs the transform process
for the
CSVSparkTransformServer |
CSVRecord |
transform(CSVRecord record)
Runs the transform process
for the
CSVSparkTransformServer |
public Base64NDArrayBody toArray(BatchRecord batch) throws java.io.IOException
TransformProcess
to a base 64ed ndarraybatch
- the record to convertjava.io.IOException
public Base64NDArrayBody toArray(CSVRecord record) throws java.io.IOException
TransformProcess
to a base 64ed ndarrayrecord
- the record to convertjava.io.IOException
public BatchRecord transform(BatchRecord batch)
CSVSparkTransformServer
batch
- the record to transformpublic CSVRecord transform(CSVRecord record)
CSVSparkTransformServer
record
- the record to transform