exocci v0.2.1 OCCI.Filter View Source

Defines filters for looking up OCCI datastore

Link to this section Summary

Functions

Return true if entity match filters

Link to this section Types

Link to this type f_and() View Source
f_and() :: [filter()] | {:and, [filter()]}
Link to this type f_attr() View Source
f_attr() :: {atom(), term()}
Link to this type f_category() View Source
f_category() ::
  {:category, :atom} | {:kind, :atom} | {:mixin, :atom} | {:parent, :atom}
Link to this type f_core() View Source
f_core() ::
  {:id, OCCI.Entity.id()} | {:source, String.t()} | {:target, String.t()}
Link to this type f_not() View Source
f_not() :: {:not, filter()}
Link to this type f_or() View Source
f_or() :: {:or, [filter()]}
Link to this type filter() View Source
filter() :: f_not() | f_or() | f_and() | f_category() | f_core() | f_attr()

Link to this section Functions

Return true if entity match filters