org.apache.hadoop.hive.ql.exec.persistence
Class AbstractRowContainer<Row>

java.lang.Object
  extended by org.apache.hadoop.hive.ql.exec.persistence.AbstractRowContainer<Row>
Direct Known Subclasses:
MapJoinRowContainer, RowContainer

public abstract class AbstractRowContainer<Row>
extends Object


Constructor Summary
AbstractRowContainer()
           
 
Method Summary
abstract  void add(Row t)
           
abstract  void clear()
          Remove all elements in the RowContainer.
abstract  Row first()
           
abstract  Row next()
           
abstract  int size()
          Get the number of elements in the RowContainer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractRowContainer

public AbstractRowContainer()
Method Detail

add

public abstract void add(Row t)
                  throws HiveException
Throws:
HiveException

first

public abstract Row first()
                   throws HiveException
Throws:
HiveException

next

public abstract Row next()
                  throws HiveException
Throws:
HiveException

size

public abstract int size()
Get the number of elements in the RowContainer.

Returns:
number of elements in the RowContainer

clear

public abstract void clear()
                    throws HiveException
Remove all elements in the RowContainer.

Throws:
HiveException


Copyright © 2011 The Apache Software Foundation