public class OracleMetadataProcessor extends JDBCMetadataProcessor
useFullSchemaName
FQN, SOURCE_PREFIX
Constructor and Description |
---|
OracleMetadataProcessor() |
Modifier and Type | Method and Description |
---|---|
protected ResultSet |
executeSequenceQuery(Connection conn)
Return a result set with three columns - sequence_catalog, sequence_schema, and sequence_name
or null if sequences are not supported
|
protected String |
getFullyQualifiedName(String catalogName,
String schemaName,
String objectName,
boolean quoted) |
protected void |
getGeometryMetadata(Column c,
Connection conn,
String tableCatalog,
String tableSchema,
String tableName,
String columnName)
Get the geospatial metadata for the column, including srid, type, and dimensionality
|
protected boolean |
getIndexInfoForTable(String catalogName,
String schemaName,
String tableName,
boolean uniqueOnly,
boolean approximateIndexes,
String tableType)
Override to control or disable the default index logic
|
protected String |
getRuntimeType(int type,
String typeName,
int precision,
int scale) |
protected String |
getSequenceNextSQL(String fullyQualifiedName)
Return the native sql for getting the next value or null if not supported
|
protected void |
getTableStatistics(Connection conn,
String catalog,
String schema,
String name,
Table table) |
boolean |
isHiddenSchema(String catalog,
String schema)
If the schema is hidden regardless of the specified schema pattern
|
boolean |
isUseGeometryType() |
void |
setUseGeometryType(boolean useGeometryType) |
addColumn, addTable, addTable, getCatalog, getCatalogTerm, getColumnNamePattern, getConnectorMetadata, getExcludeProcedures, getExcludeSequences, getExcludeTables, getGeographyMetadata, getGeographyMetadataTableName, getGeometryMetadataTableName, getGeospatialMetadata, getNativeComponentType, getProcedureNamePattern, getRuntimeType, getSchemaName, getSchemaPattern, getSchemaTerm, getSequenceNamePattern, getSequences, getTableNamePattern, getTableTerm, getTableTypes, isAutoCreateUniqueConstraints, isImportApproximateIndexes, isImportForeignKeys, isImportIndexes, isImportKeys, isImportLargeAsLob, isImportProcedures, isImportRowIdAsBinary, isImportSequences, isImportStatistics, isQuoteNameInSource, isUnsignedTypeName, isUseAnyIndexCardinality, isUseCatalogName, isUseFullSchemaName, isUseIntegralTypes, isUseProcedureSpecificName, isUseQualifiedName, isWidenUnsingedTypes, modifyProcedureNameInSource, process, quoteName, setAutoCreateUniqueConstraints, setCatalog, setColumnNamePattern, setEndQuoteString, setExcludeProcedures, setExcludeSequences, setExcludeTables, setImportApproximateIndexes, setImportForeignKeys, setImportIndexes, setImportKeys, setImportLargeAsLob, setImportProcedures, setImportRowIdAsBinary, setImportSequences, setImportStatistics, setProcedureNamePattern, setQuoteNameInSource, setQuoteString, setSchemaName, setSchemaPattern, setSequenceNamePattern, setStartQuoteString, setTableNamePattern, setTableTypes, setUseAnyIndexCardinality, setUseCatalogName, setUseFullSchemaName, setUseIntegralTypes, setUseProcedureSpecificName, setUseQualifiedName, setWidenUnsignedTypes, setWidenUnsingedTypes, shouldExclude
protected String getRuntimeType(int type, String typeName, int precision, int scale)
getRuntimeType
in class JDBCMetadataProcessor
protected void getTableStatistics(Connection conn, String catalog, String schema, String name, Table table) throws SQLException
getTableStatistics
in class JDBCMetadataProcessor
SQLException
protected boolean getIndexInfoForTable(String catalogName, String schemaName, String tableName, boolean uniqueOnly, boolean approximateIndexes, String tableType)
JDBCMetadataProcessor
getIndexInfoForTable
in class JDBCMetadataProcessor
@TranslatorProperty(display="Use Geometry Type", category=IMPORT, description="Use Teiid Geometry Type rather than an Object/Struct for SDO_GEOMETRY") public boolean isUseGeometryType()
public void setUseGeometryType(boolean useGeometryType)
protected void getGeometryMetadata(Column c, Connection conn, String tableCatalog, String tableSchema, String tableName, String columnName)
JDBCMetadataProcessor
getGeometryMetadata
in class JDBCMetadataProcessor
protected String getFullyQualifiedName(String catalogName, String schemaName, String objectName, boolean quoted)
getFullyQualifiedName
in class JDBCMetadataProcessor
protected ResultSet executeSequenceQuery(Connection conn) throws SQLException
JDBCMetadataProcessor
executeSequenceQuery
in class JDBCMetadataProcessor
SQLException
protected String getSequenceNextSQL(String fullyQualifiedName)
JDBCMetadataProcessor
getSequenceNextSQL
in class JDBCMetadataProcessor
public boolean isHiddenSchema(String catalog, String schema)
JDBCMetadataProcessor
isHiddenSchema
in class JDBCMetadataProcessor
Copyright © 2020. All rights reserved.