package granary

  1. Overview
  2. Docs
Pure-OCaml SQL engine

Install

dune-project
 Dependency

Authors

Maintainers

Sources

0.0.3.tar.gz
sha256=8b18780ea373be48301d9f333925860a2f9110fc0ac28684295118d72b65a67e
sha512=25ca3c9c5e2b528704a542502e0f37dc33ba003f65622d969b8c2b800778585f8ef0cf89b36e6679832e3993e8303aecddfc662742baf7044d6afe4a796b8f11

doc/granary.ivm/Granary_ivm/Join/Make/argument-1-S/index.html

Parameter Make.S

module Left : Zset.S

Left input Z-set.

module Right : Zset.S

Right input Z-set.

module Out : Zset.S

Output Z-set (the joined rows).

type key

The equi-join key type.

val compare_key : key -> key -> int

Total order on keys (used to index the integrated inputs).

val key_left : Left.elt -> key

The join key of a left element.

val key_right : Right.elt -> key

The join key of a right element.

val combine : Left.elt -> Right.elt -> Out.elt

Combine a matched (left, right) pair into an output element. The output weight is the product of the input weights.