ing-bank / scruid

Scala + Druid: Scruid. A library that allows you to compose queries in Scala, and parse the result back into typesafe classes.
Apache License 2.0
115 stars 29 forks source link

Supports the Druid Select Queries #82

Closed mangrrua closed 4 years ago

mangrrua commented 4 years ago

Do Scruid supports "select" queries? I read documentation, but I didn't find any example query for that. For example, what is the equivalent of below query for "scruid" ?

"queryType": "select",
    "dataSource": "datasourcename",
    "descending": "false",
    "dimensions": [],
    "metrics": [],
    "granularity": "day",
    "intervals": [
        "2015-11-01/2016-11-04"
    ],
    "pagingSpec": {
        "pagingIdentifiers": {},
        "threshold": 100
    }

In the select query, Druid also supports pagination. How we can pagination in scruid?

@anskarl @Fokko @bjgbeelen