public class GSArcSDEDatastoreEncoder extends GSAbstractDatastoreEncoder
| Constructor and Description |
|---|
GSArcSDEDatastoreEncoder(RESTDataStore store)
Create an datastore encoder from an existing store read from server.
|
GSArcSDEDatastoreEncoder(String name,
String server,
String user)
Create an datastore with default connection parameters,
given a store name, a server name, and a user name.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
getAllowNonSpatialTables() |
int |
getConnectionTimeout() |
String |
getDbType() |
String |
getInstance() |
int |
getMaxConnections() |
int |
getMinConnections() |
String |
getNamespace() |
String |
getPassword() |
int |
getPort() |
String |
getServer() |
String |
getUser() |
protected String |
getValidType()
The type of the implementing datastore.
|
void |
setAllowNonSpatialTables(boolean allowNonSpatialTables) |
void |
setConnectionTimeout(int seconds) |
void |
setDbType(String dbtype) |
void |
setInstance(String instance) |
void |
setMaxConnections(int maxConnections) |
void |
setMinConnections(int minConnections) |
void |
setNamespace(String namespace) |
void |
setPassword(String password) |
void |
setPort(int port) |
void |
setServer(String server) |
void |
setUser(String user) |
ensureValidName, ensureValidType, getDescription, getEnabled, getName, getStoreType, getType, setDescription, setEnabled, setName, setTypeadd, createElementWithAttribute, get, get, setadd, addContent, getRoot, isEmpty, remove, set, setRoot, setRoot, toStringpublic GSArcSDEDatastoreEncoder(String name, String server, String user)
name - New datastore nameserver - New server nameuser - New user namepublic GSArcSDEDatastoreEncoder(RESTDataStore store)
store - The existing store.IllegalArgumentException - if store type or mandatory parameters are not validpublic void setDbType(String dbtype)
public String getDbType()
public void setServer(String server)
public String getServer()
public void setPort(int port)
public int getPort()
public void setInstance(String instance)
public String getInstance()
public void setUser(String user)
public String getUser()
public void setPassword(String password)
public String getPassword()
public void setNamespace(String namespace)
public String getNamespace()
public void setMinConnections(int minConnections)
public int getMinConnections()
public void setMaxConnections(int maxConnections)
public int getMaxConnections()
public void setConnectionTimeout(int seconds)
public int getConnectionTimeout()
public void setAllowNonSpatialTables(boolean allowNonSpatialTables)
public boolean getAllowNonSpatialTables()
protected String getValidType()
GSAbstractDatastoreEncodergetValidType in class GSAbstractDatastoreEncoderCopyright © 2007–2016 PDOK. All rights reserved.