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() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public RowBasedSet(TableSchema schema)
public RowBasedSet(TRowSet tRowSet)
public RowBasedSet addRow(Object[] fields)
public int numColumns()
numColumns
in interface RowSet
public RowBasedSet extractSubset(int maxRows)
extractSubset
in interface RowSet
public long getStartOffset()
getStartOffset
in interface RowSet
public void setStartOffset(long startOffset)
setStartOffset
in interface RowSet
public int getSize()
Copyright © 2021 The Apache Software Foundation. All rights reserved.