
public abstract class OLuceneAbstractResultSet extends Object implements Set<OIdentifiable>
| Modifier and Type | Field and Description |
|---|---|
protected String |
indexName |
protected OLuceneIndexEngine |
manager |
protected static Integer |
PAGE_SIZE |
protected org.apache.lucene.search.Query |
query |
protected QueryContext |
queryContext |
protected org.apache.lucene.search.TopDocs |
topDocs |
| Constructor and Description |
|---|
OLuceneAbstractResultSet(OLuceneIndexEngine manager,
QueryContext queryContext) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(OIdentifiable oIdentifiable) |
boolean |
addAll(Collection<? extends OIdentifiable> c) |
void |
clear() |
boolean |
contains(Object o) |
boolean |
containsAll(Collection<?> c) |
protected org.apache.lucene.search.Query |
enhanceQuery(org.apache.lucene.search.Query query) |
protected void |
fetchFirstBatch() |
boolean |
isEmpty() |
boolean |
remove(Object o) |
boolean |
removeAll(Collection<?> c) |
boolean |
retainAll(Collection<?> c) |
void |
sendLookupTime(OCommandContext commandContext,
long start) |
Object[] |
toArray() |
<T> T[] |
toArray(T[] a) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitparallelStream, removeIf, streamprotected static Integer PAGE_SIZE
protected final String indexName
protected org.apache.lucene.search.TopDocs topDocs
protected org.apache.lucene.search.Query query
protected OLuceneIndexEngine manager
protected QueryContext queryContext
public OLuceneAbstractResultSet(OLuceneIndexEngine manager, QueryContext queryContext)
protected org.apache.lucene.search.Query enhanceQuery(org.apache.lucene.search.Query query)
protected void fetchFirstBatch()
public boolean isEmpty()
isEmpty in interface Collection<OIdentifiable>isEmpty in interface Set<OIdentifiable>public boolean contains(Object o)
contains in interface Collection<OIdentifiable>contains in interface Set<OIdentifiable>public <T> T[] toArray(T[] a)
toArray in interface Collection<OIdentifiable>toArray in interface Set<OIdentifiable>public Object[] toArray()
toArray in interface Collection<OIdentifiable>toArray in interface Set<OIdentifiable>public boolean add(OIdentifiable oIdentifiable)
add in interface Collection<OIdentifiable>add in interface Set<OIdentifiable>public boolean remove(Object o)
remove in interface Collection<OIdentifiable>remove in interface Set<OIdentifiable>public boolean containsAll(Collection<?> c)
containsAll in interface Collection<OIdentifiable>containsAll in interface Set<OIdentifiable>public boolean addAll(Collection<? extends OIdentifiable> c)
addAll in interface Collection<OIdentifiable>addAll in interface Set<OIdentifiable>public boolean retainAll(Collection<?> c)
retainAll in interface Collection<OIdentifiable>retainAll in interface Set<OIdentifiable>public boolean removeAll(Collection<?> c)
removeAll in interface Collection<OIdentifiable>removeAll in interface Set<OIdentifiable>public void clear()
clear in interface Collection<OIdentifiable>clear in interface Set<OIdentifiable>public void sendLookupTime(OCommandContext commandContext, long start)
Copyright © 2009–2016 Orient Technologies. All rights reserved.