Liking cljdoc? Tell your friends :D

eva.attribute


attr-bijclj

source

attribute-non-resolutioncljmacro

(attribute-non-resolution subtype detail-str data)
(attribute-non-resolution subtype detail-str data cause)

Records this raise-site under :attribute-resolution/<subtype> in eva.error/eva-error-form, and expands into the equivalent of:

   (error (str "<subtype-generic-str>: " detail-str)
          :attribute-resolution/<subtype>
          cause)

The following map shows, for each subtype, what keywords are required in the data map, and what the generic portion of the string will be:

{:irresolvable-attribute {:required #{:identifier}, :generic-str "Encountered an invalid attribute specification"}, :unresolvable-attribute {:required #{:identifier}, :generic-str "This database does not contain the provided attribute"}}

Records this raise-site under :attribute-resolution/<subtype> in eva.error/eva-error-form, and expands into the
          equivalent of:

       (error (str "<subtype-generic-str>: " detail-str)
              :attribute-resolution/<subtype>
              cause)

The following map shows, for each subtype, what keywords are required in
the data map, and what the generic portion of the string will be:

   {:irresolvable-attribute {:required #{:identifier},
                            :generic-str "Encountered an invalid attribute specification"},
   :unresolvable-attribute {:required #{:identifier},
                            :generic-str "This database does not contain the provided attribute"}}
sourceraw docstring

card-many?clj

(card-many? attr)
(card-many? source attr-id)
source

cardinalityclj

(cardinality attr)
(cardinality source attr-id)
source

db-attr-map->Attributeclj

(db-attr-map->Attribute attr-map)

Inputs: [attr-map]

Inputs: [attr-map]
sourceraw docstring

db-attr-map->Attribute*clj

(db-attr-map->Attribute* attr-map)
source

has-avet?clj

(has-avet? attr)
(has-avet? source attr-id)
source

has-full-text?clj

(has-full-text? attr)
(has-full-text? source attr-id)
source

idclj

(id attr)
(id source attr-id)
source

identclj

(ident attr)
(ident source attr-id)
source

is-component?clj

(is-component? attr)
(is-component? source attr-id)
source

raise-attribute-non-resolutioncljmacro

(raise-attribute-non-resolution subtype detail-str data)
(raise-attribute-non-resolution subtype detail-str data cause)

Records this raise-site under :attribute-resolution/<subtype> in eva.error/eva-error-form and expands into:

   (raise :attribute-resolution/<subtype>
          (str "<subtype-generic-str>: " detail-str)
          data
          cause)

The following map shows, for each subtype, what keywords are required in the data map, and what the generic portion of the string will be:

{:irresolvable-attribute {:required #{:identifier}, :generic-str "Encountered an invalid attribute specification"}, :unresolvable-attribute {:required #{:identifier}, :generic-str "This database does not contain the provided attribute"}}

Records this raise-site under :attribute-resolution/<subtype> in eva.error/eva-error-form and expands into:

       (raise :attribute-resolution/<subtype>
              (str "<subtype-generic-str>: " detail-str)
              data
              cause)

The following map shows, for each subtype, what keywords are required in
the data map, and what the generic portion of the string will be:

   {:irresolvable-attribute {:required #{:identifier},
                            :generic-str "Encountered an invalid attribute specification"},
   :unresolvable-attribute {:required #{:identifier},
                            :generic-str "This database does not contain the provided attribute"}}
sourceraw docstring

ref-attr?clj

(ref-attr? attr)
(ref-attr? source attr-id)
source

ref-attr?*clj

(ref-attr?* db a)

ref-attr?, but doesn't care if the attr is reversed with _

ref-attr?, but doesn't care if the attr is reversed with _
sourceraw docstring

ResolveAttributecljprotocol

resolve-attributeclj

(resolve-attribute source identifier)

Resolves and returns the attribute given an identifier. Returns nil if the attribute cannot be resolved.

Resolves and returns the attribute given an identifier. Returns nil if the attribute cannot be resolved.

resolve-attribute-strictclj

(resolve-attribute-strict source identifier)

Resolves and returns the attribute given an identifier. Throws if the attribute cannot be resolved.

Resolves and returns the attribute given an identifier. Throws if the attribute cannot be resolved.
source

reverse-attr?clj

(reverse-attr? kw)

Does the keyword's name start with an underscore ?

Does the keyword's name start with an underscore ?
sourceraw docstring

rm_clj

(rm_ kw)

Removes '_' from position 0 of keyword names, preserving namespace if defined.

Removes '_' from position 0 of keyword names, preserving namespace if defined.
sourceraw docstring

rm_*clj

(rm_* kw)

idempotent rm_

idempotent rm_
sourceraw docstring

strict-map->Attributeclj

(strict-map->Attribute m17982 & [drop-extra-keys?__5380__auto__])

Factory function for class Attribute, taking a map of keywords to field values. All keys are required, and no extra keys are allowed. Even faster than map->

Factory function for class Attribute, taking a map of keywords to field values.  All keys are required, and no extra keys are allowed.  Even faster than map->
sourceraw docstring

through-attr-bijclj

(through-attr-bij a)
source

uniqueclj

(unique attr)
(unique source attr-id)
source

value-typeclj

(value-type attr)
(value-type source attr-id)
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close