public abstract class DataSourceSupport extends Object implements DataSourcePro, Cloneable
ALLOW_ALL, ALLOW_ALTER, ALLOW_CREATE, ALLOW_DELETE, ALLOW_DROP, ALLOW_GRANT, ALLOW_INSERT, ALLOW_REVOKE, ALLOW_SELECT, ALLOW_UPDATE
Constructor and Description |
---|
DataSourceSupport(String name,
Class clazz,
String username,
String password,
boolean blob,
boolean clob,
int connectionLimit,
int connectionTimeout,
long metaCacheTimeout,
TimeZone timezone,
int allow,
boolean storage,
boolean readOnly) |
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
boolean |
equals(Object obj) |
Class |
getClazz() |
int |
getConnectionLimit() |
int |
getConnectionTimeout() |
long |
getMetaCacheTimeout() |
String |
getName() |
String |
getPassword() |
Map<String,ProcMetaCollection> |
getProcedureColumnCache() |
TimeZone |
getTimeZone() |
String |
getUsername() |
boolean |
hasAllow(int allow) |
int |
hashCode() |
boolean |
hasSQLRestriction() |
String |
id() |
boolean |
isBlob() |
boolean |
isClob() |
boolean |
isReadOnly() |
boolean |
isStorage() |
void |
setClazz(Class clazz) |
static Class |
toClass(String className) |
String |
toString() |
getConnectionString, getConnectionStringTranslated
cloneReadOnly, getCustomNames, getCustoms, getCustomValue, getDatabase, getDsnOriginal, getDsnTranslated, getHost, getPort, validate
public Object clone()
clone
in interface DataSource
clone
in class Object
public Map<String,ProcMetaCollection> getProcedureColumnCache()
public final boolean isBlob()
isBlob
in interface DataSource
public final boolean isClob()
isClob
in interface DataSource
public final int getConnectionLimit()
getConnectionLimit
in interface DataSource
public final int getConnectionTimeout()
getConnectionTimeout
in interface DataSource
public final long getMetaCacheTimeout()
getMetaCacheTimeout
in interface DataSource
public final TimeZone getTimeZone()
getTimeZone
in interface DataSource
public final Class getClazz()
getClazz
in interface DataSource
public final void setClazz(Class clazz)
setClazz
in interface DataSource
clazz
- The clazz to set.public final String getName()
getName
in interface DataSource
public final boolean isStorage()
isStorage
in interface DataSource
public final boolean hasAllow(int allow)
hasAllow
in interface DataSource
public final boolean hasSQLRestriction()
hasSQLRestriction
in interface DataSource
public final boolean isReadOnly()
isReadOnly
in interface DataSource
public String getPassword()
getPassword
in interface DataSource
public String getUsername()
getUsername
in interface DataSource
public String id()
id
in interface DataSourcePro
public static Class toClass(String className) throws ClassException
ClassException
Copyright © 2015 Lucee