A B C D E F G I K M O P R S T U V W 

A

addNode(String, Operator, DagMeta.NodeMeta, Operator.OutputPort, Operator.InputPort) - Method in class org.apache.apex.malhar.stream.api.impl.DagMeta
 
addOperator(Operator, Operator.InputPort<T>, Operator.OutputPort<O>) - Method in interface org.apache.apex.malhar.stream.api.ApexStream
Extend the dag by adding one operator
addOperator(String, Operator, Operator.InputPort<T>, Operator.OutputPort<O>) - Method in interface org.apache.apex.malhar.stream.api.ApexStream
Extend the dag by adding one Operator
addOperator(Operator, Operator.InputPort<T>, Operator.OutputPort<O>) - Method in class org.apache.apex.malhar.stream.api.impl.ApexStreamImpl
 
addOperator(String, Operator, Operator.InputPort<T>, Operator.OutputPort<O>) - Method in class org.apache.apex.malhar.stream.api.impl.ApexStreamImpl
 
AnnonymousClassModifier - Class in org.apache.apex.malhar.stream.api.operator
Because annonymous class serialization is not supported by default in most serialization library This class is used to modify the bytecode of annonymous at runtime.
AnnonymousClassModifier(int) - Constructor for class org.apache.apex.malhar.stream.api.operator.AnnonymousClassModifier
 
AnnonymousClassModifier(int, ClassVisitor) - Constructor for class org.apache.apex.malhar.stream.api.operator.AnnonymousClassModifier
 
ApexStream<T> - Interface in org.apache.apex.malhar.stream.api
The stream interface to build a DAG
ApexStreamImpl<T> - Class in org.apache.apex.malhar.stream.api.impl
Default stream implementation for ApexStream interface.
ApexStreamImpl() - Constructor for class org.apache.apex.malhar.stream.api.impl.ApexStreamImpl
 
ApexStreamImpl(ApexStream<T>) - Constructor for class org.apache.apex.malhar.stream.api.impl.ApexStreamImpl
 
ApexStreamImpl(DagMeta) - Constructor for class org.apache.apex.malhar.stream.api.impl.ApexStreamImpl
 
ApexStreamImpl(DagMeta, ApexStreamImpl.Brick<T>) - Constructor for class org.apache.apex.malhar.stream.api.impl.ApexStreamImpl
 
ApexStreamImpl.Brick<T> - Class in org.apache.apex.malhar.stream.api.impl
The extension point of the stream
ApexStreamImpl.Brick() - Constructor for class org.apache.apex.malhar.stream.api.impl.ApexStreamImpl.Brick
 

B

beginWindow(long) - Method in class org.apache.apex.malhar.stream.api.operator.FunctionOperator
 
buildDAG() - Method in class org.apache.apex.malhar.stream.api.impl.DagMeta
 
buildDAG(DAG) - Method in class org.apache.apex.malhar.stream.api.impl.DagMeta
 
ByteArrayClassLoader - Class in org.apache.apex.malhar.stream.api.operator
 
ByteArrayClassLoader(Map<String, byte[]>) - Constructor for class org.apache.apex.malhar.stream.api.operator.ByteArrayClassLoader
 
ByteArrayClassLoader(Map<String, byte[]>, ClassLoader) - Constructor for class org.apache.apex.malhar.stream.api.operator.ByteArrayClassLoader
 

C

count() - Method in interface org.apache.apex.malhar.stream.api.ApexStream
Count of all tuples
count() - Method in class org.apache.apex.malhar.stream.api.impl.ApexStreamImpl
 
countByKey() - Method in interface org.apache.apex.malhar.stream.api.ApexStream
Count tuples by the key
If the input is KeyedTuple it will get the key from getKey method from the tuple
If not, use the tuple itself as a key
countByKey(int) - Method in interface org.apache.apex.malhar.stream.api.ApexStream
Count tuples by the indexed key
countByKey(int) - Method in class org.apache.apex.malhar.stream.api.impl.ApexStreamImpl
 
countByKey() - Method in class org.apache.apex.malhar.stream.api.impl.ApexStreamImpl
 
createDag() - Method in interface org.apache.apex.malhar.stream.api.ApexStream
Create dag from stream
createDag() - Method in class org.apache.apex.malhar.stream.api.impl.ApexStreamImpl
 

D

DagMeta - Class in org.apache.apex.malhar.stream.api.impl
Graph data structure for DAG With this data structure, the framework can do lazy load and optimization
DagMeta() - Constructor for class org.apache.apex.malhar.stream.api.impl.DagMeta
 
DagMeta.NodeMeta - Class in org.apache.apex.malhar.stream.api.impl
 
DagMeta.NodeMeta(Operator, String) - Constructor for class org.apache.apex.malhar.stream.api.impl.DagMeta.NodeMeta
 

E

endWindow() - Method in class org.apache.apex.malhar.stream.api.operator.FunctionOperator
 

F

f(I) - Method in interface org.apache.apex.malhar.stream.api.function.Function.MapFunction
 
filter(Function.FilterFunction<T>) - Method in interface org.apache.apex.malhar.stream.api.ApexStream
Filter transformation
Add an operator to the DAG which filter out tuple T that cannot satisfy the FilterFunction
filter(String, Function.FilterFunction<T>) - Method in interface org.apache.apex.malhar.stream.api.ApexStream
Filter transformation
Add an operator to the DAG which filter out tuple T that cannot satisfy the FilterFunction
filter(Function.FilterFunction<T>) - Method in class org.apache.apex.malhar.stream.api.impl.ApexStreamImpl
 
filter(String, Function.FilterFunction<T>) - Method in class org.apache.apex.malhar.stream.api.impl.ApexStreamImpl
 
findClass(String) - Method in class org.apache.apex.malhar.stream.api.operator.ByteArrayClassLoader
 
flatMap(Function.FlatMapFunction<T, O>) - Method in interface org.apache.apex.malhar.stream.api.ApexStream
Flat map transformation Add an operator to the DAG which convert tuple T to a collection of tuple O
flatMap(String, Function.FlatMapFunction<T, O>) - Method in interface org.apache.apex.malhar.stream.api.ApexStream
Flat map transformation
Add an operator to the DAG which convert tuple T to a collection of tuple O
flatMap(Function.FlatMapFunction<T, O>) - Method in class org.apache.apex.malhar.stream.api.impl.ApexStreamImpl
 
flatMap(String, Function.FlatMapFunction<T, O>) - Method in class org.apache.apex.malhar.stream.api.impl.ApexStreamImpl
 
fold(O, Function.FoldFunction<T, O>) - Method in interface org.apache.apex.malhar.stream.api.ApexStream
Fold transformation
Add an operator to the DAG which merge tuple T to accumulated result tuple O
fold(String, O, Function.FoldFunction<T, O>) - Method in interface org.apache.apex.malhar.stream.api.ApexStream
Fold transformation
Add an operator to the DAG which merge tuple T to accumulated result tuple O
fold(I, O) - Method in interface org.apache.apex.malhar.stream.api.function.Function.FoldFunction
 
fold(O, Function.FoldFunction<T, O>) - Method in class org.apache.apex.malhar.stream.api.impl.ApexStreamImpl
 
fold(String, O, Function.FoldFunction<T, O>) - Method in class org.apache.apex.malhar.stream.api.impl.ApexStreamImpl
 
fromFolder(String, String) - Static method in class org.apache.apex.malhar.stream.api.impl.StreamFactory
 
fromFolder(String) - Static method in class org.apache.apex.malhar.stream.api.impl.StreamFactory
 
fromInput(String, InputOperator, Operator.OutputPort<T>) - Static method in class org.apache.apex.malhar.stream.api.impl.StreamFactory
 
fromInput(InputOperator, Operator.OutputPort<T>) - Static method in class org.apache.apex.malhar.stream.api.impl.StreamFactory
 
fromKafka08(String, String) - Static method in class org.apache.apex.malhar.stream.api.impl.StreamFactory
 
fromKafka08(String, String, String) - Static method in class org.apache.apex.malhar.stream.api.impl.StreamFactory
 
fromKafka09(String, String, String) - Static method in class org.apache.apex.malhar.stream.api.impl.StreamFactory
 
fromKafka09(String, String) - Static method in class org.apache.apex.malhar.stream.api.impl.StreamFactory
 
Function - Interface in org.apache.apex.malhar.stream.api.function
The top level function interface
Function.FilterFunction<T> - Interface in org.apache.apex.malhar.stream.api.function
An interface that defines filter transformation
Function.FlatMapFunction<I,O> - Interface in org.apache.apex.malhar.stream.api.function
An interface that defines flatmap transforation
Function.FoldFunction<I,O> - Interface in org.apache.apex.malhar.stream.api.function
An interface that defines a fold transformation
Function.MapFunction<I,O> - Interface in org.apache.apex.malhar.stream.api.function
An interface defines a one input one output transformation
Function.ReduceFunction<T> - Interface in org.apache.apex.malhar.stream.api.function
An interface defines a reduce transformation
Function.Stateful - Interface in org.apache.apex.malhar.stream.api.function
If the Function implements this interface.
FunctionOperator<OUT,FUNCTION extends Function> - Class in org.apache.apex.malhar.stream.api.operator
Operators that wrap the functions
FunctionOperator(FUNCTION) - Constructor for class org.apache.apex.malhar.stream.api.operator.FunctionOperator
 
FunctionOperator() - Constructor for class org.apache.apex.malhar.stream.api.operator.FunctionOperator
Default constructor to make kryo happy
FunctionOperator.FilterFunctionOperator<IN> - Class in org.apache.apex.malhar.stream.api.operator
 
FunctionOperator.FilterFunctionOperator() - Constructor for class org.apache.apex.malhar.stream.api.operator.FunctionOperator.FilterFunctionOperator
 
FunctionOperator.FilterFunctionOperator(Function.FilterFunction<IN>) - Constructor for class org.apache.apex.malhar.stream.api.operator.FunctionOperator.FilterFunctionOperator
 
FunctionOperator.FlatMapFunctionOperator<IN,OUT> - Class in org.apache.apex.malhar.stream.api.operator
 
FunctionOperator.FlatMapFunctionOperator() - Constructor for class org.apache.apex.malhar.stream.api.operator.FunctionOperator.FlatMapFunctionOperator
 
FunctionOperator.FlatMapFunctionOperator(Function.FlatMapFunction<IN, OUT>) - Constructor for class org.apache.apex.malhar.stream.api.operator.FunctionOperator.FlatMapFunctionOperator
 
FunctionOperator.FoldFunctionOperator<IN,OUT> - Class in org.apache.apex.malhar.stream.api.operator
 
FunctionOperator.FoldFunctionOperator() - Constructor for class org.apache.apex.malhar.stream.api.operator.FunctionOperator.FoldFunctionOperator
 
FunctionOperator.FoldFunctionOperator(Function.FoldFunction<IN, OUT>, OUT) - Constructor for class org.apache.apex.malhar.stream.api.operator.FunctionOperator.FoldFunctionOperator
 
FunctionOperator.MapFunctionOperator<IN,OUT> - Class in org.apache.apex.malhar.stream.api.operator
 
FunctionOperator.MapFunctionOperator() - Constructor for class org.apache.apex.malhar.stream.api.operator.FunctionOperator.MapFunctionOperator
 
FunctionOperator.MapFunctionOperator(Function.MapFunction<IN, OUT>) - Constructor for class org.apache.apex.malhar.stream.api.operator.FunctionOperator.MapFunctionOperator
 
FunctionOperator.ReduceFunctionOperator<IN> - Class in org.apache.apex.malhar.stream.api.operator
 
FunctionOperator.ReduceFunctionOperator() - Constructor for class org.apache.apex.malhar.stream.api.operator.FunctionOperator.ReduceFunctionOperator
 
FunctionOperator.ReduceFunctionOperator(Function.ReduceFunction<IN>) - Constructor for class org.apache.apex.malhar.stream.api.operator.FunctionOperator.ReduceFunctionOperator
 

G

generateOperatorIDWithClock(Class<? extends Operator>) - Static method in class org.apache.apex.malhar.stream.api.impl.IDGenerator
 
generateOperatorIDWithUUID(Class<? extends Operator>) - Static method in class org.apache.apex.malhar.stream.api.impl.IDGenerator
 
getChildren() - Method in class org.apache.apex.malhar.stream.api.impl.DagMeta.NodeMeta
 
getFunction() - Method in class org.apache.apex.malhar.stream.api.operator.FunctionOperator
 
getKey() - Method in interface org.apache.apex.malhar.stream.api.util.KeyedTuple
Return the key of the tuple
getLastBrick() - Method in class org.apache.apex.malhar.stream.api.impl.ApexStreamImpl
 
getLastOutput() - Method in class org.apache.apex.malhar.stream.api.impl.ApexStreamImpl.Brick
 
getLastStream() - Method in class org.apache.apex.malhar.stream.api.impl.ApexStreamImpl.Brick
 
getNodeName() - Method in class org.apache.apex.malhar.stream.api.impl.DagMeta.NodeMeta
 
getNodeStreams() - Method in class org.apache.apex.malhar.stream.api.impl.DagMeta.NodeMeta
 
getOperator() - Method in class org.apache.apex.malhar.stream.api.impl.DagMeta.NodeMeta
 
getParent() - Method in class org.apache.apex.malhar.stream.api.impl.DagMeta.NodeMeta
 
getStatefulF() - Method in class org.apache.apex.malhar.stream.api.operator.FunctionOperator
 
getStatelessF() - Method in class org.apache.apex.malhar.stream.api.operator.FunctionOperator
 

I

IDGenerator - Class in org.apache.apex.malhar.stream.api.impl
A util class to generate unique ids in dag
IDGenerator() - Constructor for class org.apache.apex.malhar.stream.api.impl.IDGenerator
 
input - Variable in class org.apache.apex.malhar.stream.api.operator.FunctionOperator.FilterFunctionOperator
 
input - Variable in class org.apache.apex.malhar.stream.api.operator.FunctionOperator.FlatMapFunctionOperator
 
input - Variable in class org.apache.apex.malhar.stream.api.operator.FunctionOperator.FoldFunctionOperator
 
input - Variable in class org.apache.apex.malhar.stream.api.operator.FunctionOperator.MapFunctionOperator
 
input - Variable in class org.apache.apex.malhar.stream.api.operator.FunctionOperator.ReduceFunctionOperator
 
isAnnonymous - Variable in class org.apache.apex.malhar.stream.api.operator.FunctionOperator
 
isAnnonymous() - Method in class org.apache.apex.malhar.stream.api.operator.FunctionOperator
 
isStateful() - Method in class org.apache.apex.malhar.stream.api.operator.FunctionOperator
 

K

KeyedTuple<K> - Interface in org.apache.apex.malhar.stream.api.util
An interface indicate a tuple with a specific key It is used internally to identify the key from the tuple

M

map(Function.MapFunction<T, O>) - Method in interface org.apache.apex.malhar.stream.api.ApexStream
Simple map transformation
Add an operator to the DAG which convert tuple T to tuple O
map(String, Function.MapFunction<T, O>) - Method in interface org.apache.apex.malhar.stream.api.ApexStream
Simple map transformation
Add an operator to the DAG which convert tuple T to tuple O
map(Function.MapFunction<T, O>) - Method in class org.apache.apex.malhar.stream.api.impl.ApexStreamImpl
 
map(String, Function.MapFunction<T, O>) - Method in class org.apache.apex.malhar.stream.api.impl.ApexStreamImpl
 

O

org.apache.apex.malhar.stream.api - package org.apache.apex.malhar.stream.api
 
org.apache.apex.malhar.stream.api.function - package org.apache.apex.malhar.stream.api.function
 
org.apache.apex.malhar.stream.api.impl - package org.apache.apex.malhar.stream.api.impl
 
org.apache.apex.malhar.stream.api.operator - package org.apache.apex.malhar.stream.api.operator
 
org.apache.apex.malhar.stream.api.util - package org.apache.apex.malhar.stream.api.util
 
output - Variable in class org.apache.apex.malhar.stream.api.operator.FunctionOperator
 

P

populateDag(DAG) - Method in interface org.apache.apex.malhar.stream.api.ApexStream
Populate existing dag
populateDag(DAG) - Method in class org.apache.apex.malhar.stream.api.impl.ApexStreamImpl
 
print() - Method in interface org.apache.apex.malhar.stream.api.ApexStream
Add a stdout console output operator
print() - Method in class org.apache.apex.malhar.stream.api.impl.ApexStreamImpl
 
printErr() - Method in interface org.apache.apex.malhar.stream.api.ApexStream
Add a stderr console output operator
printErr() - Method in class org.apache.apex.malhar.stream.api.impl.ApexStreamImpl
 

R

reduce(Function.ReduceFunction<T>) - Method in interface org.apache.apex.malhar.stream.api.ApexStream
Reduce transformation
Add an operator to the DAG which merge tuple t1, t2 to new tuple
reduce(String, Function.ReduceFunction<T>) - Method in interface org.apache.apex.malhar.stream.api.ApexStream
Reduce transformation
Add an operator to the DAG which merge tuple t1, t2 to new tuple
reduce(T, T) - Method in interface org.apache.apex.malhar.stream.api.function.Function.ReduceFunction
 
reduce(Function.ReduceFunction<T>) - Method in class org.apache.apex.malhar.stream.api.impl.ApexStreamImpl
 
reduce(String, Function.ReduceFunction<T>) - Method in class org.apache.apex.malhar.stream.api.impl.ApexStreamImpl
 
run() - Method in interface org.apache.apex.malhar.stream.api.ApexStream
Submit the application to cluster
run() - Method in class org.apache.apex.malhar.stream.api.impl.ApexStreamImpl
 
runEmbedded(boolean, long, Callable<Boolean>) - Method in interface org.apache.apex.malhar.stream.api.ApexStream
Run the stream application in local mode In Async mode, the method would return immediately and the dag would run for "duration" milliseconds In Sync mode, the method would block "duration" milliseconds to run the dag If duration is negative the dag would run forever until being killed
runEmbedded(boolean, long, Callable<Boolean>) - Method in class org.apache.apex.malhar.stream.api.impl.ApexStreamImpl
 

S

setGlobalAttribute(Attribute, Object) - Method in interface org.apache.apex.malhar.stream.api.ApexStream
Set attributes at the DAG level
setGlobalAttribute(Attribute, Object) - Method in class org.apache.apex.malhar.stream.api.impl.ApexStreamImpl
 
setIsAnnonymous(boolean) - Method in class org.apache.apex.malhar.stream.api.operator.FunctionOperator
 
setLastBrick(ApexStreamImpl.Brick<T>) - Method in class org.apache.apex.malhar.stream.api.impl.ApexStreamImpl
 
setLastOutput(Operator.OutputPort<T>) - Method in class org.apache.apex.malhar.stream.api.impl.ApexStreamImpl.Brick
 
setLastStream(Pair<Operator.OutputPort, Operator.InputPort>) - Method in class org.apache.apex.malhar.stream.api.impl.ApexStreamImpl.Brick
 
setStateful(boolean) - Method in class org.apache.apex.malhar.stream.api.operator.FunctionOperator
 
setStatefulF(FUNCTION) - Method in class org.apache.apex.malhar.stream.api.operator.FunctionOperator
 
setStatelessF(FUNCTION) - Method in class org.apache.apex.malhar.stream.api.operator.FunctionOperator
 
setup(Context.OperatorContext) - Method in class org.apache.apex.malhar.stream.api.operator.FunctionOperator
 
stateful - Variable in class org.apache.apex.malhar.stream.api.operator.FunctionOperator
 
statefulF - Variable in class org.apache.apex.malhar.stream.api.operator.FunctionOperator
 
statelessF - Variable in class org.apache.apex.malhar.stream.api.operator.FunctionOperator
 
StreamFactory - Class in org.apache.apex.malhar.stream.api.impl
A Factory class to build from different kind of input source
StreamFactory() - Constructor for class org.apache.apex.malhar.stream.api.impl.StreamFactory
 

T

teardown() - Method in class org.apache.apex.malhar.stream.api.operator.FunctionOperator
 
TupleUtil - Class in org.apache.apex.malhar.stream.api.util
The tuple util will be used to extract fields that are used as key or value
Or converting from data tuples to display tuples
Or generating watermark tuples
TupleUtil() - Constructor for class org.apache.apex.malhar.stream.api.util.TupleUtil
 
TupleUtil.NONE - Interface in org.apache.apex.malhar.stream.api.util
 

U

union(ApexStream<T>...) - Method in interface org.apache.apex.malhar.stream.api.ApexStream
Union multiple stream into one
union(ApexStream<T>...) - Method in class org.apache.apex.malhar.stream.api.impl.ApexStreamImpl
 

V

visit(int, int, String, String, String, String[]) - Method in class org.apache.apex.malhar.stream.api.operator.AnnonymousClassModifier
 
visitAnnotation(String, boolean) - Method in class org.apache.apex.malhar.stream.api.operator.AnnonymousClassModifier
 
visitAttribute(Attribute) - Method in class org.apache.apex.malhar.stream.api.operator.AnnonymousClassModifier
 
visitEnd() - Method in class org.apache.apex.malhar.stream.api.operator.AnnonymousClassModifier
 
visitField(int, String, String, String, Object) - Method in class org.apache.apex.malhar.stream.api.operator.AnnonymousClassModifier
 
visitInnerClass(String, String, String, int) - Method in class org.apache.apex.malhar.stream.api.operator.AnnonymousClassModifier
 
visitMethod(int, String, String, String, String[]) - Method in class org.apache.apex.malhar.stream.api.operator.AnnonymousClassModifier
 
visitOuterClass(String, String, String) - Method in class org.apache.apex.malhar.stream.api.operator.AnnonymousClassModifier
 
visitSource(String, String) - Method in class org.apache.apex.malhar.stream.api.operator.AnnonymousClassModifier
 

W

WindowedStream<T> - Interface in org.apache.apex.malhar.stream.api
A stream with windowed transformation
with(Attribute, Object) - Method in interface org.apache.apex.malhar.stream.api.ApexStream
Set the attribute value
If it is DAG attribute, it will be applied to the whole DAG
If it is Operator attribute, it will be applied to last connected operator
If it is InputPort attribute, it will be applied to the input port of the last connected stream
If it is OutputPort attribute, it will be applied to the output port of the last connected stream
If it is both InputPort&OutputPort attribute, it will be applied to last connected stream
with(DAG.Locality) - Method in interface org.apache.apex.malhar.stream.api.ApexStream
Set the locality
with(String, Object) - Method in interface org.apache.apex.malhar.stream.api.ApexStream
Set the property value of the last connected operator
with(Attribute, Object) - Method in class org.apache.apex.malhar.stream.api.impl.ApexStreamImpl
 
with(DAG.Locality) - Method in class org.apache.apex.malhar.stream.api.impl.ApexStreamImpl
 
with(String, Object) - Method in class org.apache.apex.malhar.stream.api.impl.ApexStreamImpl
 
A B C D E F G I K M O P R S T U V W 

Copyright © 2015-2016 Apache Software Foundation. All Rights Reserved.