public class JdbcThinTcpIo extends Object
| Modifier and Type | Method and Description |
|---|---|
boolean |
autoCloseServerCursor() |
void |
close()
Close the client IO.
|
boolean |
collocated() |
boolean |
distributedJoins() |
boolean |
enforceJoinOrder() |
void |
handshake() |
void |
queryClose(long qryId) |
JdbcQueryExecuteResult |
queryExecute(String cache,
int fetchSize,
int maxRows,
String sql,
List<Object> args) |
JdbcQueryFetchResult |
queryFetch(Long qryId,
int pageSize) |
JdbcQueryMetadataResult |
queryMeta(Long qryId) |
boolean |
replicatedOnly() |
<R extends JdbcResult> |
sendRequest(JdbcRequest req,
int cap) |
int |
socketReceiveBuffer() |
int |
socketSendBuffer() |
void |
start() |
boolean |
tcpNoDelay() |
public void start()
throws IgniteCheckedException,
IOException
IgniteCheckedException - On error.IOException - On IO error in handshake.public void handshake()
throws IOException,
IgniteCheckedException
IOException - On error.IgniteCheckedException - On error.public JdbcQueryExecuteResult queryExecute(String cache, int fetchSize, int maxRows, String sql, List<Object> args) throws IOException, IgniteCheckedException
cache - Cache name.fetchSize - Fetch size.maxRows - Max rows.sql - SQL statement.args - Query parameters.IOException - On error.IgniteCheckedException - On error.public <R extends JdbcResult> R sendRequest(JdbcRequest req, int cap) throws IOException, IgniteCheckedException
req - Request.cap - Initial ouput stream capacity.IOException - On IO error.IgniteCheckedException - On error.public JdbcQueryFetchResult queryFetch(Long qryId, int pageSize) throws IOException, IgniteCheckedException
qryId - Query ID.pageSize - pageSize.IOException - On error.IgniteCheckedException - On error.public JdbcQueryMetadataResult queryMeta(Long qryId) throws IOException, IgniteCheckedException
qryId - Query ID.IOException - On error.IgniteCheckedException - On error.public void queryClose(long qryId)
throws IOException,
IgniteCheckedException
qryId - Query ID.IOException - On error.IgniteCheckedException - On error.public void close()
public boolean distributedJoins()
public boolean enforceJoinOrder()
public boolean collocated()
public boolean replicatedOnly()
public boolean autoCloseServerCursor()
public int socketSendBuffer()
public int socketReceiveBuffer()
public boolean tcpNoDelay()
Follow @ApacheIgnite
Ignite Fabric : ver. 2.2.0 Release Date : September 15 2017