Package org.apache.iotdb.session
Class SessionConfig
- java.lang.Object
-
- org.apache.iotdb.session.SessionConfig
-
public class SessionConfig extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static intCPU_CORESstatic intDEFAULT_CONNECTION_TIMEOUT_MSstatic intDEFAULT_FETCH_SIZEstatic java.lang.StringDEFAULT_HOSTstatic intDEFAULT_INITIAL_BUFFER_CAPACITYthrift init buffer size, 1KB by defaultstatic intDEFAULT_MAX_FRAME_SIZEthrift max frame size (16384000 bytes by default), we change it to 64MBstatic java.lang.StringDEFAULT_PASSWORDstatic intDEFAULT_PORTstatic longDEFAULT_QUERY_TIME_OUTstatic booleanDEFAULT_REDIRECTION_MODEstatic intDEFAULT_SESSION_EXECUTOR_TASK_NUMstatic intDEFAULT_SESSION_EXECUTOR_THREAD_NUMstatic intDEFAULT_SESSION_POOL_MAX_SIZEstatic java.lang.StringDEFAULT_USERstatic VersionDEFAULT_VERSIONstatic longRETRY_INTERVAL_MSstatic intRETRY_NUM
-
Constructor Summary
Constructors Constructor Description SessionConfig()
-
-
-
Field Detail
-
DEFAULT_HOST
public static final java.lang.String DEFAULT_HOST
- See Also:
- Constant Field Values
-
DEFAULT_PORT
public static final int DEFAULT_PORT
- See Also:
- Constant Field Values
-
DEFAULT_USER
public static final java.lang.String DEFAULT_USER
- See Also:
- Constant Field Values
-
DEFAULT_PASSWORD
public static final java.lang.String DEFAULT_PASSWORD
- See Also:
- Constant Field Values
-
DEFAULT_FETCH_SIZE
public static final int DEFAULT_FETCH_SIZE
- See Also:
- Constant Field Values
-
DEFAULT_CONNECTION_TIMEOUT_MS
public static final int DEFAULT_CONNECTION_TIMEOUT_MS
- See Also:
- Constant Field Values
-
DEFAULT_REDIRECTION_MODE
public static final boolean DEFAULT_REDIRECTION_MODE
- See Also:
- Constant Field Values
-
CPU_CORES
public static final int CPU_CORES
-
DEFAULT_SESSION_EXECUTOR_THREAD_NUM
public static final int DEFAULT_SESSION_EXECUTOR_THREAD_NUM
-
DEFAULT_SESSION_EXECUTOR_TASK_NUM
public static final int DEFAULT_SESSION_EXECUTOR_TASK_NUM
- See Also:
- Constant Field Values
-
RETRY_NUM
public static final int RETRY_NUM
- See Also:
- Constant Field Values
-
RETRY_INTERVAL_MS
public static final long RETRY_INTERVAL_MS
- See Also:
- Constant Field Values
-
DEFAULT_QUERY_TIME_OUT
public static final long DEFAULT_QUERY_TIME_OUT
- See Also:
- Constant Field Values
-
DEFAULT_INITIAL_BUFFER_CAPACITY
public static final int DEFAULT_INITIAL_BUFFER_CAPACITY
thrift init buffer size, 1KB by default- See Also:
- Constant Field Values
-
DEFAULT_MAX_FRAME_SIZE
public static final int DEFAULT_MAX_FRAME_SIZE
thrift max frame size (16384000 bytes by default), we change it to 64MB- See Also:
- Constant Field Values
-
DEFAULT_SESSION_POOL_MAX_SIZE
public static final int DEFAULT_SESSION_POOL_MAX_SIZE
- See Also:
- Constant Field Values
-
DEFAULT_VERSION
public static final Version DEFAULT_VERSION
-
-