Real Time Information Director User Documentation

RTID Metadata Language
Hewlett-Packard Company 19 529618-002
relevant error message and a query document that could be used to retrieve the records
just created) is included as an audit detail. For more information, see the document
called RTID Security and Auditing.
UPSERT. Causes the Director to update existing records related to this document. (If no
such records exist, the Director inserts the new document, unless the
EXISTING_DOCUMENT_ONLY option is also specified.) The default update option is
DELSERT, which deletes all existing records related to the document, then inserts the
new document.
INSERT. Causes the Director to insert the new document. This option is appropriate
only if the inbound document is new, that is, not an update to a previous document.
EXISTING_DOCUMENT_ONLY. Allows an upsert to occur only if the database
already contains the record corresponding to the top record of the incoming document.
INVALID. Indicates that documents of this type cannot be inserted into the data store.
That is, this type of document is valid only as the response to a query.
POLICY. Specifies the security policy applicable to this transaction. For more
information, see the document called RTID Security and Auditing.
IGNORE_MISSING_PRIMARY_KEY. Specifies that any records without a complete
primary key should ignored. All other records are inserted or upserted normally. (By
default an incomplete key causes the whole document to be aborted.)
Query Options
The possible query options for document definitions are
AUDIT_INBOUND. Causes the Director to create an audit record whenever a document
of this type is retrieved from the data store. The query itself is included as an audit detail.
For more information, see the document called RTID Security and Auditing.
AUDIT_OUTBOUND. Causes the Director create an audit record whenever a document
of this type is retrieved from the data store. The query response is included as an audit
detail. For more information, see the document called RTID Security and Auditing.
INVALID. Indicates that queries are not supported for this document type.
POLICY. Specifies the security policy applicable to this transaction. For more
information, see the document called RTID Security and Auditing.