Documentation ¶
Index ¶
Constants ¶
View Source
const ( // TimePartitioning represents date-based partitioning. TimePartitioning = "date" // RangePartitioning represents range-based partitioning. RangePartitioning = "range" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type QueryConfig ¶ added in v0.3.0
type QueryConfig struct { // Query is the SQL Query to run. Query string // DateField is the field to use to determine which rows must be deleted // on a table update. It can be the same as partitionField, or different. DateField string // PartitionField is the field to use for date or range partitioning. PartitionField string // PartitionType is the type of partitioning to use (date or range). PartitionType string }
Click to show internal directories.
Click to hide internal directories.