Methods
Modifier and Type |
Method and Description |
boolean |
allowAutomaticValues() |
void |
close() |
void |
closeConnection(Connection connection) |
boolean |
closeResourceRequested(ResourceProvider resource) |
protected Geometry |
coerce(GeometryType type,
Geometry geometry) |
String |
compoundLimitAndOffset(long limit,
long offset) |
protected EditableFeatureAttributeDescriptor |
createAttributeFromJDBC(EditableFeatureType fType,
Connection conn,
ResultSetMetaData rsMetadata,
int colIndex) |
protected EditableFeatureAttributeDescriptor |
createAttributeFromJDBCNativeType(EditableFeatureType fType,
ResultSetMetaData rsMetadata,
int colIndex) |
protected List |
createGrantStatements(JDBCNewStoreParameters ndsp) |
protected List |
createGrantStatements(JDBCNewStoreParameters ndsp,
String table) |
protected List |
createGrantStatements(String tableName,
String privilege,
String theRoles) |
Object |
dalValueToJDBC(FeatureAttributeDescriptor attributeDescriptor,
Object value) |
Object |
doConnectionAction(ConnectionAction action)
Executes an atomic action that uses an DB Connection.
|
protected void |
doDispose()
|
String |
escapeFieldName(String field) |
static void |
execute(PreparedStatement st,
String sql) |
static void |
execute(Statement st,
String sql) |
void |
execute(String sql) |
static ResultSet |
executeQuery(PreparedStatement st,
String sql) |
static ResultSet |
executeQuery(Statement st,
String sql) |
static int |
executeUpdate(PreparedStatement st) |
List |
getAdditionalSqlToCreate(NewDataStoreParameters ndsp,
FeatureType fType) |
protected EditableFeatureAttributeDescriptor |
getAttributeFromJDBC(EditableFeatureType fType,
Connection conn,
ResultSetMetaData rsMetadata,
int colIndex) |
Connection |
getConnection() |
protected String |
getDefaltFieldValueString(FeatureAttributeDescriptor attr)
Deprecated.
use getDefaultFieldValueString this has a type writer error.
|
protected String |
getDefaultFieldValueString(FeatureAttributeDescriptor attr) |
protected String |
getDefaultSchema(Connection conn) |
Envelope |
getFullEnvelopeOfField(JDBCStoreParameters storeParams,
String geometryAttrName,
Envelope limit)
Override if provider has geometry support
|
Geometry |
getGeometry(byte[] buffer) |
protected String |
getIdentifierQuoteString() |
protected String[] |
getPksFrom(Connection conn,
JDBCStoreParameters params) |
protected String[] |
getPksFromInformationSchema(Connection conn,
JDBCStoreParameters params) |
int |
getProviderSRID(IProjection srs) |
int |
getProviderSRID(String srs) |
JDBCResource |
getResource() |
String |
getSqlColumnTypeDescription(FeatureAttributeDescriptor attr) |
String |
getSqlFieldDescription(FeatureAttributeDescriptor attr) |
String |
getSqlFieldName(FeatureAttributeDescriptor attribute) |
protected void |
initializeResource() |
boolean |
isOpen() |
protected boolean |
isReservedWord(String field) |
protected void |
loadFeatureType(Connection conn,
EditableFeatureType featureType,
String sql,
String[] pks,
String defGeomName,
String schema,
String table) |
void |
loadFeatureType(EditableFeatureType featureType,
JDBCStoreParameters storeParams) |
void |
loadFeatureType(EditableFeatureType featureType,
JDBCStoreParameters storeParams,
String sql,
String schema,
String table) |
protected void |
loadSRS_and_shapeType(Connection conn,
ResultSetMetaData rsMetadata,
EditableFeatureType featureType,
String baseSchema,
String baseTable)
Fill featureType geometry attributes with SRS and ShapeType
information
Override this if provider has native eometry support
|
boolean |
open()
open the resource
|
void |
resourceChanged(ResourceProvider resource) |
protected void |
setResource(JDBCResource resource) |
String |
stringJoin(List listToJoin,
String sep) |
void |
stringJoin(List listToJoin,
String sep,
StringBuilder strb) |
boolean |
supportOffset() |
protected boolean |
supportsGeometry()
Inform that provider has supports for geometry store and operations
natively
|
boolean |
supportsUnion() |