Liking cljdoc? Tell your friends :D

puppetlabs.puppetdb.scf.partitioning

Handles all work related to database table partitioning

Handles all work related to database table partitioning
raw docstring

create-partitionclj

(create-partition parent-table prefix date)

Inputs: [parent-table :- s/Str prefix :- s/Str date :- (s/cond-pre LocalDate LocalDateTime ZonedDateTime Instant java.sql.Timestamp)]

Inputs: [parent-table :- s/Str prefix :- s/Str date :- (s/cond-pre LocalDate LocalDateTime ZonedDateTime Instant java.sql.Timestamp)]
sourceraw docstring

create-reports-partitionclj

(create-reports-partition date)

Creates a partition in the reports table

Creates a partition in the reports table
sourceraw docstring

create-resource-events-partitionclj

(create-resource-events-partition date)

Creates a partition in the resource_events table

Creates a partition in the resource_events table
sourceraw docstring

date-suffixclj

(date-suffix date)
source

get-partition-namesclj

(get-partition-names table)

Return all partition names given the parent table name

Return all partition names given the parent table name
sourceraw docstring

get-temporal-partitionsclj

(get-temporal-partitions parent-table)

Returns a vector of {:table full-table-name :part partition-key} values for all the existing partitions associated with the name-prefix, e.g. request for "reports" might produce a vector of maps like {:table "reports_20200802z" :part "20200802z"}.

Returns a vector of {:table full-table-name :part partition-key}
values for all the existing partitions associated with the
name-prefix, e.g. request for "reports" might produce a vector of
maps like {:table "reports_20200802z" :part "20200802z"}.
sourceraw docstring

to-zoned-date-timeclj

(to-zoned-date-time date)
source

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close