| GSAbstractDataStore {geosapi} | R Documentation |
Geoserver REST API DataStore
Description
Geoserver REST API DataStore
Geoserver REST API DataStore
Format
R6Class object.
Value
Object of R6Class for modelling a GeoServer dataStore
Super classes
geosapi::GSRESTResource -> geosapi::GSAbstractStore -> GSAbstractDataStore
Public fields
connectionParametersthe list of connection parameters
Methods
Public methods
Inherited methods
Method new()
initializes an abstract data store
Usage
GSAbstractDataStore$new( xml = NULL, type = NULL, name = NULL, description = "", enabled = TRUE, connectionParameters )
Arguments
xmlan object of class xml_node-class to create object from XML
typethe type of coverage store
namecoverage store name
descriptioncoverage store description
enabledwhether the store should be enabled or not. Default is
TRUEconnectionParametersthe list of connection parameters
Method decode()
Decodes a data store from XML
Usage
GSAbstractDataStore$decode(xml)
Arguments
xmlan object of class xml_node-class
Returns
an object of class GSAbstractDataStore
Method setConnectionParameters()
Set list connection parameters. The argument should be an object
of class GSRESTEntrySet giving a list of key/value parameter entries.
Usage
GSAbstractDataStore$setConnectionParameters(parameters)
Arguments
parametersan object of class GSRESTEntrySet
Method addConnectionParameter()
Adds a connection parameter
Usage
GSAbstractDataStore$addConnectionParameter(key, value)
Arguments
keyconnection parameter key
valueconnection parameter value
Returns
TRUE if added, FALSE otherwise
Method setConnectionParameter()
Sets a connection parameter
Usage
GSAbstractDataStore$setConnectionParameter(key, value)
Arguments
keyconnection parameter key
valueconnection parameter value
Method delConnectionParameter()
Removes a connection parameter
Usage
GSAbstractDataStore$delConnectionParameter(key)
Arguments
keyconnection parameter key
valueconnection parameter value
Returns
TRUE if removed, FALSE otherwise
Method clone()
The objects of this class are cloneable with this method.
Usage
GSAbstractDataStore$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.
Author(s)
Emmanuel Blondel <emmanuel.blondel1@gmail.com>