Qore jni Module 2.4.0
Loading...
Searching...
No Matches
org.qore.lang.dataprovider.AbstractDataProviderRecordIterator Class Reference

Java wrapper for the DataProvider::AbstractDataProviderRecordIterator class in Qore. More...

Inheritance diagram for org.qore.lang.dataprovider.AbstractDataProviderRecordIterator:
org.qore.lang.AbstractIterator org.qore.jni.QoreObjectWrapper org.qore.lang.mapper.MapperOutputRecordIterator

Public Member Methods

 AbstractDataProviderRecordIterator (QoreObject obj) throws Throwable
 creates the object as a wrapper for the Qore object
HashMap< String, Object > getValue () throws Throwable
 returns a single record if the iterator is valid
Public Member Methods inherited from org.qore.lang.AbstractIterator
 AbstractIterator (QoreObject obj) throws Throwable
 creates the object as a wrapper for the Qore object
boolean next () throws Throwable
 Moves the current position to the next element; returns False if there are no more elements.
boolean valid () throws Throwable
 returns true if the iterator is currently pointing at a valid element, false if not
Public Member Methods inherited from org.qore.jni.QoreObjectWrapper
 QoreObjectWrapper (QoreObject obj)
 creates the wrapper object with the Qore object
void release ()
 releases the Qore object; do not call any further methods on the object after this call
QoreObject getQoreObject ()
 returns the Qore object
String className ()
 returns the class name for the Qore object
boolean instanceOf (String class_name)
 returns true if the object is an instance of the given class

Additional Inherited Members

Private Attributes inherited from org.qore.jni.QoreObjectWrapper
QoreObject obj
 the wrapper Qore object

Detailed Description

Java wrapper for the DataProvider::AbstractDataProviderRecordIterator class in Qore.

Note
Loads and initializes the Qore library and the jni module in static initialization if necessary
Deprecated
Use dynamic imports instead: import qoremod.DataProvider.AbstractDataProviderRecordIterator;

Member Function Documentation

◆ getValue()

HashMap< String, Object > org.qore.lang.dataprovider.AbstractDataProviderRecordIterator.getValue ( ) throws Throwable
inline

returns a single record if the iterator is valid

Exceptions
INVALID-ITERATORthe iterator is not pointing at a valid element

Reimplemented from org.qore.lang.AbstractIterator.


The documentation for this class was generated from the following file:
  • src/java/org/qore/lang/dataprovider/AbstractDataProviderRecordIterator.java