public class FlatRowContainer extends AbstractCollection<Object> implements MapJoinRowContainer, AbstractRowContainer.RowIterator<List<Object>>, List<Object>
| Constructor and Description |
|---|
FlatRowContainer() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(int index,
Object element) |
void |
add(MapJoinObjectSerDeContext context,
org.apache.hadoop.io.BytesWritable value)
Called when loading the hashtable.
|
boolean |
addAll(int index,
Collection<? extends Object> c) |
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() |
Object |
get(int index) |
byte |
getAliasFilter() |
boolean |
hasRows() |
int |
indexOf(Object o) |
boolean |
isSingleRow() |
Iterator<Object> |
iterator() |
int |
lastIndexOf(Object o) |
ListIterator<Object> |
listIterator() |
ListIterator<Object> |
listIterator(int index) |
List<Object> |
next() |
Object |
remove(int index) |
int |
rowCount() |
AbstractRowContainer.RowIterator<List<Object>> |
rowIter() |
Object |
set(int index,
Object element) |
int |
size() |
List<Object> |
subList(int fromIndex,
int toIndex) |
Object[] |
toArray() |
void |
write(MapJoinObjectSerDeContext valueContext,
ObjectOutputStream out) |
add, addAll, clear, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toStringpublic void add(MapJoinObjectSerDeContext context, org.apache.hadoop.io.BytesWritable value) throws HiveException
HiveExceptionpublic void addRow(List<Object> t) throws HiveException
AbstractRowContaineraddRow in interface AbstractRowContainer<List<Object>>t - rowHiveExceptionpublic void addRow(Object[] value) throws HiveException
addRow in interface MapJoinRowContainerHiveExceptionpublic void write(MapJoinObjectSerDeContext valueContext, ObjectOutputStream out)
write in interface MapJoinRowContainerpublic AbstractRowContainer.RowIterator<List<Object>> rowIter() throws HiveException
rowIter in interface AbstractRowContainer<List<Object>>HiveExceptionpublic List<Object> first() throws HiveException
first in interface AbstractRowContainer.RowIterator<List<Object>>HiveExceptionpublic List<Object> next()
next in interface AbstractRowContainer.RowIterator<List<Object>>public 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()
AbstractRowContainerclearRows in interface AbstractRowContainer<List<Object>>public byte getAliasFilter()
throws HiveException
getAliasFilter in interface MapJoinRowContainerHiveExceptionpublic MapJoinRowContainer copy() throws HiveException
copy in interface MapJoinRowContainerHiveExceptionpublic int size()
size in interface Collection<Object>size in interface List<Object>size in class AbstractCollection<Object>public Object[] toArray()
toArray in interface Collection<Object>toArray in interface List<Object>toArray in class AbstractCollection<Object>public ListIterator<Object> listIterator()
listIterator in interface List<Object>public ListIterator<Object> listIterator(int index)
listIterator in interface List<Object>public int lastIndexOf(Object o)
lastIndexOf in interface List<Object>public boolean addAll(int index,
Collection<? extends Object> c)
Copyright © 2017 The Apache Software Foundation. All rights reserved.