|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SednaUpdateService
SednaUpdateService is a simple Service which allows you to execute UPDATE statements against the Database.
For example
UPDATE
insert <warning>High Blood Pressure!</warning>
preceeding doc("hospital")//blood_pressure[systolic>180]
This class can also be used for any kind of general update / insert / administrative statements, e.g.
LOAD "http://www.example.org/very-large-document.xml" "very-large-document.xml"
Or even
LOAD MODULE "ftp://xquery-masters.com/latest-cool-functions.xqlib", "http://example.org/company-functions.xqlib"
This interface class is proprietary to the Sedna XML:DB API and is not part of the original XML:DB specification.
Field Summary | |
---|---|
static java.lang.String |
SERVICE_NAME
|
Method Summary | |
---|---|
void |
update(java.lang.String updateStatement)
Execute an update statement against the Sedna database. |
Methods inherited from interface org.xmldb.api.base.Service |
---|
getName, getVersion, setCollection |
Methods inherited from interface org.xmldb.api.base.Configurable |
---|
getProperty, setProperty |
Field Detail |
---|
static final java.lang.String SERVICE_NAME
Method Detail |
---|
void update(java.lang.String updateStatement) throws XMLDBException
updateStatement
- the statement to send to the server to perform an update.
XMLDBException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |