Constructor and Description |
---|
ColumnBasedSet(TableSchema schema) |
ColumnBasedSet(TRowSet tRowSet) |
Modifier and Type | Method and Description |
---|---|
ColumnBasedSet |
addRow(Object[] fields) |
ColumnBasedSet |
extractSubset(int maxRows) |
Object[] |
fill(int index,
Object[] convey) |
List<Column> |
getColumns() |
long |
getStartOffset() |
Iterator<Object[]> |
iterator() |
int |
numColumns() |
int |
numRows() |
void |
setStartOffset(long startOffset) |
TRowSet |
toTRowSet() |
public ColumnBasedSet(TableSchema schema)
public ColumnBasedSet(TRowSet tRowSet)
public ColumnBasedSet addRow(Object[] fields)
public int numColumns()
numColumns
in interface RowSet
public ColumnBasedSet extractSubset(int maxRows)
extractSubset
in interface RowSet
public long getStartOffset()
getStartOffset
in interface RowSet
public void setStartOffset(long startOffset)
setStartOffset
in interface RowSet
Copyright © 2017 The Apache Software Foundation. All rights reserved.