Class JdbcState.Options
- java.lang.Object
-
- org.apache.storm.jdbc.trident.state.JdbcState.Options
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- JdbcState
public static class JdbcState.Options extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Options()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JdbcState.OptionswithConnectionProvider(ConnectionProvider connectionProvider)JdbcState.OptionswithInsertQuery(String insertQuery)JdbcState.OptionswithJdbcLookupMapper(JdbcLookupMapper jdbcLookupMapper)JdbcState.OptionswithMapper(JdbcMapper mapper)JdbcState.OptionswithQueryTimeoutSecs(int queryTimeoutSecs)JdbcState.OptionswithSelectQuery(String selectQuery)JdbcState.OptionswithTableName(String tableName)
-
-
-
Method Detail
-
withConnectionProvider
public JdbcState.Options withConnectionProvider(ConnectionProvider connectionProvider)
-
withTableName
public JdbcState.Options withTableName(String tableName)
-
withInsertQuery
public JdbcState.Options withInsertQuery(String insertQuery)
-
withMapper
public JdbcState.Options withMapper(JdbcMapper mapper)
-
withJdbcLookupMapper
public JdbcState.Options withJdbcLookupMapper(JdbcLookupMapper jdbcLookupMapper)
-
withSelectQuery
public JdbcState.Options withSelectQuery(String selectQuery)
-
withQueryTimeoutSecs
public JdbcState.Options withQueryTimeoutSecs(int queryTimeoutSecs)
-
-