|
|||||||
| 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(org.xmldb.api.base.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 org.xmldb.api.base.XMLDBException
IndexQueryService
reindexCollection in interface IndexQueryServiceorg.xmldb.api.base.XMLDBExceptionIndexQueryService.reindexCollection()
public void reindexCollection(String collectionPath)
throws org.xmldb.api.base.XMLDBException
reindexCollection in interface IndexQueryServiceorg.xmldb.api.base.XMLDBExceptionIndexQueryService.reindexCollection(java.lang.String)
public void reindexCollection(XmldbURI collectionPath)
throws org.xmldb.api.base.XMLDBException
IndexQueryService
reindexCollection in interface IndexQueryServiceorg.xmldb.api.base.XMLDBException
public Occurrences[] getIndexedElements(boolean inclusive)
throws org.xmldb.api.base.XMLDBException
IndexQueryService
getIndexedElements in interface IndexQueryServiceorg.xmldb.api.base.XMLDBException
public Occurrences[] scanIndexTerms(String start,
String end,
boolean inclusive)
throws org.xmldb.api.base.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 IndexQueryServiceorg.xmldb.api.base.XMLDBException
public Occurrences[] scanIndexTerms(String xpath,
String start,
String end)
throws org.xmldb.api.base.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 IndexQueryServiceorg.xmldb.api.base.XMLDBException
public String getName()
throws org.xmldb.api.base.XMLDBException
getName in interface org.xmldb.api.base.Serviceorg.xmldb.api.base.XMLDBException
public String getVersion()
throws org.xmldb.api.base.XMLDBException
getVersion in interface org.xmldb.api.base.Serviceorg.xmldb.api.base.XMLDBException
public void setCollection(org.xmldb.api.base.Collection col)
throws org.xmldb.api.base.XMLDBException
setCollection in interface org.xmldb.api.base.Serviceorg.xmldb.api.base.XMLDBException
public String getProperty(String name)
throws org.xmldb.api.base.XMLDBException
getProperty in interface org.xmldb.api.base.Configurableorg.xmldb.api.base.XMLDBException
public void setProperty(String name,
String value)
throws org.xmldb.api.base.XMLDBException
setProperty in interface org.xmldb.api.base.Configurableorg.xmldb.api.base.XMLDBException
public void configureCollection(String configData)
throws org.xmldb.api.base.XMLDBException
configureCollection in interface IndexQueryServiceorg.xmldb.api.base.XMLDBException
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||