public interface DataSource extends Cloneable
Modifier and Type | Field and Description |
---|---|
static int |
ALLOW_ALL
Field
ALLOW_ALL |
static int |
ALLOW_ALTER
Field
ALLOW_ALTER |
static int |
ALLOW_CREATE
Field
ALLOW_CREATE |
static int |
ALLOW_DELETE
Field
ALLOW_DELETE |
static int |
ALLOW_DROP
Field
ALLOW_DROP |
static int |
ALLOW_GRANT
Field
ALLOW_GRANT |
static int |
ALLOW_INSERT
Field
ALLOW_INSERT |
static int |
ALLOW_REVOKE
Field
ALLOW_REVOKE |
static int |
ALLOW_SELECT
Field
ALLOW_SELECT |
static int |
ALLOW_UPDATE
Field
ALLOW_UPDATE |
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
DataSource |
cloneReadOnly() |
Class |
getClazz() |
int |
getConnectionLimit() |
int |
getConnectionTimeout() |
String[] |
getCustomNames() |
Struct |
getCustoms() |
String |
getCustomValue(String key) |
String |
getDatabase() |
String |
getDsnOriginal() |
String |
getDsnTranslated() |
String |
getHost() |
long |
getMetaCacheTimeout() |
String |
getName() |
String |
getPassword() |
int |
getPort() |
TimeZone |
getTimeZone() |
String |
getUsername() |
boolean |
hasAllow(int allow) |
boolean |
hasSQLRestriction() |
boolean |
isBlob() |
boolean |
isClob() |
boolean |
isReadOnly() |
boolean |
isStorage() |
void |
setClazz(Class clazz)
Deprecated.
this method is no longer supported with no replacement
|
boolean |
validate() |
static final int ALLOW_SELECT
ALLOW_SELECT
static final int ALLOW_DELETE
ALLOW_DELETE
static final int ALLOW_UPDATE
ALLOW_UPDATE
static final int ALLOW_INSERT
ALLOW_INSERT
static final int ALLOW_CREATE
ALLOW_CREATE
static final int ALLOW_GRANT
ALLOW_GRANT
static final int ALLOW_REVOKE
ALLOW_REVOKE
static final int ALLOW_DROP
ALLOW_DROP
static final int ALLOW_ALTER
ALLOW_ALTER
static final int ALLOW_ALL
ALLOW_ALL
String getDsnOriginal()
String getDsnTranslated()
String getPassword()
String getUsername()
boolean isReadOnly()
boolean hasAllow(int allow)
allow
- String getDatabase()
int getPort()
DataSource cloneReadOnly()
boolean isBlob()
boolean isClob()
int getConnectionLimit()
int getConnectionTimeout()
long getMetaCacheTimeout()
TimeZone getTimeZone()
String getCustomValue(String key)
key
- String[] getCustomNames()
Struct getCustoms()
boolean hasSQLRestriction()
void setClazz(Class clazz)
clazz
- The clazz to set.boolean isStorage()
boolean validate()
Copyright © 2015 Lucee