| Constructor and Description |
|---|
RowBasedSet(TableSchema schema) |
RowBasedSet(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) |
TRowSet |
toTRowSet() |
public RowBasedSet(TableSchema schema)
public RowBasedSet(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()
Copyright © 2017 The Apache Software Foundation. All rights reserved.