|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.lucene.index.IndexReader
org.apache.lucene.index.FilterIndexReader
org.alfresco.repo.search.impl.lucene.index.ReferenceCountingReadOnlyIndexReaderFactory.ReferenceCountingReadOnlyIndexReader
public static class ReferenceCountingReadOnlyIndexReaderFactory.ReferenceCountingReadOnlyIndexReader
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.apache.lucene.index.FilterIndexReader |
---|
org.apache.lucene.index.FilterIndexReader.FilterTermDocs, org.apache.lucene.index.FilterIndexReader.FilterTermEnum, org.apache.lucene.index.FilterIndexReader.FilterTermPositions |
Nested classes/interfaces inherited from class org.apache.lucene.index.IndexReader |
---|
org.apache.lucene.index.IndexReader.FieldOption |
Field Summary |
---|
Fields inherited from class org.apache.lucene.index.FilterIndexReader |
---|
in |
Fields inherited from class org.apache.lucene.index.IndexReader |
---|
hasChanges |
Method Summary | |
---|---|
void |
decRef()
|
org.apache.lucene.document.Document |
document(int n,
org.apache.lucene.document.FieldSelector fieldSelector)
|
protected void |
doDelete(int n)
|
boolean |
getClosed()
|
java.lang.String |
getId()
Get the id for this reader. |
java.lang.String |
getId(int n)
|
java.lang.String[] |
getIds(int n)
|
boolean |
getInvalidForReuse()
|
java.lang.String |
getIsCategory(int n)
|
java.lang.String[] |
getLinkAspects(int n)
|
org.apache.lucene.index.TermDocs |
getNodeDocs()
|
java.lang.String[] |
getParents(int n)
|
java.lang.String |
getPath(int n)
|
java.lang.String |
getPathLinkId(int n)
|
int |
getReferenceCount()
Get the number of references |
java.lang.String |
getType(int n)
|
void |
incRef()
|
boolean |
isInvalidForReuse()
Determine if valid for reuse |
void |
setInvalidForReuse()
Mark is invalid for reuse. |
Methods inherited from class org.apache.lucene.index.FilterIndexReader |
---|
directory, docFreq, doClose, doCommit, doSetNorm, doUndeleteAll, getFieldNames, getTermFreqVector, getTermFreqVector, getTermFreqVector, getTermFreqVectors, getVersion, hasDeletions, hasNorms, isCurrent, isDeleted, isOptimized, maxDoc, norms, norms, numDocs, termDocs, termPositions, terms, terms |
Methods inherited from class org.apache.lucene.index.IndexReader |
---|
acquireWriteLock, close, commit, deleteDocument, deleteDocuments, document, ensureOpen, flush, getCurrentVersion, getCurrentVersion, getCurrentVersion, getIndexCommit, getTermInfosIndexDivisor, indexExists, indexExists, indexExists, isLocked, isLocked, lastModified, lastModified, lastModified, listCommits, main, numDeletedDocs, open, open, open, open, open, open, open, open, open, reopen, setNorm, setNorm, setTermInfosIndexDivisor, termDocs, termPositions, undeleteAll, unlock |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public void incRef()
incRef
in class org.apache.lucene.index.IndexReader
public int getReferenceCount()
ReferenceCounting
getReferenceCount
in interface ReferenceCounting
public boolean getInvalidForReuse()
public boolean getClosed()
public void setInvalidForReuse() throws java.io.IOException
ReferenceCounting
setInvalidForReuse
in interface ReferenceCounting
java.io.IOException
public void decRef() throws java.io.IOException
decRef
in class org.apache.lucene.index.IndexReader
java.io.IOException
protected void doDelete(int n) throws java.io.IOException
doDelete
in class org.apache.lucene.index.FilterIndexReader
java.io.IOException
public org.apache.lucene.document.Document document(int n, org.apache.lucene.document.FieldSelector fieldSelector) throws java.io.IOException
document
in class org.apache.lucene.index.FilterIndexReader
java.io.IOException
public java.lang.String getId()
ReferenceCounting
getId
in interface ReferenceCounting
public boolean isInvalidForReuse()
ReferenceCounting
isInvalidForReuse
in interface ReferenceCounting
public java.lang.String getId(int n) throws java.io.IOException
getId
in interface CachingIndexReader
java.io.IOException
public java.lang.String getPathLinkId(int n) throws java.io.IOException
getPathLinkId
in interface CachingIndexReader
java.io.IOException
public java.lang.String[] getIds(int n) throws java.io.IOException
getIds
in interface CachingIndexReader
java.io.IOException
public java.lang.String[] getLinkAspects(int n) throws java.io.IOException
getLinkAspects
in interface CachingIndexReader
java.io.IOException
public java.lang.String[] getParents(int n) throws java.io.IOException
getParents
in interface CachingIndexReader
java.io.IOException
public java.lang.String getPath(int n) throws java.io.IOException
getPath
in interface CachingIndexReader
java.io.IOException
public java.lang.String getType(int n) throws java.io.IOException
getType
in interface CachingIndexReader
java.io.IOException
public java.lang.String getIsCategory(int n) throws java.io.IOException
getIsCategory
in interface CachingIndexReader
java.io.IOException
public org.apache.lucene.index.TermDocs getNodeDocs() throws java.io.IOException
getNodeDocs
in interface CachingIndexReader
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |