public class UnwrapRowContainer extends Object implements MapJoinRowContainer, AbstractRowContainer.RowIterator<List<Object>>
AbstractRowContainer.RowIterator<ROW>| Constructor and Description |
|---|
UnwrapRowContainer(byte alias,
int[] valueIndex,
ObjectInspectorConverters.Converter[] converters,
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,
ObjectInspectorConverters.Converter[] converters,
boolean tagged)
public MapJoinRowContainer setInternal(MapJoinRowContainer internal, Object[] currentKey)
public List<Object> first() throws HiveException
first in interface AbstractRowContainer.RowIterator<List<Object>>HiveExceptionpublic List<Object> next() throws HiveException
next in interface AbstractRowContainer.RowIterator<List<Object>>HiveExceptionpublic AbstractRowContainer.RowIterator<List<Object>> rowIter() throws HiveException
rowIter in interface AbstractRowContainer<List<Object>>HiveExceptionpublic void addRow(List<Object> t) throws HiveException
AbstractRowContaineraddRow in interface AbstractRowContainer<List<Object>>t - rowHiveExceptionpublic boolean hasRows()
throws HiveException
hasRows in interface AbstractRowContainer<List<Object>>HiveExceptionpublic boolean isSingleRow()
throws HiveException
isSingleRow in interface AbstractRowContainer<List<Object>>HiveExceptionpublic int rowCount()
throws HiveException
rowCount in interface AbstractRowContainer<List<Object>>HiveExceptionpublic void clearRows()
throws HiveException
AbstractRowContainerclearRows in interface AbstractRowContainer<List<Object>>HiveExceptionpublic byte getAliasFilter()
throws HiveException
getAliasFilter in interface MapJoinRowContainerHiveExceptionpublic MapJoinRowContainer copy() throws HiveException
copy in interface MapJoinRowContainerHiveExceptionpublic void addRow(Object[] value) throws HiveException
addRow in interface MapJoinRowContainerHiveExceptionpublic void write(MapJoinObjectSerDeContext valueContext, ObjectOutputStream out) throws IOException, SerDeException
write in interface MapJoinRowContainerIOExceptionSerDeExceptionCopyright © 2019 The Apache Software Foundation. All Rights Reserved.