public interface ISqlTridentDataSource
A ISqlTridentDataSource specifies how an external data source produces and consumes data.
Modifier and Type | Interface and Description |
---|---|
static interface |
ISqlTridentDataSource.SqlTridentConsumer
SqlTridentConsumer is a data structure containing StateFactory and StateUpdater for consuming tuples with State.
|
Modifier and Type | Method and Description |
---|---|
ISqlTridentDataSource.SqlTridentConsumer |
getConsumer()
Provides instance of SqlTridentConsumer which can be used as consumer (State) in Trident.
|
ITridentDataSource |
getProducer()
Provides instance of ITridentDataSource which can be used as producer in Trident.
|
ITridentDataSource getProducer()
Provides instance of ITridentDataSource which can be used as producer in Trident.
Since ITridentDataSource is a marker interface for Trident Spout interfaces, this method should effectively return an instance of one of these interfaces (can be changed if Trident API evolves) or descendants: - IBatchSpout - ITridentSpout - IPartitionedTridentSpout - IOpaquePartitionedTridentSpout
ISqlTridentDataSource.SqlTridentConsumer getConsumer()
Provides instance of SqlTridentConsumer which can be used as consumer (State) in Trident.
ISqlTridentDataSource.SqlTridentConsumer
Copyright © 2019 The Apache Software Foundation. All Rights Reserved.