GSAbstractDBDataStore | R Documentation |
Geoserver REST API AbstractDBDataStore
Geoserver REST API AbstractDBDataStore
R6Class
object.
Object of R6Class
for modelling a GeoServer abstract DB dataStore
geosapi::GSRESTResource
-> geosapi::GSAbstractStore
-> geosapi::GSAbstractDataStore
-> GSAbstractDBDataStore
geosapi::GSRESTResource$encode()
geosapi::GSRESTResource$getClassName()
geosapi::GSRESTResource$print()
geosapi::GSAbstractStore$setDescription()
geosapi::GSAbstractStore$setEnabled()
geosapi::GSAbstractStore$setType()
geosapi::GSAbstractDataStore$addConnectionParameter()
geosapi::GSAbstractDataStore$decode()
geosapi::GSAbstractDataStore$delConnectionParameter()
geosapi::GSAbstractDataStore$setConnectionParameter()
geosapi::GSAbstractDataStore$setConnectionParameters()
new()
initializes an abstract DB data store
GSAbstractDBDataStore$new( xml = NULL, type = NULL, dbType = NULL, name = NULL, description = "", enabled = TRUE )
xml
an object of class xml_node-class to create object from XML
type
the type of DB data store
dbType
DB type
name
coverage store name
description
coverage store description
enabled
whether the store should be enabled or not. Default is TRUE
setDatabaseType()
Set database type
GSAbstractDBDataStore$setDatabaseType(dbtype)
dbtype
DB type
setNamespace()
Set namespace
GSAbstractDBDataStore$setNamespace(namespace)
namespace
namespace
setHost()
Set host
GSAbstractDBDataStore$setHost(host)
host
host
setPort()
Set port
GSAbstractDBDataStore$setPort(port)
port
port
setDatabase()
Set database
GSAbstractDBDataStore$setDatabase(database)
database
database
setSchema()
Set schema
GSAbstractDBDataStore$setSchema(schema)
schema
schema
setUser()
Set user
GSAbstractDBDataStore$setUser(user)
user
user
setPassword()
Set password
GSAbstractDBDataStore$setPassword(password)
password
password
setJndiReferenceName()
Set JNDI reference name
GSAbstractDBDataStore$setJndiReferenceName(jndiReferenceName)
jndiReferenceName
JNDI reference name
setExposePrimaryKeys()
Set expose primary keyws
GSAbstractDBDataStore$setExposePrimaryKeys(exposePrimaryKeys)
exposePrimaryKeys
expose primary keys
setMinConnections()
Set min connections
GSAbstractDBDataStore$setMinConnections(minConnections = 1)
minConnections
min connections. Default is 11
setMaxConnections()
Set max connections
GSAbstractDBDataStore$setMaxConnections(maxConnections = 10)
maxConnections
max connections. Default is 10
setFetchSize()
Set fetch size
GSAbstractDBDataStore$setFetchSize(fetchSize = 1000)
fetchSize
fetch size. Default is 1000
setConnectionTimeout()
Set connection timeout
GSAbstractDBDataStore$setConnectionTimeout(seconds = 20)
seconds
timeout (in seconds). Default is 20
setValidateConnections()
Set validate connection
GSAbstractDBDataStore$setValidateConnections(validateConnections)
validateConnections
Validate connections
setPrimaryKeyMetadataTable()
Set primary key metadata table
GSAbstractDBDataStore$setPrimaryKeyMetadataTable(primaryKeyMetadataTable)
primaryKeyMetadataTable
primary key metadata table
setLooseBBox()
Set loose bbox
GSAbstractDBDataStore$setLooseBBox(looseBBox = TRUE)
looseBBox
loose bbox. Default is TRUE
setPreparedStatements()
Set prepared statemnts
GSAbstractDBDataStore$setPreparedStatements(preparedStatements = FALSE)
preparedStatements
prepared Statements. Default is FALSE
setMaxOpenPreparedStatements()
Set max open prepared statements
GSAbstractDBDataStore$setMaxOpenPreparedStatements( maxOpenPreparedStatements = 50 )
maxOpenPreparedStatements
max open preepared statements. Default is 50
setEstimatedExtends()
Set estimatedExtends
GSAbstractDBDataStore$setEstimatedExtends(estimatedExtends = FALSE)
estimatedExtends
estimated extends. Default is FALSE
setDefautConnectionParameters()
Set default connection parameters
GSAbstractDBDataStore$setDefautConnectionParameters()
clone()
The objects of this class are cloneable with this method.
GSAbstractDBDataStore$clone(deep = FALSE)
deep
Whether to make a deep clone.
Internal abstract class used for setting DB stores
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.