| Modifier and Type | Method and Description | 
|---|---|
LogicalTable | 
BaseTableLoader.buildLogicalTable(String name,
                 Granularity granularity,
                 String category,
                 String longName,
                 org.joda.time.ReadablePeriod retention,
                 String description,
                 TableGroup group,
                 MetricDictionary metrics)
Deprecated. 
 
The LogicalTable constructor is being mirrored here, can be referenced directly 
 | 
LogicalTable | 
BaseTableLoader.buildLogicalTable(String name,
                 Granularity granularity,
                 TableGroup group,
                 MetricDictionary metrics)
Deprecated. 
 
use new LogicalTable(...) by preferences 
 | 
| Constructor and Description | 
|---|
DataRequest(LogicalTable table,
           Set<org.joda.time.Interval> intervals,
           Collection<Set<ApiFilter>> filterSuperSet,
           Set<LogicalMetric> metricSet,
           Set<Dimension> groupByDimensionsSet,
           Set<String> dataSourceNames,
           boolean readCache,
           String format)
Constructor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
List<LogicalTable> | 
LogicalTableDictionary.findByDimension(Dimension dimension)
Get the logical tables for which the given logical dimension is valid. 
 | 
List<LogicalTable> | 
LogicalTableDictionary.findByLogicalMetric(LogicalMetric logicalMetric)
Get the logical tables for which the given logical metric is valid. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
int | 
LogicalTable.compareTo(LogicalTable o)  | 
| Constructor and Description | 
|---|
TableIdentifier(LogicalTable table)
Constructor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
LogicalTable | 
QueryPlanningConstraint.getLogicalTable()  | 
| Constructor and Description | 
|---|
QueryPlanningConstraint(Set<Dimension> requestDimensions,
                       Set<Dimension> filterDimensions,
                       Set<Dimension> metricDimensions,
                       Set<String> metricNames,
                       ApiFilters apiFilters,
                       LogicalTable logicalTable,
                       Set<org.joda.time.Interval> intervals,
                       Set<LogicalMetric> logicalMetrics,
                       Granularity minimumGranularity,
                       Granularity requestGranularity)
Constructor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static SimplifiedIntervalList | 
TableUtils.getConstrainedLogicalTableAvailability(LogicalTable logicalTable,
                                      QueryPlanningConstraint queryPlanningConstraint)
Returns union of constrained availabilities of constrained logical table. 
 | 
static SimplifiedIntervalList | 
TableUtils.logicalTableAvailability(LogicalTable logicalTable)
Returns union of availabilities of the logical table. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
TableView | 
TableMetadataFormatter.formatTable(LogicalTable logicalTable,
           javax.ws.rs.core.UriInfo uriInfo)
Get a representation of a table and underlying information. 
 | 
TableView | 
TableFullViewProcessor.formatTable(LogicalTable logicalTable,
           javax.ws.rs.core.UriInfo uriInfo)
Method to provide metadata of the table. 
 | 
TableGrainView | 
TableMetadataFormatter.formatTableGrain(LogicalTable logicalTable,
                String grain,
                javax.ws.rs.core.UriInfo uriInfo)
Get a representation of a table at grain level. 
 | 
TableGrainView | 
TableFullViewProcessor.formatTableGrain(LogicalTable logicalTable,
                String grain,
                javax.ws.rs.core.UriInfo uriInfo)
Method to provide grain level details(with metrics and dimensions) of the given logical table. 
 | 
Set<FilteredAggregation> | 
FilteredSketchMetricsHelper.getFilteredAggregation(com.fasterxml.jackson.databind.JsonNode filter,
                      Aggregation aggregation,
                      DimensionDictionary dimensionDictionary,
                      LogicalTable table,
                      DataApiRequest apiRequest)
Deprecated.  
  | 
Set<FilteredAggregation> | 
MetricsFilterSetBuilder.getFilteredAggregation(com.fasterxml.jackson.databind.JsonNode filter,
                      Aggregation aggregation,
                      DimensionDictionary dimensionDictionary,
                      LogicalTable table,
                      DataApiRequest apiRequest)
For a given aggregator, this method applies the filter and returns a set of filtered aggregations. 
 | 
Set<FilteredAggregation> | 
FilteredThetaSketchMetricsHelper.getFilteredAggregation(com.fasterxml.jackson.databind.JsonNode filter,
                      Aggregation aggregation,
                      DimensionDictionary dimensionDictionary,
                      LogicalTable table,
                      DataApiRequest apiRequest)  | 
LogicalMetric | 
FilteredSketchMetricsHelper.getFilteredLogicalMetric(LogicalMetric logicalMetric,
                        com.fasterxml.jackson.databind.JsonNode metricFilterObject,
                        DimensionDictionary dimensionDictionary,
                        LogicalTable table,
                        DataApiRequest apiRequest)
Deprecated.  
  | 
LogicalMetric | 
MetricsFilterSetBuilder.getFilteredLogicalMetric(LogicalMetric logicalMetric,
                        com.fasterxml.jackson.databind.JsonNode metricFilterObject,
                        DimensionDictionary dimensionDictionary,
                        LogicalTable table,
                        DataApiRequest apiRequest)
Provides filter wrapped logical metric for the given logical metric. 
 | 
LogicalMetric | 
FilteredThetaSketchMetricsHelper.getFilteredLogicalMetric(LogicalMetric logicalMetric,
                        com.fasterxml.jackson.databind.JsonNode metricFilterObject,
                        DimensionDictionary dimensionDictionary,
                        LogicalTable table,
                        DataApiRequest apiRequest)  | 
TemplateDruidQuery | 
FilteredSketchMetricsHelper.updateTemplateDruidQuery(TemplateDruidQuery query,
                        com.fasterxml.jackson.databind.JsonNode metricFilterObject,
                        DimensionDictionary dimensionDictionary,
                        LogicalTable table,
                        DataApiRequest apiRequest)
Deprecated.  
  | 
TemplateDruidQuery | 
MetricsFilterSetBuilder.updateTemplateDruidQuery(TemplateDruidQuery query,
                        com.fasterxml.jackson.databind.JsonNode metricFilterObject,
                        DimensionDictionary dimensionDictionary,
                        LogicalTable table,
                        DataApiRequest apiRequest)
Method to update a given query by changing aggregators to filteredAggregators and updating postAggs to reference
 the filteredAggregators. 
 | 
TemplateDruidQuery | 
FilteredThetaSketchMetricsHelper.updateTemplateDruidQuery(TemplateDruidQuery query,
                        com.fasterxml.jackson.databind.JsonNode metricFilterObject,
                        DimensionDictionary dimensionDictionary,
                        LogicalTable table,
                        DataApiRequest apiRequest)  | 
| Modifier and Type | Method and Description | 
|---|---|
List<TableView> | 
TableMetadataFormatter.formatTables(Set<LogicalTable> logicalTableList,
            javax.ws.rs.core.UriInfo uriInfo)
Get a list of TableViews which have a complete view of all the tables and underlying information. 
 | 
List<TableView> | 
TableFullViewProcessor.formatTables(Set<LogicalTable> logicalTables,
            javax.ws.rs.core.UriInfo uriInfo)
Method to provide full view of the tables which includes grains, metrics and dimensions. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
protected LogicalTable | 
ApiRequestImpl.generateTable(String tableName,
             Granularity granularity,
             LogicalTableDictionary logicalTableDictionary)
Extracts a specific logical table object given a valid table name and a valid granularity. 
 | 
LogicalTable | 
DataApiRequest.getTable()
The logical table for this request. 
 | 
LogicalTable | 
TablesApiRequest.getTable()
Returns the LogicalTable requested in the table API request URL. 
 | 
LogicalTable | 
DataApiRequestImpl.getTable()  | 
LogicalTable | 
TablesApiRequestImpl.getTable()  | 
| Modifier and Type | Method and Description | 
|---|---|
protected Set<LogicalTable> | 
TablesApiRequestImpl.generateTables(String tableName,
              LogicalTableDictionary tableDictionary)
Extracts the list of logical table names from the url table path segment and generates a set of logical table
 objects based on it. 
 | 
Set<LogicalTable> | 
TablesApiRequest.getTables()
Returns a set of LogicalTables associated with a table API request. 
 | 
Set<LogicalTable> | 
TablesApiRequestImpl.getTables()  | 
| Modifier and Type | Method and Description | 
|---|---|
Map<Dimension,Set<ApiFilter>> | 
DataApiRequest.generateFilters(String filterQuery,
               LogicalTable table,
               DimensionDictionary dimensionDictionary)
Generates filter objects on the based on the filter query in the api request. 
 | 
ApiFilters | 
ApiRequestImpl.generateFilters(String filterQuery,
               LogicalTable table,
               DimensionDictionary dimensionDictionary)
Generates filter objects on the based on the filter query in the api request. 
 | 
protected LinkedHashSet<LogicalMetric> | 
DataApiRequestImpl.generateLogicalMetrics(String apiMetricQuery,
                      MetricDictionary metricDictionary,
                      DimensionDictionary dimensionDictionary,
                      LogicalTable table)
Extracts the list of metrics from the url metric query string and generates a set of LogicalMetrics. 
 | 
protected void | 
ApiRequestImpl.validateMetrics(Set<LogicalMetric> logicalMetrics,
               LogicalTable table)
Validate that all metrics are part of the logical table. 
 | 
protected void | 
ApiRequestImpl.validateRequestDimensions(Set<Dimension> requestDimensions,
                         LogicalTable table)
Ensure all request dimensions are part of the logical table. 
 | 
DataApiRequestImpl | 
DataApiRequest.withTable(LogicalTable table)  | 
TablesApiRequest | 
TablesApiRequest.withTable(LogicalTable table)  | 
DataApiRequestImpl | 
DataApiRequestImpl.withTable(LogicalTable table)  | 
TablesApiRequest | 
TablesApiRequestImpl.withTable(LogicalTable table)  | 
| Modifier and Type | Method and Description | 
|---|---|
TablesApiRequest | 
TablesApiRequest.withGranularity(Set<LogicalTable> tables)  | 
TablesApiRequest | 
TablesApiRequestImpl.withGranularity(Set<LogicalTable> tables)  | 
TablesApiRequest | 
TablesApiRequest.withTables(Set<LogicalTable> tables)  | 
TablesApiRequest | 
TablesApiRequestImpl.withTables(Set<LogicalTable> tables)  | 
| Constructor and Description | 
|---|
DataApiRequestImpl(ResponseFormatType format,
                  Optional<PaginationParameters> paginationParameters,
                  javax.ws.rs.core.UriInfo uriInfo,
                  javax.ws.rs.core.Response.ResponseBuilder builder,
                  LogicalTable table,
                  Granularity granularity,
                  Set<Dimension> dimensions,
                  LinkedHashMap<Dimension,LinkedHashSet<DimensionField>> perDimensionFields,
                  Set<LogicalMetric> logicalMetrics,
                  Set<org.joda.time.Interval> intervals,
                  ApiFilters apiFilters,
                  Map<LogicalMetric,Set<ApiHaving>> havings,
                  Having having,
                  LinkedHashSet<OrderByColumn> sorts,
                  int count,
                  int topN,
                  long asyncAfter,
                  org.joda.time.DateTimeZone timeZone,
                  DruidFilterBuilder filterBuilder,
                  HavingGenerator havingApiGenerator,
                  Optional<OrderByColumn> dateTimeSort)
All argument constructor, meant to be used for rewriting apiRequest. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
protected static Map<String,Object> | 
TablesServlet.getLogicalTableFullView(LogicalTable logicalTable,
                       javax.ws.rs.core.UriInfo uriInfo)
Deprecated. 
 
In order to display constrained data availability in table resource, this method needs to accept a
  
TablesApiRequest as a parameter. Use
 TablesServlet.getLogicalTableFullView(TablesApiRequestImpl, UriInfo) instead. | 
static Map<String,String> | 
TablesServlet.getLogicalTableSummaryView(LogicalTable logicalTable,
                          javax.ws.rs.core.UriInfo uriInfo)
Get the summary view of the logical table. 
 | 
static String | 
TablesServlet.getLogicalTableUrl(LogicalTable logicalTable,
                  javax.ws.rs.core.UriInfo uriInfo)
Get the URL of the logical table. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static Set<Map<String,Object>> | 
TablesServlet.getLogicalAll(Collection<LogicalTable> logicalTables,
             javax.ws.rs.core.UriInfo uriInfo)
Get the summary list view of the logical tables. 
 | 
static Set<Map<String,String>> | 
TablesServlet.getLogicalTableListSummaryView(Collection<LogicalTable> logicalTables,
                              javax.ws.rs.core.UriInfo uriInfo)
Get the summary list view of the logical tables. 
 | 
Copyright © 2016–2018 Yahoo! Inc.. All rights reserved.