org.eigenbase.runtime
Enum TupleIter.NoDataReason

java.lang.Object
  extended by java.lang.Enum<TupleIter.NoDataReason>
      extended by org.eigenbase.runtime.TupleIter.NoDataReason
All Implemented Interfaces:
Serializable, Comparable<TupleIter.NoDataReason>
Enclosing interface:
TupleIter

public static enum TupleIter.NoDataReason
extends Enum<TupleIter.NoDataReason>

NoDataReason provides a reason why no data was returned by a call to TupleIter.fetchNext().


Enum Constant Summary
END_OF_DATA
          End of data.
UNDERFLOW
          Data underflow.
 
Method Summary
static TupleIter.NoDataReason valueOf(String name)
          Returns the enum constant of this type with the specified name.
static TupleIter.NoDataReason[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

END_OF_DATA

public static final TupleIter.NoDataReason END_OF_DATA
End of data. No more data will be returned unless the iterator is reset by a call to TupleIter.restart().


UNDERFLOW

public static final TupleIter.NoDataReason UNDERFLOW
Data underflow. No more data will be returned until the underlying data source provides more input rows.

Method Detail

values

public static final TupleIter.NoDataReason[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(TupleIter.NoDataReason c : TupleIter.NoDataReason.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static TupleIter.NoDataReason valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name