Package com.db4o.internal.query.result
Class HybridQueryResult
- java.lang.Object
-
- com.db4o.internal.query.result.AbstractQueryResult
-
- com.db4o.internal.query.result.HybridQueryResult
-
- All Implemented Interfaces:
Iterable4
,QueryResult
public class HybridQueryResult extends AbstractQueryResult
-
-
Field Summary
-
Fields inherited from class com.db4o.internal.query.result.AbstractQueryResult
_transaction
-
-
Constructor Summary
Constructors Constructor Description HybridQueryResult(Transaction transaction, QueryEvaluationMode mode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
get(int index)
int
getId(int index)
int
indexOf(int id)
IntIterator4
iterateIDs()
Iterator4
iterator()
void
loadFromClassIndex(ClassMetadata clazz)
void
loadFromClassIndexes(ClassMetadataIterator iterator)
void
loadFromIdReader(Iterator4 reader)
void
loadFromQuery(QQuery query)
int
size()
void
skip(int count)
void
sort(QueryComparator cmp)
void
sortIds(IntComparator cmp)
-
Methods inherited from class com.db4o.internal.query.result.AbstractQueryResult
activate, activatedObject, config, knownSize, lock, objectContainer, skip, stream, supportElementAccess, supportSize, supportSort, toIdList, toIdTree, transaction
-
-
-
-
Constructor Detail
-
HybridQueryResult
public HybridQueryResult(Transaction transaction, QueryEvaluationMode mode)
-
-
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
-
loadFromClassIndex
public void loadFromClassIndex(ClassMetadata clazz)
- Overrides:
loadFromClassIndex
in classAbstractQueryResult
-
loadFromClassIndexes
public void loadFromClassIndexes(ClassMetadataIterator iterator)
- Overrides:
loadFromClassIndexes
in classAbstractQueryResult
-
loadFromIdReader
public void loadFromIdReader(Iterator4 reader)
- Overrides:
loadFromIdReader
in classAbstractQueryResult
-
loadFromQuery
public void loadFromQuery(QQuery query)
- Overrides:
loadFromQuery
in classAbstractQueryResult
-
size
public int size()
- Specified by:
size
in interfaceQueryResult
- Overrides:
size
in classAbstractQueryResult
-
sort
public void sort(QueryComparator cmp)
- Specified by:
sort
in interfaceQueryResult
- Overrides:
sort
in classAbstractQueryResult
-
sortIds
public void sortIds(IntComparator cmp)
- Specified by:
sortIds
in interfaceQueryResult
- Overrides:
sortIds
in classAbstractQueryResult
-
skip
public void skip(int count)
- Specified by:
skip
in interfaceQueryResult
- Overrides:
skip
in classAbstractQueryResult
-
-