public abstract class DataRecordSource extends java.lang.Object implements Coggable, java.lang.Iterable<Naming<java.lang.Object>>
DataSourceMap source = new DataSourceMapSubclass();
Iterator it = source.iterator();
while (it.hasNext()) {
Naming current = (Naming) it.next();
log.info("field value = " + current.getValue("field"));
}
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
showProgress |
protected boolean |
verbose |
| Constructor and Description |
|---|
DataRecordSource() |
DataRecordSource(Cog newState) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone() |
void |
close() |
protected void |
copyStateFrom(java.lang.Object nother) |
protected abstract DataRecordFetcher |
createFetcher()
Creates a new fetcher to gather data for a new iteration.
|
java.util.List |
getAfterActions() |
java.util.List |
getBeforeActions() |
boolean |
getShowProgress() |
java.util.List |
getTransforms() |
boolean |
isVerbose() |
java.util.Iterator<Naming<java.lang.Object>> |
iterator() |
void |
setAfterActions(java.util.List newAfterActions) |
void |
setBeforeActions(java.util.List newBeforeActions) |
void |
setShowProgress(boolean tizit) |
void |
setTransforms(java.util.List newTransforms) |
void |
setVerbose(boolean tizit) |
Cog |
toCog()
Returns the complete internal state of this object in the form of a
Cog. |
public DataRecordSource()
public DataRecordSource(Cog newState)
public java.util.Iterator<Naming<java.lang.Object>> iterator()
iterator in interface java.lang.Iterable<Naming<java.lang.Object>>protected abstract DataRecordFetcher createFetcher()
public java.util.List getTransforms()
public void setTransforms(java.util.List newTransforms)
public java.util.List getBeforeActions()
public void setBeforeActions(java.util.List newBeforeActions)
public java.util.List getAfterActions()
public void setAfterActions(java.util.List newAfterActions)
protected void copyStateFrom(java.lang.Object nother)
public java.lang.Object clone()
clone in class java.lang.Objectpublic boolean isVerbose()
public void setVerbose(boolean tizit)
public boolean getShowProgress()
public void setShowProgress(boolean tizit)
public void close()