Query data source time boundaries

Usage

druid.query.timeBoundary(url = druid.url(), dataSource, intervals = NA, verbose = F, 
  ...)

Arguments

url
URL to connect to druid, defaults to druid.url()
dataSource
name of the data source to query
intervals
time period to retrieve data for as an interval or list of interval objects
verbose
prints out the JSON query sent to druid

Value

a vector of POSIXct date-time objects

Description

Query a datasource to get the earliest and latest timestamp available

Examples

## Not run: # # # query min and max time# t <- druid.query.timeBoundary(# druid.url(host = "xx.xx.xx.xx"),# dataSource = "mydata",# )# t["minTime"]# t["maxTime"]# # ## End(Not run)

See also

Interval-class