Skip to main content

Table 5 An example of Redis (key/value model) schema mapping

From: A universal approach for multi-model schema inference

Construct

Name

Unique

Share

Id

Types

Models

Children

regexp

Refs.

Pair

_

U

(1,1)

F

Tuple

KV

{...}

\(\epsilon\)

\(\epsilon\)

Value (simple)

_

T/F/U

(1,1)

F

Simple

KV

\(\epsilon\)

\(\epsilon\)

\(\epsilon\)

Value (array)

_

T/F/U

(1,1)

F

Array

KV

{...}

Automaton

\(\epsilon\)

Value (set)

_

T/F/U

(1,1)

F

Set

KV

{...}

\(\epsilon\)

\(\epsilon\)

Element of an array/set

_

T/F/U

(1,0/1)

F

AnyType

KV

{...}/\(\epsilon\)

\(\epsilon\)

\(\epsilon\)

Key (simple)

_

T

(1,1)

T

Simple

KV

\(\epsilon\)

\(\epsilon\)

\(\epsilon\)