Interface AttributeReader

  • All Known Implementing Classes:
    JoiningAttributeReader

    public interface AttributeReader
    The low-level attribute reading API. An AttributeReader is responsible for reading a finite set of attributes from an underlying storage format. It provides meta-data regarding the data it can provide, and an iterative, row-based approach for accessing the data.
    Author:
    Ian Schneider
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void close()
      Release any resources associated with this reader
      int getAttributeCount()
      The number of attributes this reader can read, i.e the length of a row.
      AttributeDescriptor getAttributeType​(int index)
      Retrieve the AttributeType at the given index.
      boolean hasNext()
      Does another set of attributes exist in this reader?
      void next()
      Advance the reader to the next set of attributes.
      Object read​(int index)
      Read the attribute at the given index.