Class GenericJdbcPlatform
- java.lang.Object
-
- org.apache.wayang.core.platform.Platform
-
- org.apache.wayang.jdbc.platform.JdbcPlatformTemplate
-
- org.apache.wayang.genericjdbc.platform.GenericJdbcPlatform
-
public class GenericJdbcPlatform extends JdbcPlatformTemplate
Platform
implementation for GenericJdbc.
-
-
Field Summary
-
Fields inherited from class org.apache.wayang.jdbc.platform.JdbcPlatformTemplate
coresProperty, cpuMhzProperty, jdbcPasswordProperty, jdbcUrlProperty, jdbcUserProperty
-
Fields inherited from class org.apache.wayang.core.platform.Platform
jsonSerializer
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
GenericJdbcPlatform()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DatabaseDescriptor
createDatabaseDescriptor(Configuration configuration, java.lang.String jdbcName)
Executor.Factory
getExecutorFactory()
SqlQueryChannel.Descriptor
getGenericSqlQueryChannelDescriptor()
static GenericJdbcPlatform
getInstance()
java.lang.String
getJdbcDriverClassName()
Provide the name of the JDBC driverClass
for this instance.-
Methods inherited from class org.apache.wayang.jdbc.platform.JdbcPlatformTemplate
configureDefaults, createDatabaseDescriptor, createLoadProfileToTimeConverter, createTimeToCostConverter, getConnection, getPlatformId, getSqlQueryChannelDescriptor
-
Methods inherited from class org.apache.wayang.core.platform.Platform
createExecutor, getConfigurationName, getInitializeMillis, getName, isSinglePlatformExecutionPossible, load, toString, warmUp
-
-
-
-
Method Detail
-
getInstance
public static GenericJdbcPlatform getInstance()
-
getGenericSqlQueryChannelDescriptor
public SqlQueryChannel.Descriptor getGenericSqlQueryChannelDescriptor()
-
getExecutorFactory
public Executor.Factory getExecutorFactory()
- Overrides:
getExecutorFactory
in classJdbcPlatformTemplate
-
getJdbcDriverClassName
public java.lang.String getJdbcDriverClassName()
Description copied from class:JdbcPlatformTemplate
Provide the name of the JDBC driverClass
for this instance.- Specified by:
getJdbcDriverClassName
in classJdbcPlatformTemplate
- Returns:
- the driver
Class
name
-
createDatabaseDescriptor
public DatabaseDescriptor createDatabaseDescriptor(Configuration configuration, java.lang.String jdbcName)
-
-