Skip to contents

Geoserver REST API GSVirtualTable

Geoserver REST API GSVirtualTable

Format

R6Class object.

Value

Object of R6Class for modelling a GeoServer virtual table

Author

Emmanuel Blondel <emmanuel.blondel1@gmail.com>

Super class

geosapi::GSRESTResource -> GSVirtualTable

Public fields

name

name

sql

SQL statement

escapeSql

escape SQL?

keyColumn

key column

geometry

geometry

parameters

list of virtual parameters

Methods

Inherited methods


Method new()

Initializes an object of class GSVirtualTable

Usage

GSVirtualTable$new(xml = NULL)

Arguments

xml

object of class xml_node-class


Method decode()

Decodes from XML

Usage

GSVirtualTable$decode(xml)

Arguments

xml

object of class xml_node-class


Method setName()

Set name

Usage

GSVirtualTable$setName(name)

Arguments

name

name


Method setSql()

Set SQL

Usage

GSVirtualTable$setSql(sql)

Arguments

sql

sql


Method setEscapeSql()

Set escape SQL

Usage

GSVirtualTable$setEscapeSql(escapeSql)

Arguments

escapeSql

escape SQL


Method setKeyColumn()

Set key column

Usage

GSVirtualTable$setKeyColumn(keyColumn)

Arguments

keyColumn

key column


Method setGeometry()

Set geometry

Usage

GSVirtualTable$setGeometry(vtg)

Arguments

vtg

object of class GSVirtualTableGeometry


Method addParameter()

Adds parameter

Usage

GSVirtualTable$addParameter(parameter)

Arguments

parameter

object of class GSVirtualTableParameter

Returns

TRUE if added, FALSE otherwise


Method delParameter()

Deletes parameter

Usage

GSVirtualTable$delParameter(parameter)

Arguments

parameter

object of class GSVirtualTableParameter

Returns

TRUE if deleted, FALSE otherwise


Method clone()

The objects of this class are cloneable with this method.

Usage

GSVirtualTable$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.

Examples

GSVirtualTable$new()
#> <GSVirtualTable>
#> ....|-- name: NA
#> ....|-- sql: NA
#> ....|-- escapeSql: FALSE