/usr/lib/ocaml/galax/streaming_conv.mli is in libgalax-ocaml-dev 1.1-13build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 | (***********************************************************************)
(* *)
(* GALAX *)
(* XQuery Engine *)
(* *)
(* Copyright 2001-2007. *)
(* Distributed only by permission. *)
(* *)
(***********************************************************************)
(* $Id: streaming_conv.mli,v 1.7 2007/02/01 22:08:54 simeon Exp $ *)
(* Module: Stream_conv
Description:
This module provides data structures, accessor and conversion
functions for an extended XML token stream model, labeled
streams, namely.
*)
open Streaming_types
type typed_labeled_sax_event = typed_annotated_sax_event
type typed_labeled_xml_stream = typed_xml_stream
(*****************)
(* Stream access *)
(*****************)
val get_flag :
typed_labeled_sax_event -> bool
val set_flag :
typed_labeled_sax_event -> unit
val unset_flag :
typed_labeled_sax_event -> unit
(*********************)
(* Stream conversion *)
(*********************)
val typed_labeled_of_typed_xml_stream : typed_xml_stream -> typed_xml_stream
val typed_of_typed_labeled_xml_stream : typed_xml_stream -> typed_xml_stream
(******************)
(* Stream slicing *)
(******************)
(* Chopping a stream into separate sub-streams is needed for
operators that need to access a stream item-at-a-time,
such as an item to tuple map. - Michael *)
val slice_typed_xml_stream : typed_xml_stream -> typed_xml_stream Cursor.cursor
(* Chops a stream into slices, discarding each of them individually.
This is useful whenever the item-cardinality of a stream is needed
without actually accessing these items. - Michael *)
val slice_discard_typed_xml_stream : typed_xml_stream -> unit Cursor.cursor
val item_count_typed_labeled_xml_stream : typed_xml_stream -> int
val item_range_typed_labeled_xml_stream : typed_xml_stream -> int -> int -> typed_xml_stream
val nth_item_typed_labeled_xml_stream : typed_xml_stream -> int -> typed_xml_stream
val first_item_typed_labeled_xml_stream : typed_xml_stream -> typed_xml_stream
|