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_INDEX
           
static String CONFIG_CREATE_SCHEMA
           
static String CONFIG_DATABASE_TYPE
           
static String CONFIG_JDBC_DRIVER_CLASS
           
static String CONFIG_JDBC_PROPERTIES_FILE
           
static String CONFIG_JDBC_SYSPRO_PREFIX
           
static String CONFIG_MAX_CAPACITY
           
static String CONFIG_MAX_CONNECTION
           
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 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_SYSPRO_PREFIX

public static final String CONFIG_JDBC_SYSPRO_PREFIX
See Also:
Constant Field Values

CONFIG_JDBC_DRIVER_CLASS

public static final String CONFIG_JDBC_DRIVER_CLASS
See Also:
Constant Field Values

CONFIG_USERNAME

public static final String CONFIG_USERNAME
See Also:
Constant Field Values

CONFIG_PASSWORD

public static final String CONFIG_PASSWORD
See Also:
Constant Field Values

CONFIG_URL

public static final String CONFIG_URL
See Also:
Constant Field Values

CONFIG_JDBC_PROPERTIES_FILE

public static final String CONFIG_JDBC_PROPERTIES_FILE
See Also:
Constant Field Values

CONFIG_DATABASE_TYPE

public static final String CONFIG_DATABASE_TYPE
See Also:
Constant Field Values

CONFIG_CREATE_SCHEMA

public static final String CONFIG_CREATE_SCHEMA
See Also:
Constant Field Values

CONFIG_CREATE_INDEX

public static final String CONFIG_CREATE_INDEX
See Also:
Constant Field Values

CONFIG_TX_ISOLATION_LEVEL

public static final String CONFIG_TX_ISOLATION_LEVEL
See Also:
Constant Field Values

CONFIG_MAX_CONNECTION

public static final String CONFIG_MAX_CONNECTION
See Also:
Constant Field Values

CONFIG_MAX_CAPACITY

public static final String CONFIG_MAX_CAPACITY
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.