phasedb v0.0.2 PhaseDB.Query protocol

Protocol for executing queries. Implemeted by the different types of query.

Summary

Functions

Execute the query

Is this a read query?

Return the series which this query targets

Is this a write query?

Types

t :: any

Functions

execute(query)

Specs

execute(t) :: any

Execute the query

read?(query)

Specs

read?(t) :: boolean

Is this a read query?

target(query)

Specs

target(t) :: PhaseDB.Series.t

Return the series which this query targets.

write?(query)

Specs

write?(t) :: boolean

Is this a write query?