public class TransformProcess extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
TransformProcess.Builder
Builder class for constructing a TransformProcess
|
Constructor and Description |
---|
TransformProcess(Schema initialSchema,
List<DataAction> actionList) |
Modifier and Type | Method and Description |
---|---|
List<Writable> |
execute(List<Writable> input)
Execute the full sequence of transformations for a single example.
|
List<List<Writable>> |
executeSequence(List<List<Writable>> inputSequence)
Execute the full sequence of transformations for a single time series (sequence).
|
List<List<Writable>> |
executeSequenceToSequence(List<List<Writable>> input) |
static TransformProcess |
fromJson(String json) |
static TransformProcess |
fromYaml(String yaml) |
List<DataAction> |
getActionList() |
Schema |
getFinalSchema()
Get the Schema of the output data, after executing the process
|
Schema |
getSchemaAfterStep(int step)
Return the schema after executing all steps up to and including the specified step.
|
String |
toJson() |
String |
toYaml() |
public TransformProcess(Schema initialSchema, List<DataAction> actionList)
public List<DataAction> getActionList()
public Schema getFinalSchema()
public Schema getSchemaAfterStep(int step)
step
- Index of the steppublic List<Writable> execute(List<Writable> input)
input
- public List<List<Writable>> executeSequenceToSequence(List<List<Writable>> input)
input
- public List<List<Writable>> executeSequence(List<List<Writable>> inputSequence)
public String toJson()
public String toYaml()
public static TransformProcess fromJson(String json)
public static TransformProcess fromYaml(String yaml)
Copyright © 2016. All rights reserved.