Class IteratorStatement
java.lang.Object
org.datanucleus.store.rdbms.scostore.IteratorStatement
- Direct Known Subclasses:
ElementIteratorStatement
,KeyValueIteratorStatement
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 Summary
FieldsModifier and TypeFieldDescription(package private) org.datanucleus.store.types.scostore.Store
(package private) StatementMappingIndex
Mapping index for the owner in the statement (only specified on bulk fetch iterators).(package private) SelectStatement
The SQL Statement for the iterator. -
Constructor Summary
ConstructorsConstructorDescriptionIteratorStatement
(org.datanucleus.store.types.scostore.Store store, SelectStatement stmt) -
Method Summary
Modifier and TypeMethodDescriptionorg.datanucleus.store.types.scostore.Store
void
-
Field Details
-
backingStore
org.datanucleus.store.types.scostore.Store backingStore -
sqlStmt
SelectStatement sqlStmtThe SQL Statement for the iterator. -
ownerMapIndex
StatementMappingIndex ownerMapIndexMapping index for the owner in the statement (only specified on bulk fetch iterators).
-
-
Constructor Details
-
IteratorStatement
-
-
Method Details
-
getBackingStore
public org.datanucleus.store.types.scostore.Store getBackingStore() -
getSelectStatement
-
getOwnerMapIndex
-
setOwnerMapIndex
-