|
ABLE 2.3.0 07/13/2005 14:21:00 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | 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"; that is, symbols. |
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()
public int getNumFieldsPerRec()
public boolean isReady()
public boolean isAllNumericData()
public int getBufferSize()
public void setBufferSize(int size)
public void readNextRecordBlock()
throws AbleException
AbleExceptionpublic java.util.Vector getTextData()
public void open()
throws AbleException
AbleException
public void close()
throws AbleException
AbleExceptionpublic java.util.Vector getFieldList()
public void setFieldList(java.util.Vector fieldList)
|
ABLE 2.3.0 07/13/2005 14:21:00 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||