Learn R Programming

geosapi (version 0.5-1)

GSAbstractDBDataStore: Geoserver REST API AbstractDBDataStore

Description

Geoserver REST API AbstractDBDataStore

Arguments

Value

Object of R6Class for modelling a GeoServer abstract DB dataStore

Format

R6Class object.

Methods

new(xml, dataStore, description, enabled)

Instantiates a GSAbstractDBDataStore object

setDatabaseType(dbtype)

Sets the database type

setNamespace(namespace)

Sets the datastore namespace

setHost(host)

Sets the database host

setPort(port)

Set the database port

setDatabase(database)

Set the database name

setSchema(schema)

Set the database schema

setUser(user)

Set the database username

setPassword(password)

Set the database password

setJndiReferenceName(jndiReferenceName)

Set a JNDI reference name

setExposePrimaryKeys(exposePrimaryKeys)

Set TRUE if primary keys have to be exposed to datastore, FALSE otherwise.

setMaxConnections(maxConnections)

Set the maximum number of connections. Default is set to 10.

setMinConnections(minConnections)

Set the minimum number of connections. Default is set to 1.

setFetchSize(fetchSize)

Set the fetch size. Default is set to 10.

setConnectionTimeout(seconds)

Set the connection timeout. Default is set to 20s.

setValidateConnections(validateConnections)

Set TRUE if connections have to be validated, FALSE otherwise.

setPrimaryKeyMetadataTable(primaryKeyMetadataTable)

Set the name of the primaryKey metadata table

setLooseBBox(looseBBox)

Set losse bbox parameter.

setPreparedStatements(preparedStatements)

Set prepared statements

setMaxOpenPreparedStatements(maxOpenPreparedStatements)

Set maximum open prepared statements

setEstimatedExtends(estimatedExtends)

Set estimatedExtend parameter

setDefautConnectionParameters()

Set default connection parameters