Package net.sf.jkniv.sqlegance
Enum RepositoryProperty
- java.lang.Object
-
- java.lang.Enum<RepositoryProperty>
-
- net.sf.jkniv.sqlegance.RepositoryProperty
-
- All Implemented Interfaces:
Serializable,Comparable<RepositoryProperty>
public enum RepositoryProperty extends Enum<RepositoryProperty>
TODO properties to add add property to remove end line from queries, good for debug add property to limit parameter at clause IN, default is 1000 for oracle- Since:
- 0.6.0
- Author:
- Alisson Gomes
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACCESS_IDproperty:jkniv.repository.accessIdDATA_MASKINGproperty:jkniv.repository.data_maskingDEBUG_SQLproperty:jkniv.repository.debug_sqlJDBC_ADAPTER_FACTORYproperty:jkniv.repository.jdbc_adapter_factory, default value is:nullJDBC_DRIVERproperty:driver, default value is:nullJDBC_PASSWORDproperty:password, default value is:nullJDBC_SCHEMAproperty:schema, default value is:nullJDBC_URLproperty:url, default value is:nullJDBC_USERproperty:user, default value is:nullKEY_FILEproperty:jkniv.repository.key_file, default value is:nullLOCAL_DATACENTERproperty:jkniv.cassandra.local_datacenter, default value is:nullPROTOCOL_VERSIONproperty:jkniv.repository.protocol_version, default value is:V4QUERY_NAME_STRATEGYproperty:jkniv.repository.query_namestrategyRELOADABLE_XML_ENABLEEnabling (true value) reloadable xml file when change happens Default is false.SHORT_NAME_ENABLEEnabling (true value) a short name for queryid, example:com.acme.queries.updateUser, whereupdateUseris a shortcut.SHOW_CONFIGproperty:jkniv.repository.show_configSQL_DIALECTproperty:jkniv.repository.jdbc.dialectSQL_STATSproperty:jkniv.repository.stats
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract StringdefaultValue()abstract Stringkey()static RepositoryPropertyvalueOf(String name)Returns the enum constant of this type with the specified name.static RepositoryProperty[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
JDBC_USER
public static final RepositoryProperty JDBC_USER
property:user, default value is:null
-
JDBC_PASSWORD
public static final RepositoryProperty JDBC_PASSWORD
property:password, default value is:null
-
JDBC_URL
public static final RepositoryProperty JDBC_URL
property:url, default value is:null
-
JDBC_DRIVER
public static final RepositoryProperty JDBC_DRIVER
property:driver, default value is:null
-
JDBC_SCHEMA
public static final RepositoryProperty JDBC_SCHEMA
property:schema, default value is:null
-
QUERY_NAME_STRATEGY
public static final RepositoryProperty QUERY_NAME_STRATEGY
property:jkniv.repository.query_namestrategy
-
SQL_DIALECT
public static final RepositoryProperty SQL_DIALECT
property:jkniv.repository.jdbc.dialect
-
SQL_STATS
public static final RepositoryProperty SQL_STATS
property:jkniv.repository.stats
-
DEBUG_SQL
public static final RepositoryProperty DEBUG_SQL
property:jkniv.repository.debug_sql
-
DATA_MASKING
public static final RepositoryProperty DATA_MASKING
property:jkniv.repository.data_masking
-
SHORT_NAME_ENABLE
public static final RepositoryProperty SHORT_NAME_ENABLE
Enabling (true value) a short name for queryid, example:com.acme.queries.updateUser, whereupdateUseris a shortcut. Default is false. property:jkniv.repository.short_name_enable
-
RELOADABLE_XML_ENABLE
public static final RepositoryProperty RELOADABLE_XML_ENABLE
Enabling (true value) reloadable xml file when change happens Default is false. property:jkniv.repository.reloadable_xml_enable
-
JDBC_ADAPTER_FACTORY
public static final RepositoryProperty JDBC_ADAPTER_FACTORY
property:jkniv.repository.jdbc_adapter_factory, default value is:null
-
SHOW_CONFIG
public static final RepositoryProperty SHOW_CONFIG
property:jkniv.repository.show_config
-
PROTOCOL_VERSION
public static final RepositoryProperty PROTOCOL_VERSION
property:jkniv.repository.protocol_version, default value is:V4
-
ACCESS_ID
public static final RepositoryProperty ACCESS_ID
property:jkniv.repository.accessId
-
KEY_FILE
public static final RepositoryProperty KEY_FILE
property:jkniv.repository.key_file, default value is:null
-
LOCAL_DATACENTER
public static final RepositoryProperty LOCAL_DATACENTER
property:jkniv.cassandra.local_datacenter, default value is:null
-
-
Field Detail
-
PREFIX
public static final String PREFIX
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static RepositoryProperty[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (RepositoryProperty c : RepositoryProperty.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RepositoryProperty valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
key
public abstract String key()
-
defaultValue
public abstract String defaultValue()
-
-