Enum 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 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 query id, example: com.acme.queries.updateUser, where updateUser is 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
    • 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 name
        NullPointerException - if the argument is null
      • key

        public abstract String key()
      • defaultValue

        public abstract String defaultValue()