public class UnwrapRowContainer extends Object implements MapJoinRowContainer, AbstractRowContainer.RowIterator<List<Object>>
AbstractRowContainer.RowIterator<ROW>
Constructor and Description |
---|
UnwrapRowContainer(byte alias,
int[] valueIndex,
boolean tagged) |
Modifier and Type | Method and Description |
---|---|
void |
addRow(List<Object> t)
add a row into the RowContainer
|
void |
addRow(Object[] value) |
void |
clearRows()
Remove all elements in the RowContainer.
|
MapJoinRowContainer |
copy() |
List<Object> |
first() |
byte |
getAliasFilter() |
boolean |
hasRows() |
boolean |
isSingleRow() |
List<Object> |
next() |
int |
rowCount() |
AbstractRowContainer.RowIterator<List<Object>> |
rowIter() |
MapJoinRowContainer |
setInternal(MapJoinRowContainer internal,
Object[] currentKey) |
String |
toString() |
void |
write(MapJoinObjectSerDeContext valueContext,
ObjectOutputStream out) |
public UnwrapRowContainer(byte alias, int[] valueIndex, boolean tagged)
public MapJoinRowContainer setInternal(MapJoinRowContainer internal, Object[] currentKey)
public List<Object> first() throws HiveException
first
in interface AbstractRowContainer.RowIterator<List<Object>>
HiveException
public List<Object> next() throws HiveException
next
in interface AbstractRowContainer.RowIterator<List<Object>>
HiveException
public AbstractRowContainer.RowIterator<List<Object>> rowIter() throws HiveException
rowIter
in interface AbstractRowContainer<List<Object>>
HiveException
public void addRow(List<Object> t) throws HiveException
AbstractRowContainer
addRow
in interface AbstractRowContainer<List<Object>>
t
- rowHiveException
public boolean hasRows() throws HiveException
hasRows
in interface AbstractRowContainer<List<Object>>
HiveException
public boolean isSingleRow() throws HiveException
isSingleRow
in interface AbstractRowContainer<List<Object>>
HiveException
public int rowCount() throws HiveException
rowCount
in interface AbstractRowContainer<List<Object>>
HiveException
public void clearRows() throws HiveException
AbstractRowContainer
clearRows
in interface AbstractRowContainer<List<Object>>
HiveException
public byte getAliasFilter() throws HiveException
getAliasFilter
in interface MapJoinRowContainer
HiveException
public MapJoinRowContainer copy() throws HiveException
copy
in interface MapJoinRowContainer
HiveException
public void addRow(Object[] value) throws HiveException
addRow
in interface MapJoinRowContainer
HiveException
public void write(MapJoinObjectSerDeContext valueContext, ObjectOutputStream out) throws IOException, SerDeException
write
in interface MapJoinRowContainer
IOException
SerDeException
Copyright © 2017 The Apache Software Foundation. All rights reserved.