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

A

accumulate(Accumulation<T, ACCU, O>, Option...) - Method in class org.apache.apex.malhar.stream.api.impl.ApexWindowedStreamImpl
 
accumulate(Accumulation<T, ACCU, O>, Option...) - Method in interface org.apache.apex.malhar.stream.api.WindowedStream
Add WindowedOperatorImpl with specified Accumulation
Accumulate tuples by some key within the window definition in this stream Also give a name to the accumulation
accumulateByKey(Accumulation<V, ACCU, O>, Function.ToKeyValue<T, K, V>, Option...) - Method in class org.apache.apex.malhar.stream.api.impl.ApexWindowedStreamImpl
 
accumulateByKey(Accumulation<V, ACCU, O>, Function.ToKeyValue<T, K, V>, Option...) - Method in interface org.apache.apex.malhar.stream.api.WindowedStream
Add KeyedWindowedOperatorImpl with specified Accumulation
Accumulate tuples by some key within the window definition in this stream Also give a name to the accumulation
addCompositeStreams(CompositeStreamTransform<INSTREAM, OUTSTREAM>) - Method in interface org.apache.apex.malhar.stream.api.ApexStream
Extend the dag by adding one CompositeStreamTransform
addCompositeStreams(CompositeStreamTransform<INSTREAM, OUTSTREAM>) - Method in class org.apache.apex.malhar.stream.api.impl.ApexStreamImpl
 
addNode(Operator, DagMeta.NodeMeta, Operator.OutputPort, Operator.InputPort, Option...) - Method in class org.apache.apex.malhar.stream.api.impl.DagMeta
 
addOperator(Operator, Operator.InputPort<T>, Operator.OutputPort<O>, Option...) - 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>, Option...) - Method in class org.apache.apex.malhar.stream.api.impl.ApexStreamImpl
 
allowedLateness - Variable in class org.apache.apex.malhar.stream.api.impl.ApexWindowedStreamImpl
 
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(ApexStreamImpl<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
 
ApexWindowedStreamImpl<T> - Class in org.apache.apex.malhar.stream.api.impl
Default windowed stream implementation for WindowedStream interface.
ApexWindowedStreamImpl() - Constructor for class org.apache.apex.malhar.stream.api.impl.ApexWindowedStreamImpl
 
attr(Attribute<T>, T) - Static method in class org.apache.apex.malhar.stream.api.Option.Options
 

B

beforeCheckpoint(long) - Method in class org.apache.apex.malhar.stream.api.impl.TupleWrapperOperator
 
beginWindow(long) - Method in class org.apache.apex.malhar.stream.api.impl.TupleWrapperOperator
 
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
 

C

checkpointed(long) - Method in class org.apache.apex.malhar.stream.api.impl.TupleWrapperOperator
 
committed(long) - Method in class org.apache.apex.malhar.stream.api.impl.TupleWrapperOperator
 
compose(INSTREAM) - Method in class org.apache.apex.malhar.stream.api.CompositeStreamTransform
 
CompositeStreamTransform<INSTREAM extends ApexStream,OUTSTREAM extends ApexStream> - Class in org.apache.apex.malhar.stream.api
A group of Streams and transforms in between
CompositeStreamTransform() - Constructor for class org.apache.apex.malhar.stream.api.CompositeStreamTransform
 
count(Option...) - Method in class org.apache.apex.malhar.stream.api.impl.ApexWindowedStreamImpl
 
count(Option...) - Method in interface org.apache.apex.malhar.stream.api.WindowedStream
Count of all tuples
countByElement() - Method in class org.apache.apex.malhar.stream.api.impl.ApexStreamImpl
 
countByKey(Function.ToKeyValue<T, K, Long>, Option...) - Method in class org.apache.apex.malhar.stream.api.impl.ApexWindowedStreamImpl
 
countByKey(Function.ToKeyValue<T, K, Long>, Option...) - Method in interface org.apache.apex.malhar.stream.api.WindowedStream
Count tuples by the key
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
Logical graph data structure for DAG
With the build method(DagMeta.buildDAG(), DagMeta.buildDAG(DAG)) to convert it to Apex DAG
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, Option...) - Constructor for class org.apache.apex.malhar.stream.api.impl.DagMeta.NodeMeta
 

E

emitTuples() - Method in class org.apache.apex.malhar.stream.api.impl.TupleWrapperOperator
 
endWindow() - Method in class org.apache.apex.malhar.stream.api.impl.TupleWrapperOperator
 
endWith(Operator, Operator.InputPort<T>, Option...) - Method in interface org.apache.apex.malhar.stream.api.ApexStream
Extend the dag by adding one end operator
endWith(Operator, Operator.InputPort<T>, Option...) - Method in class org.apache.apex.malhar.stream.api.impl.ApexStreamImpl
 

F

filter(Function.FilterFunction<T>, Option...) - 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>, Option...) - Method in class org.apache.apex.malhar.stream.api.impl.ApexStreamImpl
 
flatMap(Function.FlatMapFunction<T, O>, Option...) - 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>, Option...) - Method in class org.apache.apex.malhar.stream.api.impl.ApexStreamImpl
 
fold(FoldFn<T, O>, Option...) - Method in class org.apache.apex.malhar.stream.api.impl.ApexWindowedStreamImpl
 
fold(FoldFn<T, O>, Option...) - Method in interface org.apache.apex.malhar.stream.api.WindowedStream
Add WindowedOperatorImpl with specified FoldFn
Fold transformation
foldByKey(FoldFn<V, O>, Function.ToKeyValue<T, K, V>, Option...) - Method in class org.apache.apex.malhar.stream.api.impl.ApexWindowedStreamImpl
 
foldByKey(FoldFn<V, O>, Function.ToKeyValue<T, K, V>, Option...) - Method in interface org.apache.apex.malhar.stream.api.WindowedStream
Add KeyedWindowedOperatorImpl with specified FoldFn
Fold transformation by key
fromFolder(String, Option...) - Static method in class org.apache.apex.malhar.stream.api.impl.StreamFactory
Create a stream of string tuples from reading files in hdfs folder line by line
fromFolder(String) - Static method in class org.apache.apex.malhar.stream.api.impl.StreamFactory
 
fromInput(InputOperator, Operator.OutputPort<T>, Option...) - Static method in class org.apache.apex.malhar.stream.api.impl.StreamFactory
Create a stream with any input operator
fromKafka08(String, String) - Static method in class org.apache.apex.malhar.stream.api.impl.StreamFactory
 
fromKafka08(String, String, Option...) - Static method in class org.apache.apex.malhar.stream.api.impl.StreamFactory
Create a stream of string reading input from kafka 0.8
fromKafka09(String, String, Option...) - Static method in class org.apache.apex.malhar.stream.api.impl.StreamFactory
Create stream of byte array messages from kafka 0.9
fromKafka09(String, String, PartitionStrategy, int, Option...) - Static method in class org.apache.apex.malhar.stream.api.impl.StreamFactory
Create stream of byte array messages from kafka 0.9 with more partition options

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
 
getAttr() - Method in class org.apache.apex.malhar.stream.api.Option.AttributeSetting
 
getChildren() - Method in class org.apache.apex.malhar.stream.api.impl.DagMeta.NodeMeta
 
getCount(boolean) - Method in class org.apache.apex.malhar.stream.api.impl.TupleWrapperOperator.OutputPortWrapper
 
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
 
getName() - Method in class org.apache.apex.malhar.stream.api.Option.OpName
 
getName() - Method in class org.apache.apex.malhar.stream.api.Option.PropSetting
 
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
 
getOperatorName() - 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
 
getSink() - Method in class org.apache.apex.malhar.stream.api.impl.TupleWrapperOperator.InputPortWrapper
 
getVal() - Method in class org.apache.apex.malhar.stream.api.Option.PropSetting
 
getValue() - Method in class org.apache.apex.malhar.stream.api.Option.AttributeSetting
 
graph - Variable in class org.apache.apex.malhar.stream.api.impl.ApexStreamImpl
Graph behind the stream
group() - Method in class org.apache.apex.malhar.stream.api.impl.ApexWindowedStreamImpl
 
group() - Method in interface org.apache.apex.malhar.stream.api.WindowedStream
Return tuples for each window
groupByKey(Function.ToKeyValue<T, K, O>, Option...) - Method in class org.apache.apex.malhar.stream.api.impl.ApexWindowedStreamImpl
 
groupByKey(Function.ToKeyValue<T, K, O>, Option...) - Method in interface org.apache.apex.malhar.stream.api.WindowedStream
Return tuples for each key for each window

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
 
input1 - Variable in class org.apache.apex.malhar.stream.api.impl.TupleWrapperOperator
 
input2 - Variable in class org.apache.apex.malhar.stream.api.impl.TupleWrapperOperator
 
input3 - Variable in class org.apache.apex.malhar.stream.api.impl.TupleWrapperOperator
 
input4 - Variable in class org.apache.apex.malhar.stream.api.impl.TupleWrapperOperator
 
input5 - Variable in class org.apache.apex.malhar.stream.api.impl.TupleWrapperOperator
 

L

lastBrick - Variable in class org.apache.apex.malhar.stream.api.impl.ApexStreamImpl
Right now the stream only support single extension point You can have multiple downstream operators connect to this single extension point though

M

map(Function.MapFunction<T, O>, Option...) - 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>, Option...) - Method in class org.apache.apex.malhar.stream.api.impl.ApexStreamImpl
 

N

name(String) - Static method in class org.apache.apex.malhar.stream.api.Option.Options
 
newStream(DagMeta, ApexStreamImpl.Brick<O>) - Method in class org.apache.apex.malhar.stream.api.impl.ApexStreamImpl
 
newStream(DagMeta, ApexStreamImpl.Brick<O>) - Method in class org.apache.apex.malhar.stream.api.impl.ApexWindowedStreamImpl
 

O

Option - Interface in org.apache.apex.malhar.stream.api
Options for the operators in the dag
Option.AttributeSetting<T> - Class in org.apache.apex.malhar.stream.api
An option used to set the Attribute
Option.AttributeSetting(Attribute<T>, T) - Constructor for class org.apache.apex.malhar.stream.api.Option.AttributeSetting
 
Option.OpName - Class in org.apache.apex.malhar.stream.api
An option used to set the name of the operator
Option.OpName(String) - Constructor for class org.apache.apex.malhar.stream.api.Option.OpName
 
Option.Options - Class in org.apache.apex.malhar.stream.api
 
Option.Options() - Constructor for class org.apache.apex.malhar.stream.api.Option.Options
 
Option.PropSetting - Class in org.apache.apex.malhar.stream.api
An option used to set the property value of the operator
Option.PropSetting(String, Object) - Constructor for class org.apache.apex.malhar.stream.api.Option.PropSetting
 
org.apache.apex.malhar.stream.api - package org.apache.apex.malhar.stream.api
 
org.apache.apex.malhar.stream.api.impl - package org.apache.apex.malhar.stream.api.impl
 
output1 - Variable in class org.apache.apex.malhar.stream.api.impl.TupleWrapperOperator
 
output2 - Variable in class org.apache.apex.malhar.stream.api.impl.TupleWrapperOperator
 
output3 - Variable in class org.apache.apex.malhar.stream.api.impl.TupleWrapperOperator
 
output4 - Variable in class org.apache.apex.malhar.stream.api.impl.TupleWrapperOperator
 
output5 - Variable in class org.apache.apex.malhar.stream.api.impl.TupleWrapperOperator
 

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(Option...) - Method in interface org.apache.apex.malhar.stream.api.ApexStream
Add a stdout console output operator
print() - Method in interface org.apache.apex.malhar.stream.api.ApexStream
Add a stdout console output operator
print(Option...) - Method in class org.apache.apex.malhar.stream.api.impl.ApexStreamImpl
 
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
 
process(Tuple) - Method in class org.apache.apex.malhar.stream.api.impl.TupleWrapperOperator.InputPortWrapper
 
prop(String, Object) - Static method in class org.apache.apex.malhar.stream.api.Option.Options
 
put(Object) - Method in class org.apache.apex.malhar.stream.api.impl.TupleWrapperOperator.OutputPortWrapper
 

R

reduce(ReduceFn<T>, Option...) - Method in class org.apache.apex.malhar.stream.api.impl.ApexWindowedStreamImpl
 
reduce(ReduceFn<T>, Option...) - Method in interface org.apache.apex.malhar.stream.api.WindowedStream
Add WindowedOperatorImpl with specified ReduceFn
Do reduce transformation
reduceByKey(ReduceFn<V>, Function.ToKeyValue<T, K, V>, Option...) - Method in class org.apache.apex.malhar.stream.api.impl.ApexWindowedStreamImpl
 
reduceByKey(ReduceFn<V>, Function.ToKeyValue<T, K, V>, Option...) - Method in interface org.apache.apex.malhar.stream.api.WindowedStream
Add KeyedWindowedOperatorImpl with specified ReduceFn
Reduce transformation by selected key
Add an operator to the DAG which merge tuple t1, t2 to new tuple by key
resetAllowedLateness(Duration) - Method in class org.apache.apex.malhar.stream.api.impl.ApexWindowedStreamImpl
 
resetAllowedLateness(Duration) - Method in interface org.apache.apex.malhar.stream.api.WindowedStream
Reset the allowedLateness settings for next transforms
resetTrigger(TriggerOption) - Method in class org.apache.apex.malhar.stream.api.impl.ApexWindowedStreamImpl
 
resetTrigger(TriggerOption) - Method in interface org.apache.apex.malhar.stream.api.WindowedStream
Reset the trigger settings for next transforms
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

setConnected(boolean) - Method in class org.apache.apex.malhar.stream.api.impl.TupleWrapperOperator.InputPortWrapper
 
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
 
setInput(DefaultInputPort) - Method in class org.apache.apex.malhar.stream.api.impl.TupleWrapperOperator.InputPortWrapper
 
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
 
setOperator(Operator) - Method in class org.apache.apex.malhar.stream.api.impl.TupleWrapperOperator
 
setup(Context.PortContext) - Method in class org.apache.apex.malhar.stream.api.impl.TupleWrapperOperator.InputPortWrapper
 
setup(Context.OperatorContext) - Method in class org.apache.apex.malhar.stream.api.impl.TupleWrapperOperator
 
StreamFactory - Class in org.apache.apex.malhar.stream.api.impl
A Factory class to build stream from different input sources
StreamFactory() - Constructor for class org.apache.apex.malhar.stream.api.impl.StreamFactory
 

T

teardown() - Method in class org.apache.apex.malhar.stream.api.impl.TupleWrapperOperator.InputPortWrapper
 
teardown() - Method in class org.apache.apex.malhar.stream.api.impl.TupleWrapperOperator
 
top(int, Option...) - Method in class org.apache.apex.malhar.stream.api.impl.ApexWindowedStreamImpl
 
top(int, Option...) - Method in interface org.apache.apex.malhar.stream.api.WindowedStream
Return top N tuples of all tuples in the window
topByKey(int, Function.ToKeyValue<T, K, V>, Option...) - Method in class org.apache.apex.malhar.stream.api.impl.ApexWindowedStreamImpl
 
topByKey(int, Function.ToKeyValue<T, K, V>, Option...) - Method in interface org.apache.apex.malhar.stream.api.WindowedStream
Return top N tuples by the selected key
triggerOption - Variable in class org.apache.apex.malhar.stream.api.impl.ApexWindowedStreamImpl
 
TupleWrapperOperator - Class in org.apache.apex.malhar.stream.api.impl
A wrapper operator that intercept the tuples and convert them between Tuple
TupleWrapperOperator() - Constructor for class org.apache.apex.malhar.stream.api.impl.TupleWrapperOperator
 
TupleWrapperOperator.InputPortWrapper - Class in org.apache.apex.malhar.stream.api.impl
 
TupleWrapperOperator.InputPortWrapper() - Constructor for class org.apache.apex.malhar.stream.api.impl.TupleWrapperOperator.InputPortWrapper
 
TupleWrapperOperator.OutputPortWrapper - Class in org.apache.apex.malhar.stream.api.impl
 
TupleWrapperOperator.OutputPortWrapper() - Constructor for class org.apache.apex.malhar.stream.api.impl.TupleWrapperOperator.OutputPortWrapper
 

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
 

W

window(WindowOption) - Method in interface org.apache.apex.malhar.stream.api.ApexStream
Chunk tuples into Windows Window Transform are defined in WindowedStream
window(WindowOption, TriggerOption) - Method in interface org.apache.apex.malhar.stream.api.ApexStream
Chunk tuple into windows with window option and trigger option
window(WindowOption, TriggerOption, Duration) - Method in interface org.apache.apex.malhar.stream.api.ApexStream
Chunk tuple into windows with window option and trigger option and allowed lateness
window(WindowOption) - Method in class org.apache.apex.malhar.stream.api.impl.ApexStreamImpl
 
window(WindowOption, TriggerOption) - Method in class org.apache.apex.malhar.stream.api.impl.ApexStreamImpl
 
window(WindowOption, TriggerOption, Duration) - Method in class org.apache.apex.malhar.stream.api.impl.ApexStreamImpl
 
WindowedStream<T> - Interface in org.apache.apex.malhar.stream.api
A stream with windowed transformation
windowOption - Variable in class org.apache.apex.malhar.stream.api.impl.ApexWindowedStreamImpl
 
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 L M N O P R S T U W 

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