public static class HiveQueryResultSet.Builder extends Object
Constructor and Description |
---|
HiveQueryResultSet.Builder(Connection connection) |
HiveQueryResultSet.Builder(Statement statement) |
Modifier and Type | Method and Description |
---|---|
HiveQueryResultSet |
build() |
TProtocolVersion |
getProtocolVersion() |
HiveQueryResultSet.Builder |
setClient(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(TSessionHandle sessHandle) |
HiveQueryResultSet.Builder |
setStmtHandle(TOperationHandle stmtHandle) |
HiveQueryResultSet.Builder |
setTransportLock(ReentrantLock transportLock) |
public HiveQueryResultSet.Builder(Statement statement) throws SQLException
SQLException
public HiveQueryResultSet.Builder(Connection connection)
public HiveQueryResultSet.Builder setClient(TCLIService.Iface client)
public HiveQueryResultSet.Builder setStmtHandle(TOperationHandle stmtHandle)
public HiveQueryResultSet.Builder setSessionHandle(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
SQLException
public TProtocolVersion getProtocolVersion() throws SQLException
SQLException
Copyright © 2017 The Apache Software Foundation. All rights reserved.