public class DataProvider_ extends BaseObject
| Modifier and Type | Field and Description |
|---|---|
private int |
size
Current data size
|
protected handle |
ttData
Temptable handle
|
protected handle |
ttQuery
Query handle
|
| Constructor and Description |
|---|
DataProvider_() |
| Modifier and Type | Method and Description |
|---|---|
void |
__oeunit_data_dataProvider__constructor__()
Constructor
|
static void |
__oeunit_data_DataProvider__constructor__static__()
Static constructor
|
void |
__oeunit_data_DataProvider__destructor__()
Destructor
|
void |
__oeunit_data_DataProvider__execute__()
The 'execute' method
|
private boolean |
_moveNext()
MoveNext internal implementation.
|
private void |
countSize()
Count number of entries
|
logical |
fromJson(Text json)
Initialize from a JSON string.
|
logical |
fromJsonfile(Text path)
Initialize from a JSON file.
|
logical |
fromTempTable(handle _ttSrc)
Initialize from a TEMP-TABLE
|
logical |
fromXml(Text xml)
Initialize from an XML string
|
logical |
fromXmlfile(Text path)
Initialize from an XML file
|
object<? extends ParameterList> |
getParameterList()
Get list of parameters
|
integer |
getSize()
Get size property
|
logical |
moveFirst()
Move to the first entry.
|
logical |
moveLast()
Move to the last entry.
|
logical |
moveNext()
Move to the next entry.
|
logical |
movePrev()
Move to the previous entry.
|
private void |
resetQuery()
Reset the query
|
private void |
setSize(integer newSize)
Set size property
|
__isValidInternal__, __lang_BaseObject_constructor__, __setValidInternal__, assertNotNull, assertNotNull, getLegacyClass, getNextSibling, getPrevSibling, legacyClone, legacyEquals, toLegacyStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisTrackedprotected handle ttData
protected handle ttQuery
private int size
public static void __oeunit_data_DataProvider__constructor__static__()
public void __oeunit_data_dataProvider__constructor__()
public void __oeunit_data_DataProvider__destructor__()
public void __oeunit_data_DataProvider__execute__()
public logical fromJson(Text json)
json - the JSON stringtrue if the operation completed successfully.public logical fromJsonfile(Text path)
path - path to a JSON filetrue if the operation completed successfully.public logical fromTempTable(handle _ttSrc)
_ttSrc - source table handletrue if the operation completed successfully.public logical fromXml(Text xml)
xml - source XML codetrue if the operation completed successfully.public logical fromXmlfile(Text path)
path - path to the source XML filetrue if the operation completed successfully.public object<? extends ParameterList> getParameterList()
public integer getSize()
public logical moveFirst()
true if this operation was successful.public logical moveLast()
true if this operation was successful.public logical moveNext()
true if this operation was successful.public logical movePrev()
true if this operation was successful.private final boolean _moveNext()
true is the call was successfulprivate final void countSize()
private final void resetQuery()
private void setSize(integer newSize)
newSize - the new size