public class FluentUtility extends Object
| Constructor and Description |
|---|
FluentUtility() |
| Modifier and Type | Method and Description |
|---|---|
static AsPipe |
getAsPipe(MetaPipe metaPipe,
String namedStep)
Get an AsPipe by name in the respective MetaPipe.
|
static List<AsPipe> |
getAsPipes(MetaPipe metaPipe)
Get all the AsPipes in the provided MetaPipe.
|
static Pipe |
getPreviousPipe(Pipeline pipeline)
Get the last pipe in the Pipeline
|
static List<Pipe> |
getPreviousPipes(Pipeline pipeline,
int numberedStep) |
static PipeFunction |
prepareFunction(AsMap asMap,
PipeFunction function) |
static PipeFunction[] |
prepareFunctions(AsMap asMap,
PipeFunction... functions) |
static List<Pipe> |
removePreviousPipes(Pipeline pipeline,
int numberedStep)
A utility method to remove all the pipes back some number of steps and return them as a list.
|
static List<Pipe> |
removePreviousPipes(Pipeline pipeline,
String namedStep)
A utility method to remove all the pipes back some partition step and return them as a list.
|
static void |
setStarts(Pipeline pipeline,
Object starts) |
public static List<AsPipe> getAsPipes(MetaPipe metaPipe)
public static AsPipe getAsPipe(MetaPipe metaPipe, String namedStep)
metaPipe - the MetaPipe containing the AsPipenamedStep - the name of the AsPipepublic static List<Pipe> removePreviousPipes(Pipeline pipeline, int numberedStep)
numberedStep - the number of steps back to remove from the pipelinepublic static List<Pipe> removePreviousPipes(Pipeline pipeline, String namedStep)
namedStep - the name of the step previous to remove from the pipelinepublic static Pipe getPreviousPipe(Pipeline pipeline)
pipeline - the Pipelinepublic static PipeFunction prepareFunction(AsMap asMap, PipeFunction function)
public static PipeFunction[] prepareFunctions(AsMap asMap, PipeFunction... functions)
Copyright © 2010-2014. All Rights Reserved.