org.apache.flume.channel.jdbc
Class ConfigurationConstants

java.lang.Object
  extended by org.apache.flume.channel.jdbc.ConfigurationConstants

public final class ConfigurationConstants
extends Object

Contains configuration keys used by the JDBC channel implementation.


Field Summary
static int CHANNEL_NAME_MAX_LENGTH
          The maximum length of channel name.
static String CONFIG_CREATE_FK
           
static String CONFIG_CREATE_INDEX
           
static String CONFIG_CREATE_SCHEMA
           
static String CONFIG_DATABASE_TYPE
           
static String CONFIG_JDBC_DRIVER_CLASS
           
static String CONFIG_JDBC_PROPS_FILE
           
static String CONFIG_JDBC_SYSPROP_PREFIX
           
static String CONFIG_MAX_CAPACITY
           
static String CONFIG_MAX_CONNECTIONS
           
static String CONFIG_PASSWORD
           
static String CONFIG_TX_ISOLATION_LEVEL
           
static String CONFIG_URL
           
static String CONFIG_USERNAME
           
static int HEADER_NAME_LENGTH_THRESHOLD
          The length of header name in bytes that will be stored inline.
static int HEADER_NAME_SPILL_MAX_LENGTH
          The maximum spill size for header names.
static int HEADER_VALUE_LENGTH_THRESHOLD
          The length of header value in bytes that will be stored inline.
static int HEADER_VALUE_SPILL_MAX_LENGTH
          The maximum spill size for header values.
static String OLD_CONFIG_CREATE_FK
          Deprecated. use CONFIG_CREATE_FK instead.
static String OLD_CONFIG_CREATE_INDEX
          Deprecated. use CONFIG_CREATE_INDEX instead.
static String OLD_CONFIG_CREATE_SCHEMA
          Deprecated. use CONFIG_CREATE_SCHEMA instead.
static String OLD_CONFIG_DATABASE_TYPE
          Deprecated. use CONFIG_DATABASE_TYPE instead.
static String OLD_CONFIG_JDBC_DRIVER_CLASS
          Deprecated. use CONFIG_JDBC_DRIVER_CLASS instead.
static String OLD_CONFIG_JDBC_PROPS_FILE
          Deprecated. use CONFIG_JDBC_PROPS_FILE instead.
static String OLD_CONFIG_JDBC_SYSPROP_PREFIX
          Deprecated. use CONFIG_JDBC_SYSPROP_PREFIX instead
static String OLD_CONFIG_MAX_CAPACITY
          Deprecated. use CONFIG_MAX_CAPACITY instead.
static String OLD_CONFIG_MAX_CONNECTIONS
          Deprecated. use CONFIG_MAX_CONNECTIONS instead
static String OLD_CONFIG_PASSWORD
          Deprecated. use CONFIG_PASSWORD instead.
static String OLD_CONFIG_TX_ISOLATION_LEVEL
          Deprecated. use CONFIG_TX_ISOLATION_LEVEL instead.
static String OLD_CONFIG_URL
          Deprecated. use CONFIG_URL instead.
static String OLD_CONFIG_USERNAME
          Deprecated. use CONFIG_USERNAME instead.
static int PAYLOAD_LENGTH_THRESHOLD
          The length for payload bytes that will be stored inline.
static String PREFIX
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PREFIX

public static final String PREFIX
See Also:
Constant Field Values

CONFIG_JDBC_SYSPROP_PREFIX

public static final String CONFIG_JDBC_SYSPROP_PREFIX
See Also:
Constant Field Values

OLD_CONFIG_JDBC_SYSPROP_PREFIX

public static final String OLD_CONFIG_JDBC_SYSPROP_PREFIX
Deprecated. use CONFIG_JDBC_SYSPROP_PREFIX instead
See Also:
Constant Field Values

CONFIG_JDBC_DRIVER_CLASS

public static final String CONFIG_JDBC_DRIVER_CLASS
See Also:
Constant Field Values

OLD_CONFIG_JDBC_DRIVER_CLASS

public static final String OLD_CONFIG_JDBC_DRIVER_CLASS
Deprecated. use CONFIG_JDBC_DRIVER_CLASS instead.
See Also:
Constant Field Values

CONFIG_USERNAME

public static final String CONFIG_USERNAME
See Also:
Constant Field Values

OLD_CONFIG_USERNAME

public static final String OLD_CONFIG_USERNAME
Deprecated. use CONFIG_USERNAME instead.
See Also:
Constant Field Values

CONFIG_PASSWORD

public static final String CONFIG_PASSWORD
See Also:
Constant Field Values

OLD_CONFIG_PASSWORD

public static final String OLD_CONFIG_PASSWORD
Deprecated. use CONFIG_PASSWORD instead.
See Also:
Constant Field Values

CONFIG_URL

public static final String CONFIG_URL
See Also:
Constant Field Values

OLD_CONFIG_URL

public static final String OLD_CONFIG_URL
Deprecated. use CONFIG_URL instead.
See Also:
Constant Field Values

CONFIG_JDBC_PROPS_FILE

public static final String CONFIG_JDBC_PROPS_FILE
See Also:
Constant Field Values

OLD_CONFIG_JDBC_PROPS_FILE

public static final String OLD_CONFIG_JDBC_PROPS_FILE
Deprecated. use CONFIG_JDBC_PROPS_FILE instead.
See Also:
Constant Field Values

CONFIG_DATABASE_TYPE

public static final String CONFIG_DATABASE_TYPE
See Also:
Constant Field Values

OLD_CONFIG_DATABASE_TYPE

public static final String OLD_CONFIG_DATABASE_TYPE
Deprecated. use CONFIG_DATABASE_TYPE instead.
See Also:
Constant Field Values

CONFIG_CREATE_SCHEMA

public static final String CONFIG_CREATE_SCHEMA
See Also:
Constant Field Values

OLD_CONFIG_CREATE_SCHEMA

public static final String OLD_CONFIG_CREATE_SCHEMA
Deprecated. use CONFIG_CREATE_SCHEMA instead.
See Also:
Constant Field Values

CONFIG_CREATE_INDEX

public static final String CONFIG_CREATE_INDEX
See Also:
Constant Field Values

OLD_CONFIG_CREATE_INDEX

public static final String OLD_CONFIG_CREATE_INDEX
Deprecated. use CONFIG_CREATE_INDEX instead.
See Also:
Constant Field Values

CONFIG_CREATE_FK

public static final String CONFIG_CREATE_FK
See Also:
Constant Field Values

OLD_CONFIG_CREATE_FK

public static final String OLD_CONFIG_CREATE_FK
Deprecated. use CONFIG_CREATE_FK instead.
See Also:
Constant Field Values

CONFIG_TX_ISOLATION_LEVEL

public static final String CONFIG_TX_ISOLATION_LEVEL
See Also:
Constant Field Values

OLD_CONFIG_TX_ISOLATION_LEVEL

public static final String OLD_CONFIG_TX_ISOLATION_LEVEL
Deprecated. use CONFIG_TX_ISOLATION_LEVEL instead.
See Also:
Constant Field Values

CONFIG_MAX_CONNECTIONS

public static final String CONFIG_MAX_CONNECTIONS
See Also:
Constant Field Values

OLD_CONFIG_MAX_CONNECTIONS

public static final String OLD_CONFIG_MAX_CONNECTIONS
Deprecated. use CONFIG_MAX_CONNECTIONS instead
See Also:
Constant Field Values

CONFIG_MAX_CAPACITY

public static final String CONFIG_MAX_CAPACITY
See Also:
Constant Field Values

OLD_CONFIG_MAX_CAPACITY

public static final String OLD_CONFIG_MAX_CAPACITY
Deprecated. use CONFIG_MAX_CAPACITY instead.
See Also:
Constant Field Values

PAYLOAD_LENGTH_THRESHOLD

public static int PAYLOAD_LENGTH_THRESHOLD
The length for payload bytes that will be stored inline. Payloads larger than this length will spill into BLOB.


HEADER_NAME_LENGTH_THRESHOLD

public static int HEADER_NAME_LENGTH_THRESHOLD
The length of header name in bytes that will be stored inline. Header names longer than this number will spill over into CLOB.


HEADER_VALUE_LENGTH_THRESHOLD

public static int HEADER_VALUE_LENGTH_THRESHOLD
The length of header value in bytes that will be stored inline. Header values longer than this number will spill over into CLOB.


CHANNEL_NAME_MAX_LENGTH

public static int CHANNEL_NAME_MAX_LENGTH
The maximum length of channel name.


HEADER_NAME_SPILL_MAX_LENGTH

public static int HEADER_NAME_SPILL_MAX_LENGTH
The maximum spill size for header names. Together with the value of HEADER_NAME_LENGTH_THRESHOLD this adds up to 32kb.


HEADER_VALUE_SPILL_MAX_LENGTH

public static int HEADER_VALUE_SPILL_MAX_LENGTH
The maximum spill size for header values. Together with the value of HEADER_VALUE_LENGTH_THRESHOLD, this adds up to 32kb.



Copyright © 2009-2012 Apache Software Foundation. All Rights Reserved.