|
ABLE 2.0.0 07/02/2003 10:25:01 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The AbleDataSource interface is implemented to provide common information about data sources, the records they provide, and the fields contained by those records. When a data source is opened, it is required to create a vector of AbleFields.
Method Summary | |
---|---|
void |
close()
Set the number of records in the data source |
int |
getBufferSize()
Get the current buffer size, the number of records to cache. |
java.util.Vector |
getFieldList()
Return a Vector of AbleFields describing this datasource. |
int |
getNumFieldsPerRec()
Returns the number of fields in each record in the data source. |
long |
getNumRecords()
Returns the number of records in the data source. |
java.util.Vector |
getTextData()
Return a vector of text data records. |
boolean |
isAllNumericData()
Returns true if all fields are "continuous" or "discrete" false if any are "categorical" (i.e. |
boolean |
isReady()
Returns whether the data source is ready to be opened. |
void |
open()
Returns the number of records in the data source |
void |
readNextRecordBlock()
Read the next block of records from the data source. |
void |
setBufferSize(int size)
Get the current buffer size, the number of records to cache. |
void |
setFieldList(java.util.Vector fieldList)
Set a Vector of AbleFields describing this datasource. |
Method Detail |
public long getNumRecords() throws java.rmi.RemoteException
public int getNumFieldsPerRec() throws java.rmi.RemoteException
public boolean isReady() throws java.rmi.RemoteException
public boolean isAllNumericData() throws java.rmi.RemoteException
public int getBufferSize() throws java.rmi.RemoteException
public void setBufferSize(int size) throws java.rmi.RemoteException
public void readNextRecordBlock() throws java.rmi.RemoteException
public java.util.Vector getTextData() throws java.rmi.RemoteException
public void open() throws java.rmi.RemoteException
public void close() throws java.rmi.RemoteException
public java.util.Vector getFieldList() throws java.rmi.RemoteException
public void setFieldList(java.util.Vector fieldList) throws java.rmi.RemoteException
|
ABLE 2.0.0 07/02/2003 10:25:01 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |