Package com.db4o.cs.internal
Class LazyClientQueryResult
- java.lang.Object
-
- com.db4o.internal.query.result.AbstractQueryResult
-
- com.db4o.cs.internal.LazyClientQueryResult
-
- All Implemented Interfaces:
Iterable4
,QueryResult
public class LazyClientQueryResult extends AbstractQueryResult
-
-
Field Summary
-
Fields inherited from class com.db4o.internal.query.result.AbstractQueryResult
_transaction
-
-
Constructor Summary
Constructors Constructor Description LazyClientQueryResult(Transaction trans, ClientObjectContainer client, int queryResultID)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
fetchIDs(int batchSize)
protected void
finalize()
java.lang.Object
get(int index)
int
getId(int index)
int
indexOf(int id)
IntIterator4
iterateIDs()
Iterator4
iterator()
void
loadFromIdReader(Iterator4 reader)
void
reset()
int
size()
-
Methods inherited from class com.db4o.internal.query.result.AbstractQueryResult
activate, activatedObject, config, knownSize, loadFromClassIndex, loadFromClassIndexes, loadFromQuery, lock, objectContainer, skip, skip, sort, sortIds, stream, supportElementAccess, supportSize, supportSort, toIdList, toIdTree, transaction
-
-
-
-
Constructor Detail
-
LazyClientQueryResult
public LazyClientQueryResult(Transaction trans, ClientObjectContainer client, int queryResultID)
-
-
Method Detail
-
get
public java.lang.Object get(int index)
- Specified by:
get
in interfaceQueryResult
- Overrides:
get
in classAbstractQueryResult
-
getId
public int getId(int index)
- Overrides:
getId
in classAbstractQueryResult
-
indexOf
public int indexOf(int id)
- Specified by:
indexOf
in interfaceQueryResult
- Overrides:
indexOf
in classAbstractQueryResult
-
iterateIDs
public IntIterator4 iterateIDs()
-
iterator
public Iterator4 iterator()
- Specified by:
iterator
in interfaceIterable4
- Overrides:
iterator
in classAbstractQueryResult
-
size
public int size()
- Specified by:
size
in interfaceQueryResult
- Overrides:
size
in classAbstractQueryResult
-
finalize
protected void finalize()
- Overrides:
finalize
in classjava.lang.Object
-
loadFromIdReader
public void loadFromIdReader(Iterator4 reader)
- Overrides:
loadFromIdReader
in classAbstractQueryResult
-
reset
public void reset()
-
fetchIDs
public void fetchIDs(int batchSize)
-
-