Liking cljdoc? Tell your friends :D

csv2rdf.metadata.schema


compatibility-mergeclj

(compatibility-merge user-schema embedded-schema)

foreign-keyclj


foreign-key-objectclj

(foreign-key-object context obj)

foreign-key-referenceclj

(foreign-key-reference context x)

merge-columnsclj

(merge-columns user-columns embedded-columns)

Creates any extra columns which exist in the embedded schema but which are not defined in the user metadata.

Creates any extra columns which exist in the embedded schema but which are not defined in the user metadata.
raw docstring

schemaclj

(schema context x)

schema-defclj


validate-column-referencesclj

(validate-column-references schema
                            context
                            key-name
                            column-names
                            required-property?)
(validate-column-references schema
                            context
                            key-name
                            column-names
                            required-property?
                            child-column-name-fn)

Validates all the referenced column names under the parent key exist in the given set of column names defined by the schema. If the reference column names do not appear directly under the parent key, child-column-name-fn should return all ancestor column names referenced within the value associated with key-name. If any referenced columns do not exist, a warning is added and the value associated with key-name is removed from the schema as though it was not specified.

Validates all the referenced column names under the parent key exist in the given set of column names defined
by the schema. If the reference column names do not appear directly under the parent key, child-column-name-fn
should return all ancestor column names referenced within the value associated with key-name. If any referenced
columns do not exist, a warning is added and the value associated with key-name is removed from the schema as
though it was not specified.
raw docstring

validate-compatibleclj

(validate-compatible validating?
                     {columns1 :columns :as schema1}
                     {columns2 :columns :as schema2})

validate-schema-column-referencesclj

(validate-schema-column-references context {:keys [columns] :as schema})

Validator which checks all column name properties within the schema reference columns defined in the columns collection. Any components which reference non-existent columns are removed.

Validator which checks all column name properties within the schema reference columns defined in the columns collection.
Any components which reference non-existent columns are removed.
raw docstring

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

× close