Skip to main content

@terascope/standard-asset-apis / routers/DateRouter / DateRouterConfig

Interface: DateRouterConfig

Defined in: routers/DateRouter.ts:141

Properties

PropertyTypeDescriptionDefined in
date_delimiter?stringThe between the date parts, i.e. year, month, date Default '.'routers/DateRouter.ts:165
date_unit_delimiter?stringThe separator between the date unit and the date value, only used if include_date_units is true. Default '_'routers/DateRouter.ts:173
fieldstringThis is the primary date field on the recordrouters/DateRouter.ts:145
include_date_units?booleanIf true the date unit (year, month, day) will be included the route Default falserouters/DateRouter.ts:180
resolution?DateResolutionThis is used determine how specific the date routing should be Default {DateResolution.daily}routers/DateRouter.ts:158
use_clock_time?booleanOption to use system time for the time value, overrides field valuerouters/DateRouter.ts:150