org.experlog.openeas.api
Class VectorDataSet

java.lang.Object
  extended by org.experlog.openeas.api.VectorDataSet
All Implemented Interfaces:
DataSet

public class VectorDataSet
extends java.lang.Object
implements DataSet


Field Summary
static int DATATUPLE
           
static int HASHTABLE
           
static int VALUE
           
 
Constructor Summary
VectorDataSet(int type, java.util.Vector v)
           
VectorDataSet(java.util.Vector v)
           
 
Method Summary
 void close()
           
 boolean dataAvailable()
           
 DataObject getTuple()
           
 java.util.Vector getVector()
           
 boolean isTransient()
           
 boolean next()
           
 void open()
           
 void setBoundaries(int low, int high)
           
 void setTransient(boolean trans)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DATATUPLE

public static final int DATATUPLE
See Also:
Constant Field Values

VALUE

public static final int VALUE
See Also:
Constant Field Values

HASHTABLE

public static final int HASHTABLE
See Also:
Constant Field Values
Constructor Detail

VectorDataSet

public VectorDataSet(int type,
                     java.util.Vector v)

VectorDataSet

public VectorDataSet(java.util.Vector v)
Method Detail

getVector

public java.util.Vector getVector()

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

setTransient

public void setTransient(boolean trans)

setBoundaries

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