public class PostgreSQLMetadataProcessor extends JDBCMetadataProcessor
useFullSchemaName
FQN, SOURCE_PREFIX
Constructor and Description |
---|
PostgreSQLMetadataProcessor() |
Modifier and Type | Method and Description |
---|---|
protected Column |
addColumn(ResultSet columns,
Table table,
MetadataFactory metadataFactory,
int rsColumns)
Add a column to the given table based upon the current row of the columns resultset
|
protected Table |
addTable(MetadataFactory metadataFactory,
String tableCatalog,
String tableSchema,
String tableName,
String remarks,
String fullName,
ResultSet tables) |
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 |
getGeographyMetadataTableName()
Return the name of the metadata table or view for geography metadata
that conforms to the simple features specification or null if none exists
|
protected String |
getGeometryMetadataTableName()
Return the name of the metadata table or view for geometry metadata
that conforms to the simple features specification or null if none exists
|
protected String |
getNativeComponentType(String typeName)
Extract the native component type from the typeName,
or return null if that is not possible.
|
protected String |
getRuntimeType(int type,
String typeName,
int precision) |
protected String |
getSequenceNextSQL(String fullyQualifiedName)
Return the native sql for getting the next value or null if not supported
|
addTable, getCatalog, getCatalogTerm, getColumnNamePattern, getConnectorMetadata, getExcludeProcedures, getExcludeSequences, getExcludeTables, getFullyQualifiedName, getGeographyMetadata, getGeometryMetadata, getGeospatialMetadata, getIndexInfoForTable, getProcedureNamePattern, getRuntimeType, getSchemaName, getSchemaPattern, getSchemaTerm, getSequenceNamePattern, getSequences, getTableNamePattern, getTableStatistics, getTableTerm, getTableTypes, isAutoCreateUniqueConstraints, isHiddenSchema, 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)
getRuntimeType
in class JDBCMetadataProcessor
protected String getNativeComponentType(String typeName)
JDBCMetadataProcessor
getNativeComponentType
in class JDBCMetadataProcessor
protected Column addColumn(ResultSet columns, Table table, MetadataFactory metadataFactory, int rsColumns) throws SQLException
JDBCMetadataProcessor
addColumn
in class JDBCMetadataProcessor
SQLException
protected String getGeographyMetadataTableName()
JDBCMetadataProcessor
getGeographyMetadataTableName
in class JDBCMetadataProcessor
protected String getGeometryMetadataTableName()
JDBCMetadataProcessor
getGeometryMetadataTableName
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
protected Table addTable(MetadataFactory metadataFactory, String tableCatalog, String tableSchema, String tableName, String remarks, String fullName, ResultSet tables) throws SQLException
addTable
in class JDBCMetadataProcessor
SQLException
Copyright © 2019. All rights reserved.