Documentation of 'org.hsqldb.navigator.RowSetNavigator' Java class
RowSetNavigator
org.hsqldb.navigator

Class RowSetNavigator

  • All Implemented Interfaces:
    RangeIterator, RowIterator
    Direct Known Subclasses:
    RowSetNavigatorClient, RowSetNavigatorData


    public abstract class RowSetNavigator
    extends java.lang.Object
    implements RangeIterator
    Encapsulates navigation functionality for lists of objects. The base class provides positional navigation and checking, while the subclasses provide object retreival.
    Since:
    1.9.0
    • Constructor Detail

      • RowSetNavigator

        public RowSetNavigator()
    • Method Detail

      • setId

        public void setId(long id)
        Sets the id;
      • getId

        public long getId()
        Returns the id
      • getCurrent

        public abstract java.lang.Object[] getCurrent()
        Returns the current row object. Type of object is implementation defined.
        Specified by:
        getCurrent in interface RangeIterator
      • setCurrent

        public void setCurrent(java.lang.Object[] data)
        Specified by:
        setCurrent in interface RangeIterator
      • getRowid

        public long getRowid()
      • add

        public abstract void add(java.lang.Object[] data)
        Add data to the end
      • addRow

        public abstract boolean addRow(Row row)
        Add row to the end
      • removeCurrent

        public abstract void removeCurrent()
        Remove current row
        Specified by:
        removeCurrent in interface RowIterator
      • reset

        public void reset()
        Reset to initial state
        Specified by:
        reset in interface RangeIterator
      • clear

        public abstract void clear()
        Clear the contents
      • release

        public abstract void release()
        Remove any resourses and invalidate
        Specified by:
        release in interface RowIterator
      • getSize

        public int getSize()
      • isEmpty

        public boolean isEmpty()
      • getNext

        public java.lang.Object[] getNext()
        Specified by:
        getNext in interface RowIterator
      • setRowColumns

        public boolean setRowColumns(boolean[] columns)
        Specified by:
        setRowColumns in interface RowIterator
      • beforeFirst

        public boolean beforeFirst()
      • afterLast

        public boolean afterLast()
      • first

        public boolean first()
      • last

        public boolean last()
      • getRowNumber

        public int getRowNumber()
      • absolute

        public boolean absolute(int position)
        Uses similar semantics to java.sql.ResultSet except this is 0 based. When position is 0 or positive, it is from the start; when negative, it is from end
      • relative

        public boolean relative(int rows)
      • previous

        public boolean previous()
      • isFirst

        public boolean isFirst()
      • isLast

        public boolean isLast()
      • isAfterLast

        public boolean isAfterLast()
      • isMemory

        public boolean isMemory()

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.