Uses of Interface
org.apache.storm.trident.tuple.TridentTuple
-
-
Uses of TridentTuple in org.apache.storm.hdfs.trident
Method parameters in org.apache.storm.hdfs.trident with type arguments of type TridentTuple Modifier and Type Method Description voidHdfsState.HdfsFileOptions. execute(List<TridentTuple> tuples)voidHdfsState.SequenceFileOptions. execute(List<TridentTuple> tuples)voidHdfsState. updateState(List<TridentTuple> tuples, TridentCollector tridentCollector)voidHdfsUpdater. updateState(HdfsState state, List<TridentTuple> tuples, TridentCollector collector) -
Uses of TridentTuple in org.apache.storm.hdfs.trident.format
Methods in org.apache.storm.hdfs.trident.format with parameters of type TridentTuple Modifier and Type Method Description byte[]DelimitedRecordFormat. format(TridentTuple tuple)byte[]RecordFormat. format(TridentTuple tuple)org.apache.hadoop.io.WritableDefaultSequenceFormat. key(TridentTuple tuple)org.apache.hadoop.io.WritableSequenceFormat. key(TridentTuple tuple)Given a tuple, return the key that should be written to the sequence file.org.apache.hadoop.io.WritableDefaultSequenceFormat. value(TridentTuple tuple)org.apache.hadoop.io.WritableSequenceFormat. value(TridentTuple tuple)Given a tuple, return the value that should be written to the sequence file. -
Uses of TridentTuple in org.apache.storm.hdfs.trident.rotation
Methods in org.apache.storm.hdfs.trident.rotation with parameters of type TridentTuple Modifier and Type Method Description booleanFileRotationPolicy. mark(TridentTuple tuple, long offset)Called for every tuple the HdfsBolt executes.booleanFileSizeRotationPolicy. mark(TridentTuple tuple, long offset)booleanNoRotationPolicy. mark(TridentTuple tuple, long offset)booleanTimedRotationPolicy. mark(TridentTuple tuple, long offset)Called for every tuple the HdfsBolt executes. -
Uses of TridentTuple in org.apache.storm.hdfs.trident.sync
Methods in org.apache.storm.hdfs.trident.sync with parameters of type TridentTuple Modifier and Type Method Description booleanCountSyncPolicy. mark(TridentTuple tuple, long offset)booleanSyncPolicy. mark(TridentTuple tuple, long offset)Called for every tuple the HdfsBolt executes. -
Uses of TridentTuple in org.apache.storm.hive.bolt.mapper
Methods in org.apache.storm.hive.bolt.mapper with parameters of type TridentTuple Modifier and Type Method Description List<String>DelimitedRecordHiveMapper. mapPartitions(TridentTuple tuple)Deprecated, for removal: This API element is subject to removal in a future version.List<String>HiveMapper. mapPartitions(TridentTuple tuple)Deprecated, for removal: This API element is subject to removal in a future version.Given a TridetnTuple, return a hive partition values list.List<String>JsonRecordHiveMapper. mapPartitions(TridentTuple tuple)Deprecated, for removal: This API element is subject to removal in a future version.byte[]DelimitedRecordHiveMapper. mapRecord(TridentTuple tuple)Deprecated, for removal: This API element is subject to removal in a future version.byte[]HiveMapper. mapRecord(TridentTuple tuple)Deprecated, for removal: This API element is subject to removal in a future version.Given a TridentTuple, maps to a HiveRecord based on columnFields.byte[]JsonRecordHiveMapper. mapRecord(TridentTuple tuple)Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of TridentTuple in org.apache.storm.hive.trident
Method parameters in org.apache.storm.hive.trident with type arguments of type TridentTuple Modifier and Type Method Description voidHiveState. updateState(List<TridentTuple> tuples, TridentCollector collector)Deprecated, for removal: This API element is subject to removal in a future version.voidHiveUpdater. updateState(HiveState state, List<TridentTuple> tuples, TridentCollector collector)Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of TridentTuple in org.apache.storm.jdbc.trident.state
Methods in org.apache.storm.jdbc.trident.state with parameters of type TridentTuple Modifier and Type Method Description voidJdbcQuery. execute(TridentTuple tuples, List<Values> values, TridentCollector tridentCollector)Method parameters in org.apache.storm.jdbc.trident.state with type arguments of type TridentTuple Modifier and Type Method Description List<List<Values>>JdbcQuery. batchRetrieve(JdbcState jdbcState, List<TridentTuple> tridentTuples)List<List<Values>>JdbcState. batchRetrieve(List<TridentTuple> tridentTuples)voidJdbcState. updateState(List<TridentTuple> tuples, TridentCollector collector)voidJdbcUpdater. updateState(JdbcState jdbcState, List<TridentTuple> tuples, TridentCollector collector) -
Uses of TridentTuple in org.apache.storm.jms.trident
Method parameters in org.apache.storm.jms.trident with type arguments of type TridentTuple Modifier and Type Method Description voidJmsState. updateState(List<TridentTuple> tuples, TridentCollector collector)voidJmsUpdater. updateState(JmsState jmsState, List<TridentTuple> tuples, TridentCollector collector) -
Uses of TridentTuple in org.apache.storm.kafka.trident
Method parameters in org.apache.storm.kafka.trident with type arguments of type TridentTuple Modifier and Type Method Description voidTridentKafkaState. updateState(List<TridentTuple> tuples, TridentCollector collector)Write the given tuples to Kafka.voidTridentKafkaStateUpdater. updateState(TridentKafkaState<K,V> state, List<TridentTuple> tuples, TridentCollector collector) -
Uses of TridentTuple in org.apache.storm.kafka.trident.mapper
Methods in org.apache.storm.kafka.trident.mapper with parameters of type TridentTuple Modifier and Type Method Description KFieldNameBasedTupleToKafkaMapper. getKeyFromTuple(TridentTuple tuple)KTridentTupleToKafkaMapper. getKeyFromTuple(TridentTuple tuple)VFieldNameBasedTupleToKafkaMapper. getMessageFromTuple(TridentTuple tuple)VTridentTupleToKafkaMapper. getMessageFromTuple(TridentTuple tuple) -
Uses of TridentTuple in org.apache.storm.kafka.trident.selector
Methods in org.apache.storm.kafka.trident.selector with parameters of type TridentTuple Modifier and Type Method Description StringDefaultTopicSelector. getTopic(TridentTuple tuple)StringKafkaTopicSelector. getTopic(TridentTuple tuple) -
Uses of TridentTuple in org.apache.storm.redis.trident
Methods in org.apache.storm.redis.trident with parameters of type TridentTuple Modifier and Type Method Description voidPrintFunction. execute(TridentTuple tuple, TridentCollector tridentCollector) -
Uses of TridentTuple in org.apache.storm.redis.trident.state
Methods in org.apache.storm.redis.trident.state with parameters of type TridentTuple Modifier and Type Method Description voidAbstractRedisStateQuerier. execute(TridentTuple tuple, List<Values> values, TridentCollector collector)Method parameters in org.apache.storm.redis.trident.state with type arguments of type TridentTuple Modifier and Type Method Description List<List<Values>>AbstractRedisStateQuerier. batchRetrieve(T state, List<TridentTuple> inputs)voidAbstractRedisStateUpdater. updateState(T state, List<TridentTuple> inputs, TridentCollector collector) -
Uses of TridentTuple in org.apache.storm.starter.trident
Methods in org.apache.storm.starter.trident with parameters of type TridentTuple Modifier and Type Method Description voidTridentReach.ExpandList. execute(TridentTuple tuple, TridentCollector collector)voidTridentWordCount.Split. execute(TridentTuple tuple, TridentCollector collector)IntegerTridentReach.One. init(TridentTuple tuple) -
Uses of TridentTuple in org.apache.storm.trident
Method parameters in org.apache.storm.trident with type arguments of type TridentTuple Modifier and Type Method Description StreamStream. max(Comparator<TridentTuple> comparator)This aggregator operation computes the maximum of tuples in a stream by using the givencomparatorwithTridentTuples.StreamStream. min(Comparator<TridentTuple> comparator)This aggregator operation computes the minimum of tuples in a stream by using the givencomparatorwithTridentTuples. -
Uses of TridentTuple in org.apache.storm.trident.drpc
Methods in org.apache.storm.trident.drpc with parameters of type TridentTuple Modifier and Type Method Description voidReturnResultsReducer. execute(ReturnResultsReducer.ReturnResultsState state, int streamIndex, TridentTuple input, TridentCollector collector) -
Uses of TridentTuple in org.apache.storm.trident.operation
Methods in org.apache.storm.trident.operation with parameters of type TridentTuple Modifier and Type Method Description voidConsumer. accept(TridentTuple input)Performs the operation on the input trident tuple.voidAggregator. aggregate(T val, TridentTuple tuple, TridentCollector collector)voidGroupedMultiReducer. complete(T state, TridentTuple group, TridentCollector collector)Iterable<Values>FlatMapFunction. execute(TridentTuple input)Invoked by the framework for each trident tuple in a stream.voidFunction. execute(TridentTuple tuple, TridentCollector collector)Performs the function logic on an individual tuple and emits 0 or more tuples.voidGroupedMultiReducer. execute(T state, int streamIndex, TridentTuple group, TridentTuple input, TridentCollector collector)ValuesMapFunction. execute(TridentTuple input)Invoked by the framework for each trident tuple in a stream.voidMultiReducer. execute(T state, int streamIndex, TridentTuple input, TridentCollector collector)TCombinerAggregator. init(TridentTuple tuple)TGroupedMultiReducer. init(TridentCollector collector, TridentTuple group)booleanFilter. isKeep(TridentTuple tuple)Determines if a tuple should be filtered out of a stream.TReducerAggregator. reduce(T curr, TridentTuple tuple) -
Uses of TridentTuple in org.apache.storm.trident.operation.builtin
Methods in org.apache.storm.trident.operation.builtin with parameters of type TridentTuple Modifier and Type Method Description voidComparisonAggregator. aggregate(ComparisonAggregator.State state, TridentTuple tuple, TridentCollector collector)voidFirstN.FirstNAgg. aggregate(org.apache.storm.trident.operation.builtin.FirstN.FirstNAgg.State val, TridentTuple tuple, TridentCollector collector)voidFirstN.FirstNSortedAgg. aggregate(PriorityQueue state, TridentTuple tuple, TridentCollector collector)voidMapGet. execute(TridentTuple tuple, Object result, TridentCollector collector)voidSnapshotGet. execute(TridentTuple tuple, Object result, TridentCollector collector)voidTupleCollectionGet. execute(TridentTuple tuple, Iterator<List<Object>> tuplesIterator, TridentCollector collector)LongCount. init(TridentTuple tuple)NumberSum. init(TridentTuple tuple)booleanDebug. isKeep(TridentTuple tuple)booleanEquals. isKeep(TridentTuple tuple)booleanFilterNull. isKeep(TridentTuple tuple)booleanNegate. isKeep(TridentTuple tuple)protected TComparisonAggregator. valueFromTuple(TridentTuple tuple)Method parameters in org.apache.storm.trident.operation.builtin with type arguments of type TridentTuple Modifier and Type Method Description List<Object>MapGet. batchRetrieve(ReadOnlyMapState map, List<TridentTuple> keys)List<Object>SnapshotGet. batchRetrieve(ReadOnlySnapshottable state, List<TridentTuple> args)List<Iterator<List<Object>>>TupleCollectionGet. batchRetrieve(State state, List<TridentTuple> args) -
Uses of TridentTuple in org.apache.storm.trident.operation.impl
Methods in org.apache.storm.trident.operation.impl that return types with arguments of type TridentTuple Modifier and Type Method Description Map<TridentTuple,Object>GroupedMultiReducerExecutor. init(TridentCollector collector)Methods in org.apache.storm.trident.operation.impl with parameters of type TridentTuple Modifier and Type Method Description voidChainedAggregatorImpl. aggregate(ChainedResult val, TridentTuple tuple, TridentCollector collector)voidCombinerAggregatorCombineImpl. aggregate(Result val, TridentTuple tuple, TridentCollector collector)voidGroupedAggregator. aggregate(Object[] arr, TridentTuple tuple, TridentCollector collector)voidReducerAggregatorImpl. aggregate(Result val, TridentTuple tuple, TridentCollector collector)voidSingleEmitAggregator. aggregate(org.apache.storm.trident.operation.impl.SingleEmitAggregator.SingleEmitState val, TridentTuple tuple, TridentCollector collector)voidJoinerMultiReducer. complete(JoinState state, TridentTuple group, TridentCollector collector)voidPreservingFieldsOrderJoinerMultiReducer. complete(JoinState state, TridentTuple group, TridentCollector collector)voidCombinerAggregatorInitImpl. execute(TridentTuple tuple, TridentCollector collector)voidConsumerExecutor. execute(TridentTuple tuple, TridentCollector collector)voidFilterExecutor. execute(TridentTuple tuple, TridentCollector collector)voidFlatMapFunctionExecutor. execute(TridentTuple tuple, TridentCollector collector)voidGroupedMultiReducerExecutor. execute(Map<TridentTuple,Object> state, int streamIndex, TridentTuple full, TridentCollector collector)voidIdentityMultiReducer. execute(T state, int streamIndex, TridentTuple input, TridentCollector collector)voidJoinerMultiReducer. execute(JoinState state, int streamIndex, TridentTuple group, TridentTuple input, TridentCollector collector)voidMapFunctionExecutor. execute(TridentTuple tuple, TridentCollector collector)voidPreservingFieldsOrderJoinerMultiReducer. execute(JoinState state, int streamIndex, TridentTuple group, TridentTuple input, TridentCollector collector)JoinStateJoinerMultiReducer. init(TridentCollector collector, TridentTuple group)JoinStatePreservingFieldsOrderJoinerMultiReducer. init(TridentCollector collector, TridentTuple group)booleanTrueFilter. isKeep(TridentTuple tuple)Method parameters in org.apache.storm.trident.operation.impl with type arguments of type TridentTuple Modifier and Type Method Description voidGroupedMultiReducerExecutor. complete(Map<TridentTuple,Object> state, TridentCollector collector)voidGroupedMultiReducerExecutor. execute(Map<TridentTuple,Object> state, int streamIndex, TridentTuple full, TridentCollector collector)voidCombinerAggStateUpdater. updateState(Snapshottable state, List<TridentTuple> tuples, TridentCollector collector)voidReducerAggStateUpdater. updateState(Snapshottable state, List<TridentTuple> tuples, TridentCollector collector)Constructors in org.apache.storm.trident.operation.impl with parameters of type TridentTuple Constructor Description JoinState(int numSides, TridentTuple group) -
Uses of TridentTuple in org.apache.storm.trident.planner
Methods in org.apache.storm.trident.planner with parameters of type TridentTuple Modifier and Type Method Description voidBridgeReceiver. execute(ProcessorContext context, String streamId, TridentTuple tuple)voidTupleReceiver. execute(ProcessorContext processorContext, String streamId, TridentTuple tuple) -
Uses of TridentTuple in org.apache.storm.trident.planner.processor
Methods in org.apache.storm.trident.planner.processor with parameters of type TridentTuple Modifier and Type Method Description voidAggregateProcessor. execute(ProcessorContext processorContext, String streamId, TridentTuple tuple)voidEachProcessor. execute(ProcessorContext processorContext, String streamId, TridentTuple tuple)voidMapProcessor. execute(ProcessorContext processorContext, String streamId, TridentTuple tuple)voidMultiReducerProcessor. execute(ProcessorContext processorContext, String streamId, TridentTuple tuple)voidPartitionPersistProcessor. execute(ProcessorContext processorContext, String streamId, TridentTuple tuple)voidProjectedProcessor. execute(ProcessorContext processorContext, String streamId, TridentTuple tuple)voidStateQueryProcessor. execute(ProcessorContext processorContext, String streamId, TridentTuple tuple)voidAppendCollector. setContext(ProcessorContext pc, TridentTuple t) -
Uses of TridentTuple in org.apache.storm.trident.state
Methods in org.apache.storm.trident.state with parameters of type TridentTuple Modifier and Type Method Description voidQueryFunction. execute(TridentTuple tuple, T result, TridentCollector collector)Method parameters in org.apache.storm.trident.state with type arguments of type TridentTuple Modifier and Type Method Description List<T>QueryFunction. batchRetrieve(S state, List<TridentTuple> args)voidStateUpdater. updateState(S state, List<TridentTuple> tuples, TridentCollector collector)Constructor parameters in org.apache.storm.trident.state with type arguments of type TridentTuple Constructor Description ReducerValueUpdater(ReducerAggregator agg, List<TridentTuple> tuples) -
Uses of TridentTuple in org.apache.storm.trident.state.map
Method parameters in org.apache.storm.trident.state.map with type arguments of type TridentTuple Modifier and Type Method Description voidMapCombinerAggStateUpdater. updateState(MapState map, List<TridentTuple> tuples, TridentCollector collector)voidMapReducerAggStateUpdater. updateState(MapState map, List<TridentTuple> tuples, TridentCollector collector) -
Uses of TridentTuple in org.apache.storm.trident.testing
Methods in org.apache.storm.trident.testing with parameters of type TridentTuple Modifier and Type Method Description voidCountAsAggregator. aggregate(org.apache.storm.trident.testing.CountAsAggregator.State state, TridentTuple tuple, TridentCollector collector)voidSplit. execute(TridentTuple tuple, TridentCollector collector)voidStringLength. execute(TridentTuple tuple, TridentCollector collector)voidTuplifyArgs. execute(TridentTuple input, TridentCollector collector)booleanTrueFilter. isKeep(TridentTuple tuple) -
Uses of TridentTuple in org.apache.storm.trident.tuple
Classes in org.apache.storm.trident.tuple that implement TridentTuple Modifier and Type Class Description classTridentTupleViewExtends AbstractList so that it can be emitted directly as Storm tuples.Methods in org.apache.storm.trident.tuple that return TridentTuple Modifier and Type Method Description TridentTupleTridentTupleView.FreshOutputFactory. create(List<Object> selfVals)TridentTupleTridentTupleView.OperationOutputFactory. create(TridentTupleView parent, List<Object> selfVals)TridentTupleTridentTupleView.ProjectionFactory. create(TridentTuple parent)TridentTupleTridentTupleView.RootFactory. create(Tuple parent)static TridentTupleTridentTupleView. createFreshTuple(Fields fields, Object... values)static TridentTupleTridentTupleView. createFreshTuple(Fields fields, List<Object> values)Methods in org.apache.storm.trident.tuple with parameters of type TridentTuple Modifier and Type Method Description TridentTupleTridentTupleView.ProjectionFactory. create(TridentTuple parent) -
Uses of TridentTuple in org.apache.storm.trident.windowing
Methods in org.apache.storm.trident.windowing that return TridentTuple Modifier and Type Method Description TridentTupleStoreBasedTridentWindowManager. collectTridentTupleOrKey(TridentBatchTuple tridentBatchTuple, List<String> keys)Methods in org.apache.storm.trident.windowing that return types with arguments of type TridentTuple Modifier and Type Method Description protected abstract List<TridentTuple>AbstractTridentWindowManager. getTridentTuples(List<T> tupleEvents)ReturnTridentTuples from giventupleEvents.List<TridentTuple>InMemoryTridentWindowManager. getTridentTuples(List<TridentTuple> tridentBatchTuples)List<TridentTuple>StoreBasedTridentWindowManager. getTridentTuples(List<TridentBatchTuple> tridentBatchTuples)Methods in org.apache.storm.trident.windowing with parameters of type TridentTuple Modifier and Type Method Description voidWindowTridentProcessor. execute(ProcessorContext processorContext, String streamId, TridentTuple tuple)Method parameters in org.apache.storm.trident.windowing with type arguments of type TridentTuple Modifier and Type Method Description voidInMemoryTridentWindowManager. addTuplesBatch(Object batchId, List<TridentTuple> tuples)voidITridentWindowManager. addTuplesBatch(Object batchId, List<TridentTuple> tuples)Add received batch of tuples to cache/store and add them toWindowManager.voidStoreBasedTridentWindowManager. addTuplesBatch(Object batchId, List<TridentTuple> tuples)List<TridentTuple>InMemoryTridentWindowManager. getTridentTuples(List<TridentTuple> tridentBatchTuples)voidInMemoryTridentWindowManager. onTuplesExpired(List<TridentTuple> expiredTuples)voidWindowsStateUpdater. updateState(WindowsState state, List<TridentTuple> tuples, TridentCollector collector)Constructors in org.apache.storm.trident.windowing with parameters of type TridentTuple Constructor Description TridentBatchTuple(String effectiveBatchId, long timeStamp, int tupleIndex, TridentTuple tridentTuple)
-