Package ca.spatial.table
Class TableSpec.JDBCSpec
java.lang.Object
ca.spatial.table.TableSpec
ca.spatial.table.TableSpec.JDBCSpec
- Enclosing class:
- TableSpec
This specification will describe an
JDBCStore
table.
The syntax for this specification is
JDBC {connection} {query} {{username} {passwd}}?
-
Nested Class Summary
Nested classes/interfaces inherited from class ca.spatial.table.TableSpec
TableSpec.AppendSpec, TableSpec.CoverageSpec, TableSpec.CrosstabSpec, TableSpec.CSVSpec, TableSpec.DBaseSpec, TableSpec.ExcelSpec, TableSpec.FlattenSpec, TableSpec.InfoSpec, TableSpec.JDBCSpec, TableSpec.RamAttributeStoreSpec, TableSpec.RelationSpec, TableSpec.ShapefileSpec, TableSpec.SnapshotSpec, TableSpec.SummarySpec, TableSpec.TransposePeriodSpec, TableSpec.TransposeRowSpec, TableSpec.TransposeSpec, TableSpec.VirtualSpec
-
Constructor Summary
ConstructorsConstructorDescriptionJDBCSpec(String connection, String query, Properties props)
Create an JDBC TableSpec object -
Method Summary
Methods inherited from class ca.spatial.table.TableSpec
decode, equals, isDefaultEncoding, isGeoRelational, isPlain, open, open, quoteExprIfRequired, quoteIfRequired, toString
-
Constructor Details
-
JDBCSpec
Create an JDBC TableSpec object- Parameters:
connection
- the JDBC connection stringquery
- the SQL select queryprops
- a set of properties appropriate to this driver. Can be null if there are not properties.
-
-
Method Details
-
getFlavour
Description copied from class:TableSpec
Get the type of table described by thisTableSpec
.- Specified by:
getFlavour
in classTableSpec
-
getTableName
Description copied from class:TableSpec
Get the name of the table described by thisTableSpec
.- Specified by:
getTableName
in classTableSpec
-
getCanonicalName
Description copied from class:TableSpec
Get the unique and unequivocal identifier for thisTableSpec
.- Overrides:
getCanonicalName
in classTableSpec
-
open
Description copied from class:TableSpec
Open the data table described by thisTableSpec
.
-