Class IteratorStatement
- java.lang.Object
-
- org.datanucleus.store.rdbms.scostore.IteratorStatement
-
- Direct Known Subclasses:
ElementIteratorStatement,KeyValueIteratorStatement
public abstract class IteratorStatement extends java.lang.ObjectRepresentation 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 Summary
Fields Modifier and Type Field Description (package private) org.datanucleus.store.types.scostore.StorebackingStore(package private) StatementMappingIndexownerMapIndexMapping index for the owner in the statement (only specified on bulk fetch iterators).(package private) SelectStatementsqlStmtThe SQL Statement for the iterator.
-
Constructor Summary
Constructors Constructor Description IteratorStatement(org.datanucleus.store.types.scostore.Store store, SelectStatement stmt)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.datanucleus.store.types.scostore.StoregetBackingStore()StatementMappingIndexgetOwnerMapIndex()SelectStatementgetSelectStatement()voidsetOwnerMapIndex(StatementMappingIndex idx)
-
-
-
Field Detail
-
backingStore
org.datanucleus.store.types.scostore.Store backingStore
-
sqlStmt
SelectStatement 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 Detail
-
IteratorStatement
public IteratorStatement(org.datanucleus.store.types.scostore.Store store, SelectStatement stmt)
-
-
Method Detail
-
getBackingStore
public org.datanucleus.store.types.scostore.Store getBackingStore()
-
getSelectStatement
public SelectStatement getSelectStatement()
-
getOwnerMapIndex
public StatementMappingIndex getOwnerMapIndex()
-
setOwnerMapIndex
public void setOwnerMapIndex(StatementMappingIndex idx)
-
-