|
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 provides common information about data sources, the records they provide, and the fields those records contain. Typically a given container has only one active AbleDataSource.
| Method Summary | |
|---|---|
java.util.Vector |
getFieldList()
Returns a list of AbleField objects defining each field in the data source. |
int |
getNumberOfOutputFields()
Returns the number of fields in each record in the data source. |
long |
getNumEpochs()
Returns the number of complete passes over the data, the number of times each record in the data source has been read. |
long |
getNumRecords()
Returns the number of records in the data source. |
long |
getStepsPerCycle()
Returns the number of records or steps to process in a cycle. |
boolean |
isAllNumericData()
Indicates true if all fields in the data source are AbleContinuousField or
AbleDiscreteField
objects;
false otherwise. |
boolean |
isReady()
Indicates if the data source is ready to provide data. |
void |
setFieldList(java.util.Vector fieldList)
Sets the field definitions for this datasource. |
| Methods inherited from interface com.ibm.able.AbleBean |
|---|
getComment, getLogger, getName, getParent, getProperties, getProperty, getState, getTraceLogger, init, init, isChanged, process, process, quitAll, removeAllConnections, removeProperty, reset, resumeAll, setChanged, setComment, setLogger, setName, setParent, setProperties, setProperty, setState, setTraceLogger, suspendAll |
| Methods inherited from interface com.ibm.able.AbleEventListener |
|---|
handleAbleEvent |
| Methods inherited from interface com.ibm.able.AbleEventListenerManager |
|---|
addAbleEventListener, dataChanged, getAbleEventListeners, notifyAbleEventListeners, removeAbleEventListener |
| Methods inherited from interface com.ibm.able.AbleEventQueueProcessor |
|---|
processAbleEvent, processNoEventProcessingEnabledSituation, processTimerEvent |
| Methods inherited from interface com.ibm.able.AblePropertyChangeManager |
|---|
addPropertyChangeListener, addPropertyConnection, getPropertyChangeListeners, getPropertyConnectionManager, removeAllPropertyConnections, removePropertyChangeListener, removePropertyConnection |
| Methods inherited from interface com.ibm.able.AbleSerializable |
|---|
getFileName, restoreFromFile, restoreFromFile, saveToFile, saveToFile, setFileName |
| Method Detail |
public long getNumRecords()
public int getNumberOfOutputFields()
public long getNumEpochs()
public java.util.Vector getFieldList()
AbleField objects defining each field in the data source.
public void setFieldList(java.util.Vector fieldList)
fieldList - The list of AbleField objects defining each field in the data source.public boolean isAllNumericData()
AbleContinuousField or
AbleDiscreteField
objects;
false otherwise.
public boolean isReady()
throws AbleException
AbleExceptionpublic long getStepsPerCycle()
|
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 | |||||||||||