Class DefaultFIDReader

  • All Implemented Interfaces:
    FIDReader

    public class DefaultFIDReader
    extends Object
    implements FIDReader
    A Default FIDReader. Just auto-increments an index. May be sufficient for files, representing rows in a file. For jdbc datasources a ResultSetFIDReader should be used.
    Author:
    Chris Holmes
    • Constructor Detail

      • DefaultFIDReader

        public DefaultFIDReader​(String typeName)
    • Method Detail

      • close

        public void close()
        Release any resources associated with this reader
        Specified by:
        close in interface FIDReader
      • hasNext

        public boolean hasNext()
                        throws IOException
        Does another set of attributes exist in this reader?
        Specified by:
        hasNext in interface FIDReader
        Returns:
        true if more attributes exist
        Throws:
        IOException - If closed