public class TimeBoundaryQuery extends AbstractDruidQuery<TimeBoundaryQuery> implements DruidMetadataQuery<TimeBoundaryQuery>
context, dataSource, queryType| Modifier | Constructor and Description |
|---|---|
|
TimeBoundaryQuery(DataSource dataSource)
Constructor.
|
protected |
TimeBoundaryQuery(DataSource dataSource,
QueryContext context,
boolean doFork)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
TimeBoundaryQuery |
withContext(QueryContext context)
Returns a copy of this query with the specified context.
|
TimeBoundaryQuery |
withDataSource(DataSource dataSource)
Returns a copy of this query with the specified data source.
|
TimeBoundaryQuery |
withInnermostDataSource(DataSource dataSource)
Returns a copy of this query with the specified data source on the innermost query.
|
getContext, getDataSource, getQueryTypeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetContext, getDataSource, getInnermostQuery, getInnerQuery, getQueryTypeprotected TimeBoundaryQuery(DataSource dataSource, QueryContext context, boolean doFork)
dataSource - The datasourcecontext - The contextdoFork - true to fork a new context and bump up the query id, or false to create an exact copy of the
context.public TimeBoundaryQuery(DataSource dataSource)
dataSource - The datasourcepublic TimeBoundaryQuery withDataSource(DataSource dataSource)
DruidQuerywithDataSource in interface DruidQuery<TimeBoundaryQuery>dataSource - the new data sourcepublic TimeBoundaryQuery withInnermostDataSource(DataSource dataSource)
DruidQuerywithInnermostDataSource in interface DruidQuery<TimeBoundaryQuery>dataSource - the new data sourcepublic TimeBoundaryQuery withContext(QueryContext context)
DruidQuerywithContext in interface DruidQuery<TimeBoundaryQuery>context - the new contextCopyright © 2016–2018 Yahoo! Inc.. All rights reserved.