Package com.clickhouse.data
Interface ClickHouseDataConfig
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
ClickHouseDataConfig.Wrapped,ClickHouseDataProcessor.UseObjectConfig
Deprecated.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final booleanDeprecated.static final intDeprecated.static final intDeprecated.static final ClickHouseBufferingModeDeprecated.static final ClickHouseRenameMethodDeprecated.static final intDeprecated.static final ClickHouseFormatDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final booleanDeprecated.static final RoundingModeDeprecated.static final intDeprecated.static final booleanDeprecated.static final booleanDeprecated.static final booleanDeprecated.static final booleanDeprecated.static final booleanDeprecated.static final intDeprecated.static final intDeprecated.static final StringDeprecated. -
Method Summary
Modifier and TypeMethodDescriptiondefault intDeprecated.Gets number of times the buffer queue is filled up before increasing capacity of buffer queue.default intDeprecated.Gets buffer size in byte can be used for streaming.static intgetBufferSize(int bufferSize) Deprecated.Gets buffer size.static intgetBufferSize(int bufferSize, int defaultSize, int maxSize) Deprecated.Gets buffer size.default ClickHouseRenameMethodDeprecated.Gets column rename method.static intDeprecated.Gets default read buffer size in byte.default ClickHouseFormatDeprecated.Gets data format.default intDeprecated.Gets max buffer size in byte can be used for streaming.default intDeprecated.Gets maximum number of mappers can be cached.default intDeprecated.Gets maximum number of buffers can be queued for processing.default ClickHouseBufferingModeDeprecated.Gets buffering mode for reading.default intDeprecated.Gets read buffer size in byte.default intDeprecated.Gets read timeout in milliseconds.Deprecated.Gets time zone for date values.Deprecated.Gets preferred time zone.default ClickHouseBufferingModeDeprecated.Gets buffering mode for writing.default intDeprecated.Gets write buffer size in byte.default intDeprecated.Gets write timeout in milliseconds.default booleanisAsync()Deprecated.Checks whether async call is used.default booleanDeprecated.Checks whether value wrapperClickHouseValueshould be reused.default booleanDeprecated.Checks whether binary string is supported.default booleanDeprecated.Checks whether blocking queue(mainly for piped stream) is used or not.default booleanDeprecated.Checks whether compilation is used in object mapping and serialization.default booleanDeprecated.Checks whether object(instead of primitive) is used in array.default booleanDeprecated.Checks whether widening is enabled for unsigned types, for instance: uselong(instead ofint) in Java to representUInt32in ClickHouse.
-
Field Details
-
TYPE_NAME
Deprecated.- See Also:
-
DEFAULT_ASYNC
static final boolean DEFAULT_ASYNCDeprecated.- See Also:
-
DEFAULT_BUFFERING_MODE
Deprecated. -
DEFAULT_BUFFER_SIZE
static final int DEFAULT_BUFFER_SIZEDeprecated.- See Also:
-
DEFAULT_READ_BUFFER_SIZE
static final int DEFAULT_READ_BUFFER_SIZEDeprecated.- See Also:
-
DEFAULT_WRITE_BUFFER_SIZE
static final int DEFAULT_WRITE_BUFFER_SIZEDeprecated.- See Also:
-
DEFAULT_MAX_BUFFER_SIZE
static final int DEFAULT_MAX_BUFFER_SIZEDeprecated.- See Also:
-
DEFAULT_MAX_MAPPER_CACHE
static final int DEFAULT_MAX_MAPPER_CACHEDeprecated.- See Also:
-
DEFAULT_MAX_QUEUED_BUFFERS
static final int DEFAULT_MAX_QUEUED_BUFFERSDeprecated.- See Also:
-
DEFAULT_BUFFER_QUEUE_VARIATION
static final int DEFAULT_BUFFER_QUEUE_VARIATIONDeprecated.- See Also:
-
DEFAULT_COLUMN_RENAME_METHOD
Deprecated. -
DEFAULT_FORMAT
Deprecated. -
DEFAULT_REUSE_VALUE_WRAPPER
static final boolean DEFAULT_REUSE_VALUE_WRAPPERDeprecated.- See Also:
-
DEFAULT_USE_BINARY_STRING
static final boolean DEFAULT_USE_BINARY_STRINGDeprecated.- See Also:
-
DEFAULT_USE_BLOCKING_QUEUE
static final boolean DEFAULT_USE_BLOCKING_QUEUEDeprecated.- See Also:
-
DEFAULT_USE_COMPILATION
static final boolean DEFAULT_USE_COMPILATIONDeprecated.- See Also:
-
DEFAULT_USE_OBJECT_IN_ARRAY
static final boolean DEFAULT_USE_OBJECT_IN_ARRAYDeprecated.- See Also:
-
DEFAULT_WIDEN_UNSIGNED_TYPE
static final boolean DEFAULT_WIDEN_UNSIGNED_TYPEDeprecated.- See Also:
-
DEFAULT_COMPRESS_LEVEL
static final int DEFAULT_COMPRESS_LEVELDeprecated.- See Also:
-
DEFAULT_READ_COMPRESS_LEVEL
static final int DEFAULT_READ_COMPRESS_LEVELDeprecated.- See Also:
-
DEFAULT_WRITE_COMPRESS_LEVEL
static final int DEFAULT_WRITE_COMPRESS_LEVELDeprecated.- See Also:
-
DEFAULT_TIMEOUT
static final int DEFAULT_TIMEOUTDeprecated.- See Also:
-
DEFAULT_ROUNDING_MODE
Deprecated.
-
-
Method Details
-
getBufferSize
static int getBufferSize(int bufferSize) Deprecated.Gets buffer size. Same asgetBufferSize(bufferSize, DEFAULT_BUFFER_SIZE, DEFAULT_MAX_BUFFER_SIZE).- Parameters:
bufferSize- suggested buffer size, zero or negative number is treated asDEFAULT_BUFFER_SIZE- Returns:
- buffer size
-
getBufferSize
static int getBufferSize(int bufferSize, int defaultSize, int maxSize) Deprecated.Gets buffer size.- Parameters:
bufferSize- suggested buffer size, zero or negative number is treated asdefaultSizedefaultSize- default buffer size, zero or negative number is treated asDEFAULT_BUFFER_SIZEmaxSize- maximum buffer size, zero or negative number is treated asDEFAULT_MAX_BUFFER_SIZE- Returns:
- buffer size
-
getDefaultReadBufferSize
static int getDefaultReadBufferSize()Deprecated.Gets default read buffer size in byte. Same asgetBufferSize(DEFAULT_READ_BUFFER_SIZE, DEFAULT_BUFFER_SIZE, DEFAULT_MAX_BUFFER_SIZE).- Returns:
- default read buffer size in byte
-
getFormat
Deprecated.Gets data format.- Returns:
- non-null data format
-
getBufferQueueVariation
default int getBufferQueueVariation()Deprecated.Gets number of times the buffer queue is filled up before increasing capacity of buffer queue. Zero or negative value means the queue length is fixed.- Returns:
- variation
-
getBufferSize
default int getBufferSize()Deprecated.Gets buffer size in byte can be used for streaming.- Returns:
- buffer size in byte
-
getMaxBufferSize
default int getMaxBufferSize()Deprecated.Gets max buffer size in byte can be used for streaming.- Returns:
- max buffer size in byte
-
getReadBufferSize
default int getReadBufferSize()Deprecated.Gets read buffer size in byte.- Returns:
- read buffer size in byte
-
getWriteBufferSize
default int getWriteBufferSize()Deprecated.Gets write buffer size in byte.- Returns:
- write buffer size in byte
-
getMaxMapperCache
default int getMaxMapperCache()Deprecated.Gets maximum number of mappers can be cached.- Returns:
- maximum number of mappers can be cached
-
getMaxQueuedBuffers
default int getMaxQueuedBuffers()Deprecated.Gets maximum number of buffers can be queued for processing.- Returns:
- maximum number of buffers can be queued
-
getReadBufferingMode
Deprecated.Gets buffering mode for reading.- Returns:
- non-null buffering mode for reading
-
getWriteBufferingMode
Deprecated.Gets buffering mode for writing.- Returns:
- non-null buffering mode for writing
-
getColumnRenameMethod
Deprecated.Gets column rename method.- Returns:
- non-null column rename method
-
isAsync
default boolean isAsync()Deprecated.Checks whether async call is used.- Returns:
- true if async call is used; false otherwise
-
isReuseValueWrapper
default boolean isReuseValueWrapper()Deprecated.Checks whether value wrapperClickHouseValueshould be reused.- Returns:
- true if value wrapper will be reused; false otherwise
-
isUseBinaryString
default boolean isUseBinaryString()Deprecated.Checks whether binary string is supported.- Returns:
- true if binary string is supported; false otherwise
-
isUseBlockingQueue
default boolean isUseBlockingQueue()Deprecated.Checks whether blocking queue(mainly for piped stream) is used or not.- Returns:
- true if blocking queue is used; false indicates that non-blocking queue is used(faster but consumed more CPU)
-
isUseCompilation
default boolean isUseCompilation()Deprecated.Checks whether compilation is used in object mapping and serialization.- Returns:
- true if compilation is used; false otherwise
-
isUseObjectsInArray
default boolean isUseObjectsInArray()Deprecated.Checks whether object(instead of primitive) is used in array.- Returns:
- true if object is used in array; false indicates that primitive type is used(no auto-boxing and less memory footprint)
-
isWidenUnsignedTypes
default boolean isWidenUnsignedTypes()Deprecated.Checks whether widening is enabled for unsigned types, for instance: uselong(instead ofint) in Java to representUInt32in ClickHouse.- Returns:
- true if widening is enabled; false indicates that same type is shared
by signed and unsigned types(e.g.
intfor bothInt32andUInt32)
-
getReadTimeout
default int getReadTimeout()Deprecated.Gets read timeout in milliseconds.- Returns:
- read time out in milliseconds
-
getWriteTimeout
default int getWriteTimeout()Deprecated.Gets write timeout in milliseconds.- Returns:
- write time out in milliseconds
-
getTimeZoneForDate
TimeZone getTimeZoneForDate()Deprecated.Gets time zone for date values.- Returns:
- time zone, could be null
-
getUseTimeZone
TimeZone getUseTimeZone()Deprecated.Gets preferred time zone.- Returns:
- non-null preferred time zone
-