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, toString
public void add(MapJoinObjectSerDeContext context, org.apache.hadoop.io.BytesWritable value) throws HiveException
HiveException
public void addRow(List<Object> t) throws HiveException
AbstractRowContainer
addRow
in interface AbstractRowContainer<List<Object>>
t
- rowHiveException
public void addRow(Object[] value) throws HiveException
addRow
in interface MapJoinRowContainer
HiveException
public void write(MapJoinObjectSerDeContext valueContext, ObjectOutputStream out)
write
in interface MapJoinRowContainer
public AbstractRowContainer.RowIterator<List<Object>> rowIter() throws HiveException
rowIter
in interface AbstractRowContainer<List<Object>>
HiveException
public List<Object> first() throws HiveException
first
in interface AbstractRowContainer.RowIterator<List<Object>>
HiveException
public List<Object> next()
next
in interface AbstractRowContainer.RowIterator<List<Object>>
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()
AbstractRowContainer
clearRows
in interface AbstractRowContainer<List<Object>>
public byte getAliasFilter() throws HiveException
getAliasFilter
in interface MapJoinRowContainer
HiveException
public MapJoinRowContainer copy() throws HiveException
copy
in interface MapJoinRowContainer
HiveException
public 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.