| Package | Description |
|---|---|
| net.snowflake.client.core |
| Modifier and Type | Method and Description |
|---|---|
StmtUtil.StmtInput |
StmtUtil.StmtInput.parametersMap(Map<String,Object> parametersMap) |
StmtUtil.StmtInput |
StmtUtil.StmtInput.setBindValues(Map<String,Map<String,Object>> bindValues) |
StmtUtil.StmtInput |
StmtUtil.StmtInput.setCanceling(AtomicBoolean canceling) |
StmtUtil.StmtInput |
StmtUtil.StmtInput.setDescribeOnly(boolean describeOnly) |
StmtUtil.StmtInput |
StmtUtil.StmtInput.setHttpClient(org.apache.http.client.HttpClient httpClient) |
StmtUtil.StmtInput |
StmtUtil.StmtInput.setInjectClientPause(int injectClientPause) |
StmtUtil.StmtInput |
StmtUtil.StmtInput.setInjectSocketTimeout(int injectSocketTimeout) |
StmtUtil.StmtInput |
StmtUtil.StmtInput.setMediaType(String mediaType) |
StmtUtil.StmtInput |
StmtUtil.StmtInput.setNetworkTimeoutInMillis(int networkTimeoutInMillis) |
StmtUtil.StmtInput |
StmtUtil.StmtInput.setParametersMap(Map<String,Object> parametersMap) |
StmtUtil.StmtInput |
StmtUtil.StmtInput.setRequestId(String requestId) |
StmtUtil.StmtInput |
StmtUtil.StmtInput.setSequenceId(int sequenceId) |
StmtUtil.StmtInput |
StmtUtil.StmtInput.setServerUrl(String serverUrl) |
StmtUtil.StmtInput |
StmtUtil.StmtInput.setSessionToken(String sessionToken) |
StmtUtil.StmtInput |
StmtUtil.StmtInput.setSql(String sql) |
| Modifier and Type | Method and Description |
|---|---|
static void |
StmtUtil.cancel(StmtUtil.StmtInput stmtInput)
Cancel a statement identifiable by a request id
|
static StmtUtil.StmtOutput |
StmtUtil.execute(StmtUtil.StmtInput stmtInput)
Execute a statement
side effect: stmtInput.prevGetResultURL is set if we have started ping
pong and receives an exception from session token expiration so that
during retry we don't retry the query submission, but continue the
ping pong process.
|
protected static String |
StmtUtil.getQueryResult(com.fasterxml.jackson.databind.JsonNode inProgressResponse,
String mediaType,
String previousGetResultPath,
StmtUtil.StmtInput stmtInput)
Issue get-result call to get query result given an in progress response.
|
Copyright © 2017. All rights reserved.