@Deprecated public interface PipesFluentPipeline<S,E>
| Modifier and Type | Method and Description |
|---|---|
PipesFluentPipeline<S,E> |
_()
Deprecated.
Add an IdentityPipe to the end of the Pipeline.
|
PipesFluentPipeline<S,E> |
aggregate()
Deprecated.
Add an AggregatePipe to the end of the Pipeline.
|
PipesFluentPipeline<S,E> |
aggregate(Collection<E> aggregate)
Deprecated.
Add an AggregatePipe to the end of the Pipeline.
|
PipesFluentPipeline<S,E> |
aggregate(Collection aggregate,
PipeFunction<E,?> aggregateFunction)
Deprecated.
Add an AggregatePipe to the end of the Pipeline.
|
PipesFluentPipeline<S,E> |
aggregate(PipeFunction<E,?> aggregateFunction)
Deprecated.
Add an AggregatePipe to the end of the Pipeline.
|
PipesFluentPipeline<S,E> |
and(Pipe<E,?>... pipes)
Deprecated.
Add an AndFilterPipe to the end the Pipeline.
|
PipesFluentPipeline<S,E> |
as(String name)
Deprecated.
Wrap the previous step in an AsPipe.
|
PipesFluentPipeline<S,?> |
back(int numberedStep)
Deprecated.
Add a BackFilterPipe to the end of the Pipeline.
|
PipesFluentPipeline<S,?> |
back(String namedStep)
Deprecated.
Add a BackFilterPipe to the end of the Pipeline.
|
PipesFluentPipeline<S,?> |
cap()
Deprecated.
Add a SideEffectCapPipe to the end of the Pipeline.
|
<E> PipesFluentPipeline<S,E> |
cast(Class<E> end)
Deprecated.
Returns the current pipeline with a new end type.
|
PipesFluentPipeline<S,?> |
copySplit(Pipe<E,?>... pipes)
Deprecated.
Add a CopySplitPipe to the end of the pipeline.
|
long |
count()
Deprecated.
Return the number of objects iterated through the pipeline.
|
PipesFluentPipeline<S,E> |
dedup()
Deprecated.
Add a DuplicateFilterPipe to the end of the Pipeline.
|
PipesFluentPipeline<S,E> |
dedup(PipeFunction<E,?> dedupFunction)
Deprecated.
Add a DuplicateFilterPipe to the end of the Pipeline.
|
PipesFluentPipeline<S,E> |
enablePath()
Deprecated.
Enable path calculations in the pipeline.
|
PipesFluentPipeline<S,E> |
except(Collection<E> collection)
Deprecated.
Add an ExceptFilterPipe to the end of the Pipeline.
|
PipesFluentPipeline<S,E> |
except(String... namedSteps)
Deprecated.
Add an ExceptFilterPipe to the end of the Pipeline.
|
PipesFluentPipeline<S,?> |
exhaustMerge()
Deprecated.
Add an ExhaustMergePipe to the end of the pipeline.
|
PipesFluentPipeline<S,?> |
fairMerge()
Deprecated.
Add a FairMergePipe to the end of the Pipeline.
|
Collection<E> |
fill(Collection<E> collection)
Deprecated.
Fill the provided collection with the objects in the pipeline.
|
PipesFluentPipeline<S,E> |
filter(PipeFunction<E,Boolean> filterFunction)
Deprecated.
Add an FilterFunctionPipe to the end of the Pipeline.
|
PipesFluentPipeline<S,List> |
gather()
Deprecated.
Add a GatherPipe to the end of the Pipeline.
|
PipesFluentPipeline<S,?> |
gather(PipeFunction<List,?> function)
Deprecated.
Add a GatherPipe to the end of the Pipeline.
|
PipesFluentPipeline<S,E> |
groupBy(Map<?,List<?>> map,
PipeFunction keyFunction,
PipeFunction valueFunction)
Deprecated.
Add a GroupByPipe to the end of the Pipeline.
|
PipesFluentPipeline<S,E> |
groupBy(Map reduceMap,
PipeFunction keyFunction,
PipeFunction valueFunction,
PipeFunction reduceFunction)
Deprecated.
Add a GroupByReducePipe to the end of the Pipeline.
|
PipesFluentPipeline<S,E> |
groupBy(PipeFunction keyFunction,
PipeFunction valueFunction)
Deprecated.
Add a GroupByPipe to the end of the Pipeline.
|
PipesFluentPipeline<S,E> |
groupBy(PipeFunction keyFunction,
PipeFunction valueFunction,
PipeFunction reduceFunction)
Deprecated.
Add a GroupByReducePipe to the end of the Pipeline.
|
PipesFluentPipeline<S,E> |
groupCount()
Deprecated.
Add a GroupCountPipe to the end of the Pipeline.
|
PipesFluentPipeline<S,E> |
groupCount(Map<?,Number> map)
Deprecated.
Add a GroupCountPipe to the end of the Pipeline.
|
PipesFluentPipeline<S,E> |
groupCount(Map<?,Number> map,
PipeFunction keyFunction)
Deprecated.
Add a GroupCountPipe or GroupCountFunctionPipe to the end of the Pipeline.
|
PipesFluentPipeline<S,E> |
groupCount(Map<?,Number> map,
PipeFunction keyFunction,
PipeFunction<Pair<?,Number>,Number> valueFunction)
Deprecated.
Add a GroupCountPipe or GroupCountFunctionPipe to the end of the Pipeline.
|
PipesFluentPipeline<S,E> |
groupCount(PipeFunction keyFunction)
Deprecated.
Add a GroupCountPipe or GroupCountFunctionPipe to the end of the Pipeline.
|
PipesFluentPipeline<S,E> |
groupCount(PipeFunction keyFunction,
PipeFunction<Pair<?,Number>,Number> valueFunction)
Deprecated.
Add a GroupCountPipe or GroupCountFunctionPipe to the end of the Pipeline.
|
PipesFluentPipeline<S,?> |
ifThenElse(PipeFunction<E,Boolean> ifFunction,
PipeFunction<E,?> thenFunction,
PipeFunction<E,?> elseFunction)
Deprecated.
Add an IfThenElsePipe to the end of the Pipeline.
|
void |
iterate()
Deprecated.
Completely drain the pipeline of its objects.
|
PipesFluentPipeline<S,E> |
loop(int numberedStep,
PipeFunction<LoopPipe.LoopBundle<E>,Boolean> whileFunction)
Deprecated.
Add a LoopPipe to the end of the Pipeline.
|
PipesFluentPipeline<S,E> |
loop(int numberedStep,
PipeFunction<LoopPipe.LoopBundle<E>,Boolean> whileFunction,
PipeFunction<LoopPipe.LoopBundle<E>,Boolean> emitFunction)
Deprecated.
Add a LoopPipe to the end of the Pipeline.
|
PipesFluentPipeline<S,E> |
loop(String namedStep,
PipeFunction<LoopPipe.LoopBundle<E>,Boolean> whileFunction)
Deprecated.
Add a LoopPipe to the end of the Pipeline.
|
PipesFluentPipeline<S,E> |
loop(String namedStep,
PipeFunction<LoopPipe.LoopBundle<E>,Boolean> whileFunction,
PipeFunction<LoopPipe.LoopBundle<E>,Boolean> emitFunction)
Deprecated.
Add a LoopPipe to the end of the Pipeline.
|
PipesFluentPipeline<S,E> |
memoize(int numberedStep)
Deprecated.
Add a MemoizePipe to the end of the Pipeline.
|
PipesFluentPipeline<S,E> |
memoize(int numberedStep,
Map map)
Deprecated.
Add a MemoizePipe to the end of the Pipeline.
|
PipesFluentPipeline<S,E> |
memoize(String namedStep)
Deprecated.
Add a MemoizePipe to the end of the Pipeline.
|
PipesFluentPipeline<S,E> |
memoize(String namedStep,
Map map)
Deprecated.
Add a MemoizePipe to the end of the Pipeline.
|
List<E> |
next(int number)
Deprecated.
Return the next X objects in the pipeline as a list.
|
PipesFluentPipeline<S,?> |
optional(int numberedStep)
Deprecated.
Add an OptionalPipe to the end of the Pipeline.
|
PipesFluentPipeline<S,?> |
optional(String namedStep)
Deprecated.
Add an OptionalPipe to the end of the Pipeline.
|
PipesFluentPipeline<S,E> |
or(Pipe<E,?>... pipes)
Deprecated.
Add an OrFilterPipe to the end the Pipeline.
|
PipesFluentPipeline<S,E> |
order()
Deprecated.
Add an OrderPipe to the end of the Pipeline.
|
PipesFluentPipeline<S,E> |
order(PipeFunction<Pair<E,E>,Integer> compareFunction)
Deprecated.
Add an OrderPipe to the end of the Pipeline.
|
PipesFluentPipeline<S,E> |
order(TransformPipe.Order order)
Deprecated.
Add an OrderPipe to the end of the Pipeline.
|
PipesFluentPipeline<S,?> |
orderMap(PipeFunction<Pair<Map.Entry,Map.Entry>,Integer> compareFunction)
Deprecated.
Add a OrderMapPipe to the end of the Pipeline
Given a Map as an input, the map is first ordered and then the keys are emitted in the order.
|
PipesFluentPipeline<S,?> |
orderMap(TransformPipe.Order order)
Deprecated.
Add a OrderMapPipe to the end of the Pipeline
Given a Map as an input, the map is first ordered and then the keys are emitted in the order.
|
PipesFluentPipeline<S,List> |
path(PipeFunction... pathFunctions)
Deprecated.
Add a PathPipe or PathPipe to the end of the Pipeline.
|
PipesFluentPipeline<S,E> |
random(Double bias)
Deprecated.
Add a RandomFilterPipe to the end of the Pipeline.
|
PipesFluentPipeline<S,E> |
range(int low,
int high)
Deprecated.
Add a RageFilterPipe to the end of the Pipeline.
|
PipesFluentPipeline<S,E> |
retain(Collection<E> collection)
Deprecated.
Add a RetainFilterPipe to the end of the Pipeline.
|
PipesFluentPipeline<S,E> |
retain(String... namedSteps)
Deprecated.
Add a RetainFilterPipe to the end of the Pipeline.
|
PipesFluentPipeline<S,?> |
scatter()
Deprecated.
Add a ScatterPipe to the end of the Pipeline.
|
PipesFluentPipeline<S,Row> |
select()
Deprecated.
Add a SelectPipe to the end of the Pipeline.
|
PipesFluentPipeline<S,Row> |
select(Collection<String> stepNames,
PipeFunction... columnFunctions)
Deprecated.
Add a SelectPipe to the end of the Pipeline.
|
PipesFluentPipeline<S,Row> |
select(PipeFunction... columnFunctions)
Deprecated.
Add a SelectPipe to the end of the Pipeline.
|
PipesFluentPipeline<S,List> |
shuffle()
Deprecated.
Add a ShufflePipe to the end of the Pipeline.
|
PipesFluentPipeline<S,E> |
sideEffect(PipeFunction<E,?> sideEffectFunction)
Deprecated.
Add a SideEffectFunctionPipe to the end of the Pipeline.
|
PipesFluentPipeline<S,E> |
simplePath()
Deprecated.
Add a CyclicPathFilterPipe to the end of the Pipeline.
|
PipesFluentPipeline<S,S> |
start(S object)
Deprecated.
Add a StartPipe to the end of the pipeline.
|
<T> PipesFluentPipeline<S,T> |
step(Pipe<E,T> pipe)
Deprecated.
Add an arbitrary Pipe to the end of the pipeline.
|
PipesFluentPipeline<S,?> |
step(PipeFunction function)
Deprecated.
Add a FunctionPipe to the end of the pipeline.
|
PipesFluentPipeline<S,E> |
store()
Deprecated.
Add an StorePipe to the end of the Pipeline.
|
PipesFluentPipeline<S,E> |
store(Collection<E> storage)
Deprecated.
Add a StorePipe to the end of the Pipeline.
|
PipesFluentPipeline<S,E> |
store(Collection storage,
PipeFunction<E,?> storageFunction)
Deprecated.
Add a StorePipe to the end of the Pipeline.
|
PipesFluentPipeline<S,E> |
store(PipeFunction<E,?> storageFunction)
Deprecated.
Add a StorePipe to the end of the Pipeline.
|
PipesFluentPipeline<S,E> |
table()
Deprecated.
Add a TablePipe to the end of the Pipeline.
|
PipesFluentPipeline<S,E> |
table(PipeFunction... columnFunctions)
Deprecated.
Add a TablePipe to the end of the Pipeline.
|
PipesFluentPipeline<S,E> |
table(Table table)
Deprecated.
Add a TablePipe to the end of the Pipeline.
|
PipesFluentPipeline<S,E> |
table(Table table,
Collection<String> stepNames,
PipeFunction... columnFunctions)
Deprecated.
Add a TablePipe to the end of the Pipeline.
|
PipesFluentPipeline<S,E> |
table(Table table,
PipeFunction... columnFunctions)
Deprecated.
Add a TablePipe to the end of the Pipeline.
|
List<E> |
toList()
Deprecated.
Return a list of all the objects in the pipeline.
|
<T> PipesFluentPipeline<S,T> |
transform(PipeFunction<E,T> function)
Deprecated.
Add a TransformFunctionPipe to the end of the Pipeline.
|
PipesFluentPipeline<S,E> |
tree(PipeFunction... branchFunctions)
Deprecated.
Add a TreePipe to the end of the Pipeline
This step maintains an internal tree representation of the paths that have flowed through the step.
|
PipesFluentPipeline<S,E> |
tree(Tree tree,
PipeFunction... branchFunctions)
Deprecated.
Add a TreePipe to the end of the Pipeline
This step maintains an internal tree representation of the paths that have flowed through the step.
|
PipesFluentPipeline<S,?> step(PipeFunction function)
function - the function of the FunctionPipe<T> PipesFluentPipeline<S,T> step(Pipe<E,T> pipe)
T - the object type emitted by the provided pipe.pipe - The provided pipe.PipesFluentPipeline<S,?> copySplit(Pipe<E,?>... pipes)
pipes - the internal pipes of the CopySplitPipePipesFluentPipeline<S,?> exhaustMerge()
PipesFluentPipeline<S,?> fairMerge()
PipesFluentPipeline<S,?> ifThenElse(PipeFunction<E,Boolean> ifFunction, PipeFunction<E,?> thenFunction, PipeFunction<E,?> elseFunction)
ifFunction - the function denoting the "if" part of the pipethenFunction - the function denoting the "then" part of the pipeelseFunction - the function denoting the "else" part of the pipePipesFluentPipeline<S,E> loop(int numberedStep, PipeFunction<LoopPipe.LoopBundle<E>,Boolean> whileFunction)
numberedStep - the number of steps to loop back towhileFunction - whether or not to continue looping on the current objectPipesFluentPipeline<S,E> loop(String namedStep, PipeFunction<LoopPipe.LoopBundle<E>,Boolean> whileFunction)
namedStep - the name of the step to loop back towhileFunction - whether or not to continue looping on the current objectPipesFluentPipeline<S,E> loop(int numberedStep, PipeFunction<LoopPipe.LoopBundle<E>,Boolean> whileFunction, PipeFunction<LoopPipe.LoopBundle<E>,Boolean> emitFunction)
numberedStep - the number of steps to loop back towhileFunction - whether or not to continue looping on the current objectemitFunction - whether or not to emit the current object (irrespective of looping)PipesFluentPipeline<S,E> loop(String namedStep, PipeFunction<LoopPipe.LoopBundle<E>,Boolean> whileFunction, PipeFunction<LoopPipe.LoopBundle<E>,Boolean> emitFunction)
namedStep - the number of steps to loop back towhileFunction - whether or not to continue looping on the current objectemitFunction - whether or not to emit the current object (irrespective of looping)PipesFluentPipeline<S,E> and(Pipe<E,?>... pipes)
pipes - the internal pipes of the AndFilterPipePipesFluentPipeline<S,?> back(int numberedStep)
numberedStep - the number of steps previous to back up toPipesFluentPipeline<S,?> back(String namedStep)
namedStep - the name of the step previous to back up toPipesFluentPipeline<S,E> dedup()
PipesFluentPipeline<S,E> dedup(PipeFunction<E,?> dedupFunction)
dedupFunction - a function to call on the object to yield the object to dedup onPipesFluentPipeline<S,E> except(Collection<E> collection)
collection - the collection except from the streamPipesFluentPipeline<S,E> except(String... namedSteps)
namedSteps - the named steps in the pipelinePipesFluentPipeline<S,E> filter(PipeFunction<E,Boolean> filterFunction)
filterFunction - the filter function of the pipePipesFluentPipeline<S,E> or(Pipe<E,?>... pipes)
pipes - the internal pipes of the OrFilterPipePipesFluentPipeline<S,E> random(Double bias)
bias - the bias of the random coinPipesFluentPipeline<S,E> range(int low, int high)
low - the low end of the rangehigh - the high end of the rangePipesFluentPipeline<S,E> retain(Collection<E> collection)
collection - the collection to retainPipesFluentPipeline<S,E> retain(String... namedSteps)
namedSteps - the named steps in the pipelinePipesFluentPipeline<S,E> simplePath()
PipesFluentPipeline<S,E> aggregate()
PipesFluentPipeline<S,E> aggregate(Collection<E> aggregate)
aggregate - the collection to aggregate results intoPipesFluentPipeline<S,E> aggregate(Collection aggregate, PipeFunction<E,?> aggregateFunction)
aggregate - the collection to aggregate results intoaggregateFunction - the function to run over each object prior to insertion into the aggregatePipesFluentPipeline<S,E> aggregate(PipeFunction<E,?> aggregateFunction)
aggregateFunction - the function to run over each object prior to insertion into the aggregatePipesFluentPipeline<S,?> optional(int numberedStep)
numberedStep - the number of steps previous to optional back toPipesFluentPipeline<S,?> optional(String namedStep)
namedStep - the name of the step previous to optional back toPipesFluentPipeline<S,E> groupBy(Map<?,List<?>> map, PipeFunction keyFunction, PipeFunction valueFunction)
map - the map to store the grouping inkeyFunction - the function that generates the key from the objectvalueFunction - the function that generates the value from the functionPipesFluentPipeline<S,E> groupBy(PipeFunction keyFunction, PipeFunction valueFunction)
keyFunction - the function that generates the key from the objectvalueFunction - the function that generates the value from the functionPipesFluentPipeline<S,E> groupBy(Map reduceMap, PipeFunction keyFunction, PipeFunction valueFunction, PipeFunction reduceFunction)
reduceMap - a map to perform the reduce operation on (good for having a later reference)keyFunction - the function that generates the key from the objectvalueFunction - the function that generates the value from the functionreduceFunction - the function that reduces the value listsPipesFluentPipeline<S,E> groupBy(PipeFunction keyFunction, PipeFunction valueFunction, PipeFunction reduceFunction)
keyFunction - the function that generates the key from the objectvalueFunction - the function that generates the value from the functionreduceFunction - the function that reduces the value listsPipesFluentPipeline<S,E> groupCount(Map<?,Number> map, PipeFunction keyFunction, PipeFunction<Pair<?,Number>,Number> valueFunction)
map - a provided count mapkeyFunction - the key function to determine map keyvalueFunction - the value function to determine map valuePipesFluentPipeline<S,E> groupCount(PipeFunction keyFunction, PipeFunction<Pair<?,Number>,Number> valueFunction)
keyFunction - the key function to determine map keyvalueFunction - the value function to determine map valuePipesFluentPipeline<S,E> groupCount(Map<?,Number> map, PipeFunction keyFunction)
map - a provided count mapkeyFunction - the key function to determine map keyPipesFluentPipeline<S,E> groupCount(PipeFunction keyFunction)
keyFunction - the key function to determine map keyPipesFluentPipeline<S,E> groupCount(Map<?,Number> map)
map - a provided count mapPipesFluentPipeline<S,E> groupCount()
PipesFluentPipeline<S,E> sideEffect(PipeFunction<E,?> sideEffectFunction)
sideEffectFunction - the function of the pipePipesFluentPipeline<S,E> store(Collection<E> storage)
storage - the collection to store results intoPipesFluentPipeline<S,E> store(Collection storage, PipeFunction<E,?> storageFunction)
storage - the collection to store results intostorageFunction - the function to run over each object prior to insertion into the storage collectionPipesFluentPipeline<S,E> store()
PipesFluentPipeline<S,E> store(PipeFunction<E,?> storageFunction)
storageFunction - the function to run over each object prior to insertion into the storage collectionPipesFluentPipeline<S,E> table(Table table, Collection<String> stepNames, PipeFunction... columnFunctions)
table - the table to fillstepNames - the partition steps to include in the fillingcolumnFunctions - the post-processing function for each columnPipesFluentPipeline<S,E> table(Table table, PipeFunction... columnFunctions)
table - the table to fillcolumnFunctions - the post-processing function for each columnPipesFluentPipeline<S,E> table(PipeFunction... columnFunctions)
columnFunctions - the post-processing function for each columnPipesFluentPipeline<S,E> table(Table table)
table - the table to fillPipesFluentPipeline<S,E> table()
PipesFluentPipeline<S,E> tree(Tree tree, PipeFunction... branchFunctions)
tree - an embedded Map data structure to store the tree representation inbranchFunctions - functions to apply to each path object in a round robin fashionPipesFluentPipeline<S,E> tree(PipeFunction... branchFunctions)
branchFunctions - functions to apply to each path object in a round robin fashionPipesFluentPipeline<S,List> gather()
PipesFluentPipeline<S,?> gather(PipeFunction<List,?> function)
function - a transformation to apply to the gathered listPipesFluentPipeline<S,E> _()
PipesFluentPipeline<S,E> memoize(String namedStep)
namedStep - the name of the step previous to memoize toPipesFluentPipeline<S,E> memoize(int numberedStep)
numberedStep - the number of the step previous to memoize toPipesFluentPipeline<S,E> memoize(String namedStep, Map map)
namedStep - the name of the step previous to memoize tomap - the memoization mapPipesFluentPipeline<S,E> memoize(int numberedStep, Map map)
numberedStep - the number of the step previous to memoize tomap - the memoization mapPipesFluentPipeline<S,E> order()
PipesFluentPipeline<S,E> order(TransformPipe.Order order)
order - if the stream is composed of comparable objects, then increment or decrement can be specifiedPipesFluentPipeline<S,E> order(PipeFunction<Pair<E,E>,Integer> compareFunction)
compareFunction - a comparator function of two objects of type EPipesFluentPipeline<S,List> path(PipeFunction... pathFunctions)
pathFunctions - the path function of the PathPipePipesFluentPipeline<S,?> scatter()
PipesFluentPipeline<S,Row> select(Collection<String> stepNames, PipeFunction... columnFunctions)
stepNames - the name of the steps in the expression to retrieve the objects fromcolumnFunctions - the functions to apply to the column objects prior to filling the RowPipesFluentPipeline<S,Row> select(PipeFunction... columnFunctions)
columnFunctions - the functions to apply to the column objects prior to filling the RowPipesFluentPipeline<S,Row> select()
PipesFluentPipeline<S,List> shuffle()
PipesFluentPipeline<S,?> cap()
PipesFluentPipeline<S,?> orderMap(TransformPipe.Order order)
order - if the values implement Comparable, then a increment or decrement sort is usablePipesFluentPipeline<S,?> orderMap(PipeFunction<Pair<Map.Entry,Map.Entry>,Integer> compareFunction)
compareFunction - a function to compare to map entries<T> PipesFluentPipeline<S,T> transform(PipeFunction<E,T> function)
function - the transformation function of the pipePipesFluentPipeline<S,E> as(String name)
name - the name of the AsPipePipesFluentPipeline<S,S> start(S object)
object - the object that serves as the start of the pipeline (iterator/iterable are unfolded)long count()
void iterate()
List<E> next(int number)
number - the number of objects to returnList<E> toList()
Collection<E> fill(Collection<E> collection)
collection - the collection to fillPipesFluentPipeline<S,E> enablePath()
<E> PipesFluentPipeline<S,E> cast(Class<E> end)
Copyright © 2010-2014. All Rights Reserved.