public class PostgreSQLMetadataProcessor extends JDBCMetadataProcessor
useFullSchemaNameFQN, 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, 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, setSchemaPattern, setSequenceNamePattern, setStartQuoteString, setTableNamePattern, setTableTypes, setUseAnyIndexCardinality, setUseCatalogName, setUseFullSchemaName, setUseIntegralTypes, setUseProcedureSpecificName, setUseQualifiedName, setWidenUnsignedTypes, setWidenUnsingedTypes, shouldExcludeprotected String getRuntimeType(int type, String typeName, int precision)
getRuntimeType in class JDBCMetadataProcessorprotected String getNativeComponentType(String typeName)
JDBCMetadataProcessorgetNativeComponentType in class JDBCMetadataProcessorprotected Column addColumn(ResultSet columns, Table table, MetadataFactory metadataFactory, int rsColumns) throws SQLException
JDBCMetadataProcessoraddColumn in class JDBCMetadataProcessorSQLExceptionprotected String getGeographyMetadataTableName()
JDBCMetadataProcessorgetGeographyMetadataTableName in class JDBCMetadataProcessorprotected String getGeometryMetadataTableName()
JDBCMetadataProcessorgetGeometryMetadataTableName in class JDBCMetadataProcessorprotected ResultSet executeSequenceQuery(Connection conn) throws SQLException
JDBCMetadataProcessorexecuteSequenceQuery in class JDBCMetadataProcessorSQLExceptionprotected String getSequenceNextSQL(String fullyQualifiedName)
JDBCMetadataProcessorgetSequenceNextSQL in class JDBCMetadataProcessorprotected Table addTable(MetadataFactory metadataFactory, String tableCatalog, String tableSchema, String tableName, String remarks, String fullName, ResultSet tables) throws SQLException
addTable in class JDBCMetadataProcessorSQLExceptionCopyright © 2019. All rights reserved.