public class PostgisDSMetadata extends java.lang.Object implements DataStoreMetadata
Constructor and Description |
---|
PostgisDSMetadata(PostgisDSConnection conn) |
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
getColumnNames(java.lang.String datasetName) |
java.lang.String[] |
getDatasetNames() |
com.vividsolutions.jts.geom.Envelope |
getExtents(java.lang.String datasetName,
java.lang.String attributeName) |
java.lang.String[] |
getGeometryAttributeNames(java.lang.String datasetName)
Deprecated.
|
java.util.List<GeometryColumn> |
getGeometryAttributes(java.lang.String datasetName) |
java.lang.String |
getGeometryIndicesQuery(java.lang.String schema,
java.lang.String table,
java.lang.String column)
Deprecated.
initially thought that statistic used by ST_Estimated_Extent was
depending on whether a spatial index exists or not. Finally, statistics and
index seem to be two independant things
|
java.util.List<PrimaryKeyColumn> |
getPrimaryKeyColumns(java.lang.String datasetName)
Returns PRIMARY KEY columns of dataset names.
|
SpatialReferenceSystemID |
getSRID(java.lang.String tableName,
java.lang.String colName)
Deprecated.
|
boolean |
isIndexed(java.lang.String schema,
java.lang.String table,
java.lang.String column)
Returns whether column is used by a spatial index (Gist) or not.
|
public PostgisDSMetadata(PostgisDSConnection conn)
public java.lang.String[] getDatasetNames()
getDatasetNames
in interface DataStoreMetadata
public com.vividsolutions.jts.geom.Envelope getExtents(java.lang.String datasetName, java.lang.String attributeName)
getExtents
in interface DataStoreMetadata
datasetName
- table name (optionally prefixed by a schema name)attributeName
- column containing the Geometry@Deprecated public SpatialReferenceSystemID getSRID(java.lang.String tableName, java.lang.String colName) throws java.sql.SQLException
java.sql.SQLException
@Deprecated public java.lang.String[] getGeometryAttributeNames(java.lang.String datasetName)
public java.util.List<GeometryColumn> getGeometryAttributes(java.lang.String datasetName)
getGeometryAttributes
in interface DataStoreMetadata
public java.util.List<PrimaryKeyColumn> getPrimaryKeyColumns(java.lang.String datasetName)
getPrimaryKeyColumns
in interface DataStoreMetadata
datasetName
- name of the table (optionally prefixed by the schema name)public java.lang.String[] getColumnNames(java.lang.String datasetName)
public boolean isIndexed(java.lang.String schema, java.lang.String table, java.lang.String column) throws java.sql.SQLException
java.sql.SQLException
@Deprecated public java.lang.String getGeometryIndicesQuery(java.lang.String schema, java.lang.String table, java.lang.String column)