|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exist.xmldb.RemoteIndexQueryService
| Field Summary | |
protected RemoteCollection |
parent
|
protected XmlRpcClient |
rpcClient
|
| Constructor Summary | |
RemoteIndexQueryService(XmlRpcClient client,
RemoteCollection parent)
|
|
| Method Summary | |
void |
configureCollection(java.lang.String configData)
|
Occurrences[] |
getIndexedElements(boolean inclusive)
Returns frequency statistics on all elements and attributes contained in the structure index for the current collection. |
java.lang.String |
getName()
|
java.lang.String |
getProperty(java.lang.String name)
|
java.lang.String |
getVersion()
|
void |
reindexCollection()
Reindex the current collection, i.e. |
void |
reindexCollection(java.lang.String collectionPath)
Reindex the collection specified by its path. |
Occurrences[] |
scanIndexTerms(java.lang.String start,
java.lang.String end,
boolean inclusive)
Queries the fulltext index to retrieve information on indexed words contained in the index for the current collection. |
Occurrences[] |
scanIndexTerms(java.lang.String xpath,
java.lang.String start,
java.lang.String end)
Queries the fulltext index to retrieve information on indexed words occurring within the set of nodes identified by a given XPath expression. |
void |
setCollection(Collection col)
|
void |
setProperty(java.lang.String name,
java.lang.String value)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected XmlRpcClient rpcClient
protected RemoteCollection parent
| Constructor Detail |
public RemoteIndexQueryService(XmlRpcClient client,
RemoteCollection parent)
| Method Detail |
public void reindexCollection()
throws XMLDBException
IndexQueryService
reindexCollection in interface IndexQueryServiceXMLDBExceptionIndexQueryService.reindexCollection()
public void reindexCollection(java.lang.String collectionPath)
throws XMLDBException
IndexQueryService
reindexCollection in interface IndexQueryServicecollectionPath -
XMLDBExceptionIndexQueryService.reindexCollection(java.lang.String)
public Occurrences[] getIndexedElements(boolean inclusive)
throws XMLDBException
IndexQueryService
getIndexedElements in interface IndexQueryServiceinclusive -
XMLDBException
public Occurrences[] scanIndexTerms(java.lang.String start,
java.lang.String end,
boolean inclusive)
throws XMLDBException
IndexQueryServiceOccurrences for all
words contained in the index. If is null, all words starting with
the string sequence are returned. Otherwise, the method
returns all words that come after start and before end in lexical order.
scanIndexTerms in interface IndexQueryServicestart - end - inclusive -
XMLDBException
public Occurrences[] scanIndexTerms(java.lang.String xpath,
java.lang.String start,
java.lang.String end)
throws XMLDBException
IndexQueryServiceOccurrences for all
words contained in the index. If is null, all words starting with
the string sequence are returned. Otherwise, the method
returns all words that come after start and before end in lexical order.
scanIndexTerms in interface IndexQueryServicestart - end -
XMLDBException
public java.lang.String getName()
throws XMLDBException
XMLDBException
public java.lang.String getVersion()
throws XMLDBException
XMLDBException
public void setCollection(Collection col)
throws XMLDBException
XMLDBException
public java.lang.String getProperty(java.lang.String name)
throws XMLDBException
XMLDBException
public void setProperty(java.lang.String name,
java.lang.String value)
throws XMLDBException
XMLDBException
public void configureCollection(java.lang.String configData)
throws XMLDBException
configureCollection in interface IndexQueryServiceXMLDBException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||