Modifier and Type | Field and Description |
---|---|
static org.slf4j.Logger |
LOG |
Constructor and Description |
---|
ColumnBasedSet(TableSchema schema) |
ColumnBasedSet(TableSchema schema,
boolean isBlobBased) |
ColumnBasedSet(TRowSet tRowSet) |
Modifier and Type | Method and Description |
---|---|
ColumnBasedSet |
addRow(Object[] fields) |
ColumnBasedSet |
extractSubset(int maxRows) |
Object[] |
fill(int index,
Object[] convey) |
List<ColumnBuffer> |
getColumns() |
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 ColumnBasedSet(TableSchema schema)
public ColumnBasedSet(TRowSet tRowSet) throws org.apache.thrift.TException
org.apache.thrift.TException
public ColumnBasedSet(TableSchema schema, boolean isBlobBased)
public ColumnBasedSet addRow(Object[] fields)
public List<ColumnBuffer> getColumns()
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 © 2016 The Apache Software Foundation. All rights reserved.