Class IteratorStatement

java.lang.Object
org.datanucleus.store.rdbms.scostore.IteratorStatement
Direct Known Subclasses:
ElementIteratorStatement, KeyValueIteratorStatement

public abstract class IteratorStatement extends Object
Representation of the SQLStatement for an iterator of a container (map, collection, or array). An iterator statement can be an iterator for a single owner, or a bulk iterator for multiple owners (in which case the ownerMapIndex will be set so we can check the owner for the element/key/value. This will be extended for a collection/array element or map key/value dependent on which type we represent.
  • Field Details

    • backingStore

      org.datanucleus.store.types.scostore.Store backingStore
    • sqlStmt

      The SQL Statement for the iterator.
    • ownerMapIndex

      StatementMappingIndex ownerMapIndex
      Mapping index for the owner in the statement (only specified on bulk fetch iterators).
  • Constructor Details

    • IteratorStatement

      public IteratorStatement(org.datanucleus.store.types.scostore.Store store, SelectStatement stmt)
  • Method Details

    • getBackingStore

      public org.datanucleus.store.types.scostore.Store getBackingStore()
    • getSelectStatement

      public SelectStatement getSelectStatement()
    • getOwnerMapIndex

      public StatementMappingIndex getOwnerMapIndex()
    • setOwnerMapIndex

      public void setOwnerMapIndex(StatementMappingIndex idx)