beta.xquery.RuntimeOptions
¶
The beta.xquery.RuntimeOptions
class is used to initialize the dynamic context components for the execution of an beta.xquery.Expression
.
-
class
beta.xquery.
RuntimeOptions
(Session session, bool _report_unknown_args=True, *, **kwargs)¶
Attributes¶
-
beta.xquery.RuntimeOptions.
base_output_uri
¶ The URI of the main output
-
beta.xquery.RuntimeOptions.
cancel_flag
¶
-
beta.xquery.RuntimeOptions.
current_datetime
¶ An
xsd.dateTime
value used for the current-dateTime component of the dynamic context. If absent, the system time will be used for the execution.
-
beta.xquery.RuntimeOptions.
debugger
¶
-
beta.xquery.RuntimeOptions.
delivery_format
¶ One of the enumeration values
beta.xpath.DeliveryFormat
. When saving of result documents is selected, then thebeta.xquery.RuntimeOptions.output_stream_factory
must be set as well.
-
beta.xquery.RuntimeOptions.
external_variables
¶ A
beta.xpath.MapItem
holding the values to be supplied for the external variables. Thebeta.xpath.AtomicItem
keys are created to match thexsd.QName
of the corresponding parameter, while the values are provided asbeta.xpath.Sequence
.
-
beta.xquery.RuntimeOptions.
initial_context
¶ The initial context
beta.xpath.Item
.
-
beta.xquery.RuntimeOptions.
initial_context_position
¶ The initial-context position.
-
beta.xquery.RuntimeOptions.
initial_context_size
¶ The initial-context size.
-
beta.xquery.RuntimeOptions.
output_stream_factory
¶ This object is required to provides the output stream(s) for the final result(s), when saving of result documents is specified in
beta.xquery.RuntimeOptions.delivery_format
. The factory member is invoked with thebeta.xpath.Result.uri
of the currently constructed/processed result. The binary octets resulting from the serialization and encoding of the result are written to the provided output stream. Seebeta.xquery.RuntimeOptions.base_output_uri
andbeta.xquery.RuntimeOptions.serialization_params
for further options.
-
beta.xquery.RuntimeOptions.
serialization_params
¶ Overrides the serialization options.
-
beta.xquery.RuntimeOptions.
trace_target
¶
-
beta.xquery.RuntimeOptions.
xml_document_options_provider
¶
Special methods¶
__eq__, __ge__, __gt__, __le__, __lt__, __ne__