@Deprecated public class OdbcConfiguration extends Object
Deprecated as of Apache Ignite 2.1. Please use ClientConnectorConfiguration
and
IgniteConfiguration.setClientConnectorConfiguration(ClientConnectorConfiguration)
instead.
Modifier and Type | Field and Description |
---|---|
static int |
DFLT_MAX_OPEN_CURSORS
Deprecated.
Default max number of open cursors per connection.
|
static int |
DFLT_SOCK_BUF_SIZE
Deprecated.
Default socket send and receive buffer size.
|
static String |
DFLT_TCP_HOST
Deprecated.
Default TCP host.
|
static int |
DFLT_TCP_PORT_FROM
Deprecated.
Default minimum TCP port range value.
|
static int |
DFLT_TCP_PORT_TO
Deprecated.
Default maximum TCP port range value.
|
static int |
DFLT_THREAD_POOL_SIZE
Deprecated.
Default size of thread pool.
|
Constructor and Description |
---|
OdbcConfiguration()
Deprecated.
Creates ODBC server configuration with all default values.
|
OdbcConfiguration(OdbcConfiguration cfg)
Deprecated.
Creates ODBC server configuration by copying all properties from given configuration.
|
Modifier and Type | Method and Description |
---|---|
String |
getEndpointAddress()
Deprecated.
Get ODBC endpoint address.
|
int |
getMaxOpenCursors()
Deprecated.
Gets maximum number of opened cursors per connection.
|
int |
getSocketReceiveBufferSize()
Deprecated.
Gets socket receive buffer size.
|
int |
getSocketSendBufferSize()
Deprecated.
Gets socket send buffer size.
|
int |
getThreadPoolSize()
Deprecated.
Size of thread pool that is in charge of processing ODBC tasks.
|
OdbcConfiguration |
setEndpointAddress(String addr)
Deprecated.
Set ODBC endpoint address.
|
OdbcConfiguration |
setMaxOpenCursors(int maxOpenCursors)
Deprecated.
Sets maximum number of opened cursors per connection.
|
OdbcConfiguration |
setSocketReceiveBufferSize(int sockRcvBufSize)
Deprecated.
Sets socket receive buffer size.
|
OdbcConfiguration |
setSocketSendBufferSize(int sockSndBufSize)
Deprecated.
Sets socket send buffer size.
|
OdbcConfiguration |
setThreadPoolSize(int threadPoolSize)
Deprecated.
Sets thread pool that is in charge of processing ODBC tasks.
|
String |
toString()
Deprecated.
|
public static final String DFLT_TCP_HOST
public static final int DFLT_TCP_PORT_FROM
public static final int DFLT_TCP_PORT_TO
public static final int DFLT_SOCK_BUF_SIZE
public static final int DFLT_MAX_OPEN_CURSORS
public static final int DFLT_THREAD_POOL_SIZE
public OdbcConfiguration()
public OdbcConfiguration(OdbcConfiguration cfg)
cfg
- ODBC server configuration.public String getEndpointAddress()
The following address formats are permitted:
hostname
- will use provided hostname and default port range;hostname:port
- will use provided hostname and port;hostname:port_from..port_to
- will use provided hostname and port range.
When set to null
, ODBC processor will be bound to DFLT_TCP_HOST
host and default port range.
Default port range is from DFLT_TCP_PORT_FROM
to DFLT_TCP_PORT_TO
.
public OdbcConfiguration setEndpointAddress(String addr)
getEndpointAddress()
for more information.addr
- ODBC endpoint address.public int getMaxOpenCursors()
Defaults to DFLT_MAX_OPEN_CURSORS
.
public OdbcConfiguration setMaxOpenCursors(int maxOpenCursors)
getMaxOpenCursors()
.maxOpenCursors
- Maximum number of opened cursors.public int getSocketSendBufferSize()
Defaults to DFLT_SOCK_BUF_SIZE
public OdbcConfiguration setSocketSendBufferSize(int sockSndBufSize)
getSocketSendBufferSize()
for more information.sockSndBufSize
- Socket send buffer size in bytes.public int getSocketReceiveBufferSize()
Defaults to DFLT_SOCK_BUF_SIZE
.
public OdbcConfiguration setSocketReceiveBufferSize(int sockRcvBufSize)
getSocketReceiveBufferSize()
for more information.sockRcvBufSize
- Socket receive buffer size in bytes.public int getThreadPoolSize()
Defaults DFLT_THREAD_POOL_SIZE
.
public OdbcConfiguration setThreadPoolSize(int threadPoolSize)
getThreadPoolSize()
for more
information.threadPoolSize
- Thread pool that is in charge of processing ODBC tasks.
GridGain In-Memory Computing Platform : ver. 8.9.15 Release Date : December 3 2024