Package org.apache.storm.jdbc.topology
Class AbstractUserTopology
java.lang.Object
org.apache.storm.jdbc.topology.AbstractUserTopology
- Direct Known Subclasses:
UserPersistenceTopology
,UserPersistenceTridentTopology
For topology-related code reusage.
-
Field Summary
Modifier and TypeFieldDescriptionprotected ConnectionProvider
protected static final String
protected JdbcLookupMapper
protected JdbcMapper
protected static final String
protected static final String
protected UserSpout
-
Constructor Summary
-
Method Summary
-
Field Details
-
userSpout
-
jdbcMapper
-
jdbcLookupMapper
-
connectionProvider
-
TABLE_NAME
- See Also:
-
JDBC_CONF
- See Also:
-
SELECT_QUERY
- See Also:
-
-
Constructor Details
-
AbstractUserTopology
public AbstractUserTopology()
-
-
Method Details
-
execute
A main method template to extend.- Parameters:
args
- main method arguments- Throws:
Exception
- any expection occuring durch cluster setup or operation
-
getTopology
-