| Constructor and Description |
|---|
RowBasedSet(TableSchema schema) |
RowBasedSet(org.apache.hive.service.rpc.thrift.TRowSet tRowSet) |
| Modifier and Type | Method and Description |
|---|---|
RowBasedSet |
addRow(Object[] fields) |
RowBasedSet |
extractSubset(int maxRows) |
int |
getSize() |
long |
getStartOffset() |
Iterator<Object[]> |
iterator() |
int |
numColumns() |
int |
numRows() |
void |
setStartOffset(long startOffset) |
org.apache.hive.service.rpc.thrift.TRowSet |
toTRowSet() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic RowBasedSet(TableSchema schema)
public RowBasedSet(org.apache.hive.service.rpc.thrift.TRowSet tRowSet)
public RowBasedSet addRow(Object[] fields)
public int numColumns()
numColumns in interface RowSetpublic RowBasedSet extractSubset(int maxRows)
extractSubset in interface RowSetpublic long getStartOffset()
getStartOffset in interface RowSetpublic void setStartOffset(long startOffset)
setStartOffset in interface RowSetpublic int getSize()
public org.apache.hive.service.rpc.thrift.TRowSet toTRowSet()
Copyright © 2019 The Apache Software Foundation. All Rights Reserved.