org.experlog.util
Class ESMaterializeDataSet

java.lang.Object
  extended by org.experlog.util.ESMaterializeDataSet
All Implemented Interfaces:
DataSet

public class ESMaterializeDataSet
extends java.lang.Object
implements DataSet


Constructor Summary
ESMaterializeDataSet(DataSet ds)
           
 
Method Summary
 void close()
           
 boolean dataAvailable()
           
 DataObject getTuple()
           
 boolean isTransient()
           
 boolean next()
           
 void open()
           
 void orderBy(java.lang.String col, boolean asc)
           
 void setBoundaries(int low, int high)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ESMaterializeDataSet

public ESMaterializeDataSet(DataSet ds)
                     throws java.sql.SQLException
Throws:
java.sql.SQLException
Method Detail

orderBy

public void orderBy(java.lang.String col,
                    boolean asc)

next

public boolean next()
             throws java.sql.SQLException
Specified by:
next in interface DataSet
Throws:
java.sql.SQLException

dataAvailable

public boolean dataAvailable()
                      throws java.sql.SQLException
Specified by:
dataAvailable in interface DataSet
Throws:
java.sql.SQLException

getTuple

public DataObject getTuple()
                    throws java.sql.SQLException
Specified by:
getTuple in interface DataSet
Throws:
java.sql.SQLException

open

public void open()
          throws java.sql.SQLException
Specified by:
open in interface DataSet
Throws:
java.sql.SQLException

close

public void close()
           throws java.sql.SQLException
Specified by:
close in interface DataSet
Throws:
java.sql.SQLException

isTransient

public boolean isTransient()
Specified by:
isTransient in interface DataSet

setBoundaries

public void setBoundaries(int low,
                          int high)
                   throws java.sql.SQLException
Specified by:
setBoundaries in interface DataSet
Throws:
java.sql.SQLException