public interface DocWriter
| Modifier and Type | Method and Description |
|---|---|
void |
close(Evaluator eval)
Perform any cleanup, including a commit.
|
void |
commit(Evaluator eval)
Registers a commit that will be performed after the completion of the query.
|
void |
delete(String uri)
Deletes the document having the given uri, if it exists.
|
void |
deleteAll()
Deletes all documents in the index.
|
void |
write(net.sf.saxon.om.NodeInfo node,
String uri)
Writes a document to the index at the given uri, with the node as its root element.
|
void write(net.sf.saxon.om.NodeInfo node,
String uri)
node - A node to write as a documenturi - The uri of the documentvoid delete(String uri)
uri - void deleteAll()
void commit(Evaluator eval)
eval - the evaluator providing an operating context in which the commit is to be performed.void close(Evaluator eval)
eval - the evaluator providing an operating context in which the commit is to be performed.Copyright © 2013. All Rights Reserved.