Liking cljdoc? Tell your friends :D

metabase.sync.interface

Schemas and constants used by the sync code.

Schemas and constants used by the sync code.
raw docstring

DatabaseInstanceclj

Schema for a valid instance of a Metabase Database.

Schema for a valid instance of a Metabase Database.
sourceraw docstring

DatabaseMetadataclj

Schema for the expected output of describe-database.

Schema for the expected output of `describe-database`.
sourceraw docstring

DatabaseMetadataTableclj

Schema for the expected output of describe-database for a Table.

Schema for the expected output of `describe-database` for a Table.
sourceraw docstring

DateTimeFingerprintclj

Schema for fingerprint information for Fields deriving from :type/DateTime.

Schema for fingerprint information for Fields deriving from `:type/DateTime`.
sourceraw docstring

FieldInstanceclj

Schema for a valid instance of a Metabase Field.

Schema for a valid instance of a Metabase Field.
sourceraw docstring

FieldSampleclj

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.
sourceraw docstring

Fingerprintclj

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.
sourceraw docstring

fingerprint-version->types-that-should-be-re-fingerprintedclj

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.
sourceraw docstring

FKMetadataclj

Schema for the expected output of describe-table-fks.

Schema for the expected output of `describe-table-fks`.
sourceraw docstring

FKMetadataEntryclj

Schema for an individual entry in FKMetadata.

Schema for an individual entry in `FKMetadata`.
sourceraw docstring

GlobalFingerprintclj

Fingerprint values that Fields of all types should have.

Fingerprint values that Fields of all types should have.
sourceraw docstring

latest-fingerprint-versionclj

The newest (highest-numbered) version of our Field fingerprints.

The newest (highest-numbered) version of our Field fingerprints.
sourceraw docstring

NumberFingerprintclj

Schema for fingerprint information for Fields deriving from :type/Number.

Schema for fingerprint information for Fields deriving from `:type/Number`.
sourceraw docstring

Percentclj

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.
sourceraw docstring

ResultColumnMetadataInstanceclj

Schema for a valid instance of a Metabase Field.

Schema for a valid instance of a Metabase Field.
sourceraw docstring

TableInstanceclj

Schema for a valid instance of a Metabase Table.

Schema for a valid instance of a Metabase Table.
sourceraw docstring

TableMetadataclj

Schema for the expected output of describe-table.

Schema for the expected output of `describe-table`.
sourceraw docstring

TableMetadataFieldclj

Schema for a given Field as provided in describe-table.

Schema for a given Field as provided in `describe-table`.
sourceraw docstring

TableSampleclj

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"]]
sourceraw docstring

TextFingerprintclj

Schema for fingerprint information for Fields deriving from :type/Text.

Schema for fingerprint information for Fields deriving from `:type/Text`.
sourceraw docstring

TimeZoneIdclj

Schema predicate ensuring a valid time zone string

Schema predicate ensuring a valid time zone string
sourceraw docstring

TypeSpecificFingerprintclj

Schema for type-specific fingerprint information.

Schema for type-specific fingerprint information.
sourceraw docstring

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

× close