|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectorg.exist.xmldb.RemoteIndexQueryService
public class RemoteIndexQueryService
| Constructor Summary | |
|---|---|
RemoteIndexQueryService(XmlRpcClient client,
RemoteCollection parent)
|
|
| Method Summary | |
|---|---|
void |
configureCollection(String configData)
|
Occurrences[] |
getIndexedElements(boolean inclusive)
Returns frequency statistics on all elements and attributes contained in the structure index for the current collection. |
String |
getName()
|
String |
getProperty(String name)
|
String |
getVersion()
|
void |
reindexCollection()
Reindex the current collection, i.e. |
void |
reindexCollection(String collectionPath)
Deprecated. Use XmldbURI version instead |
void |
reindexCollection(XmldbURI collectionPath)
Reindex the collection specified by its path. |
Occurrences[] |
scanIndexTerms(String start,
String end,
boolean inclusive)
Queries the fulltext index to retrieve information on indexed words contained in the index for the current collection. |
Occurrences[] |
scanIndexTerms(String xpath,
String start,
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(String name,
String value)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RemoteIndexQueryService(XmlRpcClient client,
RemoteCollection parent)
| Method Detail |
|---|
public void reindexCollection()
throws XMLDBException
IndexQueryService
reindexCollection in interface IndexQueryServiceXMLDBExceptionIndexQueryService.reindexCollection()
public void reindexCollection(String collectionPath)
throws XMLDBException
reindexCollection in interface IndexQueryServiceXMLDBExceptionIndexQueryService.reindexCollection(java.lang.String)
public void reindexCollection(XmldbURI collectionPath)
throws XMLDBException
IndexQueryService
reindexCollection in interface IndexQueryServiceXMLDBException
public Occurrences[] getIndexedElements(boolean inclusive)
throws XMLDBException
IndexQueryService
getIndexedElements in interface IndexQueryServiceXMLDBException
public Occurrences[] scanIndexTerms(String start,
String end,
boolean inclusive)
throws XMLDBException
IndexQueryServiceOccurrences for all
words contained in the index. If param end is null, all words starting with
the string sequence param start are returned. Otherwise, the method
returns all words that come after start and before end in lexical order.
scanIndexTerms in interface IndexQueryServiceXMLDBException
public Occurrences[] scanIndexTerms(String xpath,
String start,
String end)
throws XMLDBException
IndexQueryServiceOccurrences for all
words contained in the index. If param end is null, all words starting with
the string sequence param start are returned. Otherwise, the method
returns all words that come after start and before end in lexical order.
scanIndexTerms in interface IndexQueryServiceXMLDBException
public String getName()
throws XMLDBException
getName in interface ServiceXMLDBException
public String getVersion()
throws XMLDBException
getVersion in interface ServiceXMLDBException
public void setCollection(Collection col)
throws XMLDBException
setCollection in interface ServiceXMLDBException
public String getProperty(String name)
throws XMLDBException
getProperty in interface ConfigurableXMLDBException
public void setProperty(String name,
String value)
throws XMLDBException
setProperty in interface ConfigurableXMLDBException
public void configureCollection(String configData)
throws XMLDBException
configureCollection in interface IndexQueryServiceXMLDBException
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||