(->root index)
(advance index db tx-log-entry)
(advance-index-to-tx index db tx-log target-tx-num)
(batch-advance-index index tx-log tx-num)
(initialize-index index init-datoms)
(safe-advance-index index db tx-log-entry)
(safe-advance-index-better index ref-attr-eids byte-attr-eids tx-log-entry)
(batch-resolve-components db index component-coll)
(resolve-components db index components)
(->fn db eid)
(allocated-entity-id? db eid)
(db-fn? db eid)
(resolve-eid-partition db eid)
(entid-coercion subtype detail-str data)
(entid-coercion subtype detail-str data cause)
Records this raise-site under :entid-coercion/<subtype> in eva.error/eva-error-form, and expands into the equivalent of:
(error (str "<subtype-generic-str>: " detail-str)
:entid-coercion/<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:
{:malformed-lookup-ref {:required #{}, :generic-str "Malformed lookup reference"}, :illegal-type {:required #{}, :generic-str "Invalid type for entity coercion"}, :strict-coercion-failure {:required #{}, :generic-str "Failed to strictly coerce to an entity id"}}
Records this raise-site under :entid-coercion/<subtype> in eva.error/eva-error-form, and expands into the equivalent of: (error (str "<subtype-generic-str>: " detail-str) :entid-coercion/<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: {:malformed-lookup-ref {:required #{}, :generic-str "Malformed lookup reference"}, :illegal-type {:required #{}, :generic-str "Invalid type for entity coercion"}, :strict-coercion-failure {:required #{}, :generic-str "Failed to strictly coerce to an entity id"}}
(entid-coercion-type x)
Returns a keyword representing the type of this object for the purposes of entity id coercion. Exists as a protocol so that we can use satisfies? to identify objects outside of this class. Is also used internally for partitioning objects for batch resolution.
Returns a keyword representing the type of this object for the purposes of entity id coercion. Exists as a protocol so that we can use satisfies? to identify objects outside of this class. Is also used internally for partitioning objects for batch resolution.
(ident-coercion subtype detail-str data)
(ident-coercion subtype detail-str data cause)
Records this raise-site under :ident-coercion/<subtype> in eva.error/eva-error-form, and expands into the equivalent of:
(error (str "<subtype-generic-str>: " detail-str)
:ident-coercion/<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:
{:illegal-type {:required #{}, :generic-str "Invalid type for ident coercion"}, :strict-coercion-failure {:required #{}, :generic-str "Failed to strictly coerce to an ident"}}
Records this raise-site under :ident-coercion/<subtype> in eva.error/eva-error-form, and expands into the equivalent of: (error (str "<subtype-generic-str>: " detail-str) :ident-coercion/<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: {:illegal-type {:required #{}, :generic-str "Invalid type for ident coercion"}, :strict-coercion-failure {:required #{}, :generic-str "Failed to strictly coerce to an ident"}}
(force-index-sync log)
(force-index-sync log index-name)
The Log API protocol
The Log API protocol
(tx-range log start-t end-t)
returns the range of transactions in log.
returns the range of transactions in log.
(update-log-entry-index log tx-num index-name index-root)
(update-log-entry-indexes log tx-num index-roots)
(cur-max-id entry)
(cur-tx-eid entry)
(entry->datoms entry)
(entry->datoms entry index)
(index-roots entry)
(packed-datoms entry)
(packed-non-byte-datoms entry)
(packed-ref-type-datoms entry)
(tx-num entry)
(update-lookup-ref-cache! cache resolved-id-map)
(assert-conformant-lookup-ref resolver lookup-ref)
Returns true if the lookup-ref is structurally sound. If not, throws :resolve-entid/malformed-lookup-ref
Returns true if the lookup-ref is structurally sound. If not, throws :resolve-entid/malformed-lookup-ref
(batch-resolve-lookup-refs resolver lookup-refs)
Resolves a group of lookup refs in aggregate.
Resolves a group of lookup refs in aggregate.
(batch-resolve-lookup-refs-strict db lookup-refs)
Like batch-resolve-lookup-refs, but throws :resolve-entid/no-such-eid if any of lookup-refs not found
Like batch-resolve-lookup-refs, but throws :resolve-entid/no-such-eid if any of lookup-refs not found
(resolve-lookup-ref resolver lookup-ref)
If an entity-id exists for the lookup-ref, return it, else nil.
If an entity-id exists for the lookup-ref, return it, else nil.
(resolve-lookup-ref-strict resolver lookup-ref)
Like resolve-lookup-ref, but throws :resolve-entid/no-such-eid if there is no entity id for the lookup-ref
Like resolve-lookup-ref, but throws :resolve-entid/no-such-eid if there is no entity id for the lookup-ref
(multi-select-datoms source criteria)
[source [:index & coll-of-components]]
[source [:index & coll-of-components]]
(multi-select-datoms-ordered source criteria)
[source [:index & coll-of-components]]
[source [:index & coll-of-components]]
(raise-entid-coercion subtype detail-str data)
(raise-entid-coercion subtype detail-str data cause)
Records this raise-site under :entid-coercion/<subtype> in eva.error/eva-error-form and expands into:
(raise :entid-coercion/<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:
{:malformed-lookup-ref {:required #{}, :generic-str "Malformed lookup reference"}, :illegal-type {:required #{}, :generic-str "Invalid type for entity coercion"}, :strict-coercion-failure {:required #{}, :generic-str "Failed to strictly coerce to an entity id"}}
Records this raise-site under :entid-coercion/<subtype> in eva.error/eva-error-form and expands into: (raise :entid-coercion/<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: {:malformed-lookup-ref {:required #{}, :generic-str "Malformed lookup reference"}, :illegal-type {:required #{}, :generic-str "Invalid type for entity coercion"}, :strict-coercion-failure {:required #{}, :generic-str "Failed to strictly coerce to an entity id"}}
(raise-ident-coercion subtype detail-str data)
(raise-ident-coercion subtype detail-str data cause)
Records this raise-site under :ident-coercion/<subtype> in eva.error/eva-error-form and expands into:
(raise :ident-coercion/<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:
{:illegal-type {:required #{}, :generic-str "Invalid type for ident coercion"}, :strict-coercion-failure {:required #{}, :generic-str "Failed to strictly coerce to an ident"}}
Records this raise-site under :ident-coercion/<subtype> in eva.error/eva-error-form and expands into: (raise :ident-coercion/<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: {:illegal-type {:required #{}, :generic-str "Invalid type for ident coercion"}, :strict-coercion-failure {:required #{}, :generic-str "Failed to strictly coerce to an ident"}}
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close