Class DatabaseAdapterDatabaseDialectService
java.lang.Object
org.apache.nifi.components.AbstractConfigurableComponent
org.apache.nifi.controller.AbstractControllerService
org.apache.nifi.processors.standard.db.DatabaseAdapterDatabaseDialectService
- All Implemented Interfaces:
org.apache.nifi.components.ConfigurableComponent,org.apache.nifi.controller.ControllerService,DatabaseDialectService
class DatabaseAdapterDatabaseDialectService
extends org.apache.nifi.controller.AbstractControllerService
implements DatabaseDialectService
Transitional internal implementation of Database Dialect Service bridging to existing Database Adapters
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final intprivate static final charprivate final DatabaseAdapterprivate static final Stringprivate static final charprivate final Set<StatementType> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate List<ColumnDescription> getColumnDescriptions(TableDefinition tableDefinition) private StringgetSelectStatement(StatementRequest statementRequest) private StringgetSelectTableColumns(List<ColumnDefinition> columnDefinitions) getStatement(StatementRequest statementRequest) private TableSchemagetTableSchema(TableDefinition tableDefinition) Methods inherited from class org.apache.nifi.controller.AbstractControllerService
abstractClearConfigContext, abstractStoreConfigContext, disabled, enabled, getConfigurationContext, getControllerServiceLookup, getIdentifier, getLogger, getNodeTypeProvider, getProperty, getStateManager, init, initialize, isEnabledMethods inherited from class org.apache.nifi.components.AbstractConfigurableComponent
customValidate, equals, getPropertyDescriptor, getPropertyDescriptors, getSupportedDynamicPropertyDescriptor, getSupportedPropertyDescriptors, hashCode, onPropertyModified, toString, validateMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.nifi.components.ConfigurableComponent
getIdentifier, getPropertyDescriptor, getPropertyDescriptors, onPropertyModified, validateMethods inherited from interface org.apache.nifi.controller.ControllerService
initialize, isStateful, migrateProperties
-
Field Details
-
SPACE_SEPARATOR
private static final char SPACE_SEPARATOR- See Also:
-
COMMA_SEPARATOR
private static final char COMMA_SEPARATOR- See Also:
-
COLUMN_SIZE_IGNORED
private static final int COLUMN_SIZE_IGNORED- See Also:
-
DOUBLE_QUOTE
- See Also:
-
databaseAdapter
-
supportedStatementTypes
-
-
Constructor Details
-
DatabaseAdapterDatabaseDialectService
-
-
Method Details
-
getStatement
- Specified by:
getStatementin interfaceDatabaseDialectService
-
getSupportedStatementTypes
- Specified by:
getSupportedStatementTypesin interfaceDatabaseDialectService
-
getSelectStatement
-
getSelectTableColumns
-
getColumnDescriptions
-
getTableSchema
-