public class MapJoinEagerRowContainer extends Object implements MapJoinRowContainer, AbstractRowContainer.RowIterator<List<Object>>
AbstractRowContainer.RowIterator<ROW>
Constructor and Description |
---|
MapJoinEagerRowContainer() |
Modifier and Type | Method and Description |
---|---|
void |
addRow(List<Object> t)
add a row into the RowContainer
|
void |
addRow(Object[] t) |
void |
clearRows()
Remove all elements in the RowContainer.
|
MapJoinRowContainer |
copy() |
List<Object> |
first() |
byte |
getAliasFilter() |
boolean |
hasRows() |
boolean |
isSingleRow() |
List<Object> |
next() |
void |
read(MapJoinObjectSerDeContext context,
ObjectInputStream in,
org.apache.hadoop.io.Writable container) |
void |
read(MapJoinObjectSerDeContext context,
org.apache.hadoop.io.Writable currentValue) |
int |
rowCount()
Get the number of elements in the RowContainer.
|
AbstractRowContainer.RowIterator<List<Object>> |
rowIter() |
void |
write(MapJoinObjectSerDeContext context,
ObjectOutputStream out) |
public void addRow(List<Object> t)
AbstractRowContainer
addRow
in interface AbstractRowContainer<List<Object>>
t
- rowpublic void addRow(Object[] t)
addRow
in interface MapJoinRowContainer
public AbstractRowContainer.RowIterator<List<Object>> rowIter()
rowIter
in interface AbstractRowContainer<List<Object>>
public List<Object> first()
first
in interface AbstractRowContainer.RowIterator<List<Object>>
public List<Object> next()
next
in interface AbstractRowContainer.RowIterator<List<Object>>
public boolean hasRows()
hasRows
in interface AbstractRowContainer<List<Object>>
public boolean isSingleRow()
isSingleRow
in interface AbstractRowContainer<List<Object>>
public int rowCount()
rowCount
in interface AbstractRowContainer<List<Object>>
public void clearRows()
clearRows
in interface AbstractRowContainer<List<Object>>
public byte getAliasFilter()
getAliasFilter
in interface MapJoinRowContainer
public MapJoinRowContainer copy()
copy
in interface MapJoinRowContainer
public void read(MapJoinObjectSerDeContext context, ObjectInputStream in, org.apache.hadoop.io.Writable container) throws IOException, SerDeException
IOException
SerDeException
public void read(MapJoinObjectSerDeContext context, org.apache.hadoop.io.Writable currentValue) throws SerDeException
SerDeException
public void write(MapJoinObjectSerDeContext context, ObjectOutputStream out) throws IOException, SerDeException
write
in interface MapJoinRowContainer
IOException
SerDeException
Copyright © 2017 The Apache Software Foundation. All rights reserved.