| Package | Description | 
|---|---|
| com.yahoo.bard.webservice.data | |
| com.yahoo.bard.webservice.druid.model.datasource | |
| com.yahoo.bard.webservice.table | 
| Modifier and Type | Method and Description | 
|---|---|
protected GroupByQuery | 
DruidQueryBuilder.buildGroupByQuery(TemplateDruidQuery template,
                 ConstrainedTable table,
                 Granularity granularity,
                 org.joda.time.DateTimeZone timeZone,
                 Set<Dimension> groupByDimensions,
                 Filter filter,
                 Having having,
                 Set<org.joda.time.Interval> intervals,
                 LimitSpec druidOrderBy)
Builds a druid groupBy query recursively nesting dataSource based on the TemplateDruidQuery. 
 | 
protected TimeSeriesQuery | 
DruidQueryBuilder.buildTimeSeriesQuery(TemplateDruidQuery template,
                    ConstrainedTable table,
                    Granularity granularity,
                    org.joda.time.DateTimeZone timeZone,
                    Filter filter,
                    Set<org.joda.time.Interval> intervals)
Builds a druid TimeSeries query. 
 | 
protected TopNQuery | 
DruidQueryBuilder.buildTopNQuery(TemplateDruidQuery template,
              ConstrainedTable table,
              Granularity granularity,
              org.joda.time.DateTimeZone timeZone,
              Set<Dimension> groupByDimension,
              Filter filter,
              Set<org.joda.time.Interval> intervals,
              TopNMetric metricSpec,
              int topN)
Builds a druid topN query. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
ConstrainedTable | 
DataSource.getPhysicalTable()
Get the data source physical table. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Set<ConstrainedTable> | 
DataSource.getPhysicalTables()
Deprecated. 
 
DataSources can only have a single table, and any unioning semantics is done at the PhysicalTable
 level 
 | 
| Constructor and Description | 
|---|
DataSource(DataSourceType type,
          ConstrainedTable physicalTable)
Constructor. 
 | 
TableDataSource(ConstrainedTable physicalTable)
Constructor. 
 | 
UnionDataSource(ConstrainedTable physicalTable)
Constructor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
ConstrainedTable | 
BasePhysicalTable.withConstraint(DataSourceConstraint constraint)
Create a constrained copy of this table. 
 | 
ConstrainedTable | 
PhysicalTable.withConstraint(DataSourceConstraint constraint)
Create a constrained copy of this table. 
 | 
ConstrainedTable | 
ConstrainedTable.withConstraint(DataSourceConstraint constraint)
Create a constrained copy of the source table. 
 | 
Copyright © 2016–2018 Yahoo! Inc.. All rights reserved.