Schemas and constants used by the sync code.
Schemas and constants used by the sync code.
Schema for a valid instance of a Metabase Database.
Schema for a valid instance of a Metabase Database.
Schema for the expected output of describe-database
.
Schema for the expected output of `describe-database`.
Schema for the expected output of describe-database
for a Table.
Schema for the expected output of `describe-database` for a Table.
Schema for fingerprint information for Fields deriving from :type/DateTime
.
Schema for fingerprint information for Fields deriving from `:type/DateTime`.
Schema for a valid instance of a Metabase Field.
Schema for a valid instance of a Metabase Field.
Schema for a sample of values returned by the sample
sub-stage of analysis and passed into the fingerprint
stage. Guaranteed to be non-empty and non-nil.
Schema for a sample of values returned by the `sample` sub-stage of analysis and passed into the `fingerprint` stage. Guaranteed to be non-empty and non-nil.
Schema for a Field 'fingerprint' generated as part of the analysis stage. Used to power the 'classification'
sub-stage of analysis. Stored as the fingerprint
column of Field.
Schema for a Field 'fingerprint' generated as part of the analysis stage. Used to power the 'classification' sub-stage of analysis. Stored as the `fingerprint` column of Field.
Map of fingerprint version to the set of Field base types that need to be upgraded to this version the next time we do analysis. The highest-numbered entry is considered the latest version of fingerprints.
Map of fingerprint version to the set of Field base types that need to be upgraded to this version the next time we do analysis. The highest-numbered entry is considered the latest version of fingerprints.
Schema for the expected output of describe-table-fks
.
Schema for the expected output of `describe-table-fks`.
Schema for an individual entry in FKMetadata
.
Schema for an individual entry in `FKMetadata`.
Fingerprint values that Fields of all types should have.
Fingerprint values that Fields of all types should have.
The newest (highest-numbered) version of our Field fingerprints.
The newest (highest-numbered) version of our Field fingerprints.
Schema for fingerprint information for Fields deriving from :type/Number
.
Schema for fingerprint information for Fields deriving from `:type/Number`.
Schema for something represting a percentage. A floating-point value between (inclusive) 0 and 1.
Schema for something represting a percentage. A floating-point value between (inclusive) 0 and 1.
Schema for a valid instance of a Metabase Field.
Schema for a valid instance of a Metabase Field.
Schema for a valid instance of a Metabase Table.
Schema for a valid instance of a Metabase Table.
Schema for the expected output of describe-table
.
Schema for the expected output of `describe-table`.
Schema for a given Field as provided in describe-table
.
Schema for a given Field as provided in `describe-table`.
Schema for a sample of values of certain Fields for a TABLE. This should basically just be a sequence of rows where
each row is a sequence of values in the same order as the Fields passed in (basically the format you get from JDBC
when :as-arrays?
is false
).
e.g. if Fields passed in were ID
and Name
the Table sample should look something like:
[[1 "Rasta Toucan"] [2 "Lucky Pigeon"] [3 "Kanye Nest"]]
Schema for a sample of values of certain Fields for a TABLE. This should basically just be a sequence of rows where each row is a sequence of values in the same order as the Fields passed in (basically the format you get from JDBC when `:as-arrays?` is `false`). e.g. if Fields passed in were `ID` and `Name` the Table sample should look something like: [[1 "Rasta Toucan"] [2 "Lucky Pigeon"] [3 "Kanye Nest"]]
Schema for fingerprint information for Fields deriving from :type/Text
.
Schema for fingerprint information for Fields deriving from `:type/Text`.
Schema predicate ensuring a valid time zone string
Schema predicate ensuring a valid time zone string
Schema for type-specific fingerprint information.
Schema for type-specific fingerprint information.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close