Package org.apache.storm.jdbc.mapper
Class SimpleJdbcMapper
java.lang.Object
org.apache.storm.jdbc.mapper.SimpleJdbcMapper
- All Implemented Interfaces:
Serializable
,JdbcMapper
- Direct Known Subclasses:
SimpleJdbcLookupMapper
- See Also:
-
Constructor Summary
ConstructorDescriptionSimpleJdbcMapper
(String tableName, ConnectionProvider connectionProvider) SimpleJdbcMapper
(List<Column> schemaColumns) -
Method Summary
-
Constructor Details
-
SimpleJdbcMapper
-
SimpleJdbcMapper
-
-
Method Details
-
getColumns
Description copied from interface:JdbcMapper
Get columns.- Specified by:
getColumns
in interfaceJdbcMapper
- Returns:
- list of columns that represents one row in a DB table.
-