|
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 remote data sources, the records they provide, and the fields those records contained. Data sources that do not extend the AbleAbstractImport class must implement this interface.
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. |
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 either AbleContinuousField or
AbleDiscreteField ;
false if any are AbleCategoricalField . |
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.AbleRemoteBean |
---|
getName, getState, init, init, process, process, quitAll, reset, resumeAll, suspendAll |
Methods inherited from interface com.ibm.able.AbleRemoteEventListener |
---|
handleAbleEvent |
Methods inherited from interface com.ibm.able.AbleEventListenerRemoteManager |
---|
addAbleEventListener, notifyAbleEventListeners, removeAbleEventListener |
Method Detail |
public long getNumRecords() throws java.rmi.RemoteException
java.rmi.RemoteException
- If any error occurs.public int getNumberOfOutputFields() throws java.rmi.RemoteException
java.rmi.RemoteException
- If any error occurs.public long getNumEpochs() throws java.rmi.RemoteException
java.rmi.RemoteException
- If any error occurs.public java.util.Vector getFieldList() throws java.rmi.RemoteException
AbleField
objects defining each field in the data source.java.rmi.RemoteException
- If any error occurs.public void setFieldList(java.util.Vector fieldList) throws java.rmi.RemoteException
The
- list of AbleField
objects defining each field in the data source.java.rmi.RemoteException
- If any error occurs.public boolean isAllNumericData() throws java.rmi.RemoteException
AbleContinuousField
or
AbleDiscreteField
;
false if any are AbleCategoricalField
.java.rmi.RemoteException
- If any error occurs.public boolean isReady() throws java.rmi.RemoteException
java.rmi.RemoteException
- If any error occurs.public long getStepsPerCycle() throws java.rmi.RemoteException
java.rmi.RemoteException
- If any error occurs.
|
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 |