Uses of Interface
org.apache.storm.trident.windowing.WindowsStoreFactory
Package
Description
-
Uses of WindowsStoreFactory in org.apache.storm.starter.trident
Modifier and TypeMethodDescriptionstatic StormTopology
TridentWindowingInmemoryStoreTopology.buildTopology
(WindowsStoreFactory windowStore, WindowConfig windowConfig) -
Uses of WindowsStoreFactory in org.apache.storm.trident
Modifier and TypeMethodDescriptionStream.slidingWindow
(int windowCount, int slideCount, WindowsStoreFactory windowStoreFactory, Fields inputFields, Aggregator aggregator, Fields functionFields) Returns a stream of tuples which are aggregated results of a sliding window with everywindowCount
of tuples and slides the window afterslideCount
.Stream.slidingWindow
(BaseWindowedBolt.Duration windowDuration, BaseWindowedBolt.Duration slidingInterval, WindowsStoreFactory windowStoreFactory, Fields inputFields, Aggregator aggregator, Fields functionFields) Returns a stream of tuples which are aggregated results of a window which slides at duration ofslidingInterval
and completes a window atwindowDuration
.Stream.tumblingWindow
(int windowCount, WindowsStoreFactory windowStoreFactory, Fields inputFields, Aggregator aggregator, Fields functionFields) Returns a stream of tuples which are aggregated results of a tumbling window with everywindowCount
of tuples.Stream.tumblingWindow
(BaseWindowedBolt.Duration windowDuration, WindowsStoreFactory windowStoreFactory, Fields inputFields, Aggregator aggregator, Fields functionFields) Returns a stream of tuples which are aggregated results of a window that tumbles at duration ofwindowDuration
.Stream.window
(WindowConfig windowConfig, WindowsStoreFactory windowStoreFactory, Fields inputFields, Aggregator aggregator, Fields functionFields) Returns stream of aggregated results based on the given window configuration. -
Uses of WindowsStoreFactory in org.apache.storm.trident.windowing
Modifier and TypeClassDescriptionclass
InMemoryWindowsStoreFactory contains a single instance ofInMemoryWindowsStore
which will be used for storing tuples and triggers of the window.ModifierConstructorDescriptionWindowsStateUpdater
(WindowsStoreFactory windowStoreFactory) WindowTridentProcessor
(WindowConfig windowConfig, String uniqueWindowId, WindowsStoreFactory windowStoreFactory, Fields inputFields, Aggregator aggregator, boolean storeTuplesInStore)