public static class HiveQueryResultSet.Builder extends Object
| Constructor and Description |
|---|
Builder(Connection connection) |
Builder(Statement statement) |
| Modifier and Type | Method and Description |
|---|---|
HiveQueryResultSet |
build() |
org.apache.hive.service.rpc.thrift.TProtocolVersion |
getProtocolVersion() |
HiveQueryResultSet.Builder |
setClient(org.apache.hive.service.rpc.thrift.TCLIService.Iface client) |
HiveQueryResultSet.Builder |
setEmptyResultSet(boolean emptyResultSet) |
HiveQueryResultSet.Builder |
setFetchSize(int fetchSize) |
HiveQueryResultSet.Builder |
setMaxRows(int maxRows) |
HiveQueryResultSet.Builder |
setSchema(List<String> colNames,
List<String> colTypes) |
HiveQueryResultSet.Builder |
setSchema(List<String> colNames,
List<String> colTypes,
List<org.apache.hive.jdbc.JdbcColumnAttributes> colAttributes) |
HiveQueryResultSet.Builder |
setScrollable(boolean setScrollable) |
HiveQueryResultSet.Builder |
setSessionHandle(org.apache.hive.service.rpc.thrift.TSessionHandle sessHandle) |
HiveQueryResultSet.Builder |
setStmtHandle(org.apache.hive.service.rpc.thrift.TOperationHandle stmtHandle) |
HiveQueryResultSet.Builder |
setTransportLock(ReentrantLock transportLock) |
public Builder(Statement statement) throws SQLException
SQLExceptionpublic Builder(Connection connection)
public HiveQueryResultSet.Builder setClient(org.apache.hive.service.rpc.thrift.TCLIService.Iface client)
public HiveQueryResultSet.Builder setStmtHandle(org.apache.hive.service.rpc.thrift.TOperationHandle stmtHandle)
public HiveQueryResultSet.Builder setSessionHandle(org.apache.hive.service.rpc.thrift.TSessionHandle sessHandle)
public HiveQueryResultSet.Builder setMaxRows(int maxRows)
public HiveQueryResultSet.Builder setSchema(List<String> colNames, List<String> colTypes)
public HiveQueryResultSet.Builder setSchema(List<String> colNames, List<String> colTypes, List<org.apache.hive.jdbc.JdbcColumnAttributes> colAttributes)
public HiveQueryResultSet.Builder setFetchSize(int fetchSize)
public HiveQueryResultSet.Builder setEmptyResultSet(boolean emptyResultSet)
public HiveQueryResultSet.Builder setScrollable(boolean setScrollable)
public HiveQueryResultSet.Builder setTransportLock(ReentrantLock transportLock)
public HiveQueryResultSet build() throws SQLException
SQLExceptionpublic org.apache.hive.service.rpc.thrift.TProtocolVersion getProtocolVersion()
throws SQLException
SQLExceptionCopyright © 2019 The Apache Software Foundation. All Rights Reserved.