org.apache.hive.jdbc
Class HiveQueryResultSet.Builder
java.lang.Object
org.apache.hive.jdbc.HiveQueryResultSet.Builder
- Enclosing class:
- HiveQueryResultSet
public static class HiveQueryResultSet.Builder
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HiveQueryResultSet.Builder
public HiveQueryResultSet.Builder()
setClient
public HiveQueryResultSet.Builder setClient(TCLIService.Iface client)
setStmtHandle
public HiveQueryResultSet.Builder setStmtHandle(TOperationHandle stmtHandle)
setSessionHandle
public HiveQueryResultSet.Builder setSessionHandle(TSessionHandle sessHandle)
setHiveStatement
public HiveQueryResultSet.Builder setHiveStatement(HiveStatement hiveStatement)
setMaxRows
public HiveQueryResultSet.Builder setMaxRows(int maxRows)
setSchema
public HiveQueryResultSet.Builder setSchema(List<String> colNames,
List<String> colTypes)
setSchema
public HiveQueryResultSet.Builder setSchema(List<String> colNames,
List<String> colTypes,
List<org.apache.hive.jdbc.JdbcColumnAttributes> colAttributes)
setFetchSize
public HiveQueryResultSet.Builder setFetchSize(int fetchSize)
setEmptyResultSet
public HiveQueryResultSet.Builder setEmptyResultSet(boolean emptyResultSet)
build
public HiveQueryResultSet build()
throws SQLException
- Throws:
SQLException
Copyright © 2012 The Apache Software Foundation