Modifier and Type | Method and Description |
---|---|
Set<Dimension> |
SqlDimensionValueLoader.getDimensions() |
Set<Dimension> |
DimensionValueLoader.getDimensions()
Gets the list of dimensions to load.
|
Set<Dimension> |
DruidDimensionValueLoader.getDimensions() |
Modifier and Type | Method and Description |
---|---|
default boolean |
DimensionValueLoader.dimensionExistsInDataSource(Dimension dimension,
DataSource dataSource)
Checks if a
Dimension exists in a DataSource . |
void |
SqlDimensionValueLoader.query(Dimension dimension,
DataSource dataSource) |
void |
DimensionValueLoader.query(Dimension dimension,
DataSource dataSource)
Queries for a specific
Dimension against the given DataSource . |
void |
DruidDimensionValueLoader.query(Dimension dimension,
DataSource dataSource) |
default void |
DimensionValueLoader.queryDimension(Dimension dimension)
Queries a specific dimension.
|
default void |
DimensionValueLoader.updateDimension(Dimension dimension)
Tell the dimension it's been updated.
|
default void |
DimensionValueLoader.updateDimensionWithValue(Dimension dimension,
DimensionRow dimensionRow)
Adds dimension row values to a dimension.
|
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 ResponseData |
HttpResponseMaker.buildResponseData(ResultSet resultSet,
LinkedHashSet<String> apiMetricColumnNames,
LinkedHashMap<Dimension,LinkedHashSet<DimensionField>> requestedApiDimensionFields,
SimplifiedIntervalList partialIntervals,
SimplifiedIntervalList volatileIntervals,
Pagination pagination,
Map<String,URI> paginationLinks)
Builds a ResponseData object.
|
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 |
---|---|
Dimension |
DimensionDictionary.findByApiName(String dimensionName)
Find a Dimension given a dimension api name.
|
Dimension |
DimensionColumn.getDimension() |
Modifier and Type | Method and Description |
---|---|
Set<Dimension> |
DimensionDictionary.findAll()
Get all dimensions available in dimension dictionary.
|
Modifier and Type | Method and Description |
---|---|
boolean |
DimensionDictionary.add(Dimension dimension)
Adds the specified element to the dictionary if it is not already present.
|
String |
DimensionFieldNameMapper.convert(Dimension dimension,
DimensionField dimensionField)
A converter function for the dimension field Mapping.
|
Set<DimensionRow> |
AvroDimensionRowParser.parseAvroFileDimensionRows(Dimension dimension,
String avroFilePath)
Parses the avro file and returns the dimension rows.
|
void |
AvroDimensionRowParser.parseAvroFileDimensionRows(Dimension dimension,
String avroFilePath,
Consumer<DimensionRow> consumer)
Parses the avro file and sends dimension rows to a consumer.
|
void |
SearchProvider.setDimension(Dimension dimension)
Setter for dimension.
|
Modifier and Type | Method and Description |
---|---|
boolean |
DimensionDictionary.addAll(Collection<? extends Dimension> dimensions)
Adds all of the dimensions in the specified collection to the dictionary.
|
Constructor and Description |
---|
DimensionColumn(Dimension dimension)
Constructor.
|
DimensionColumn(Dimension dimension,
String columnName)
Deprecated.
LogicalDimensionColumn is the only caller of this, and since it's deprecated, so is this constructor
|
LogicalDimensionColumn(Dimension dimension)
Deprecated.
Constructor.
|
Constructor and Description |
---|
DimensionDictionary(Set<Dimension> dimensions)
Constructor.
|
Modifier and Type | Interface and Description |
---|---|
interface |
ExtractionFunctionDimension
A dimension that supports extraction functions.
|
Modifier and Type | Class and Description |
---|---|
class |
KeyValueStoreDimension
KeyValueStoreDimension implements key value collection of DimensionRows.
|
class |
LookupDimension
LookupDimension creates a Look up dimension based on the namespace chain.
|
class |
RegisteredLookupDimension
RegisteredLookupDimension creates a registered look up dimension based on the lookup chain.
|
Modifier and Type | Method and Description |
---|---|
void |
NoOpSearchProvider.setDimension(Dimension dimension) |
void |
LuceneSearchProvider.setDimension(Dimension dimension) |
void |
ScanSearchProvider.setDimension(Dimension dimension) |
Modifier and Type | Method and Description |
---|---|
protected abstract Filter |
ConjunctionDruidFilterBuilder.buildDimensionFilter(Dimension dimension,
Set<ApiFilter> filters)
Take the conjunction of all the filters on a single dimension.
|
protected Filter |
ConsolidatingDruidFilterBuilder.buildDimensionFilter(Dimension dimension,
Set<ApiFilter> filters) |
protected Filter |
DefaultDruidFilterBuilder.buildDimensionFilter(Dimension dimension,
Set<ApiFilter> filters) |
protected List<Filter> |
ConjunctionDruidFilterBuilder.buildSelectorFilters(Dimension dimension,
Set<DimensionRow> rows)
Builds a list of Druid selector or extraction filters.
|
protected Set<DimensionRow> |
ConjunctionDruidFilterBuilder.getFilteredDimensionRows(Dimension dimension,
Set<ApiFilter> filters)
Resolves a set of ApiFilters into a list of dimension rows that need to be filtered in Druid.
|
Modifier and Type | Method and Description |
---|---|
Filter |
ConjunctionDruidFilterBuilder.buildFilters(Map<Dimension,Set<ApiFilter>> filterMap) |
Filter |
DruidFilterBuilder.buildFilters(Map<Dimension,Set<ApiFilter>> filterMap)
Combines the filters for a set of dimensions into a single Druid filter.
|
Modifier and Type | Method and Description |
---|---|
Collection<Dimension> |
TemplateDruidQuery.getDimensions() |
Modifier and Type | Method and Description |
---|---|
Set<Dimension> |
MetricField.getDependentDimensions()
Get the dimensions, if any, this metric depends on.
|
Modifier and Type | Method and Description |
---|---|
Set<Dimension> |
FilteredAggregation.getDependentDimensions() |
Set<Dimension> |
CardinalityAggregation.getDependentDimensions() |
Set<Dimension> |
Aggregation.getDependentDimensions() |
Modifier and Type | Method and Description |
---|---|
CardinalityAggregation |
CardinalityAggregation.withDimensions(Set<Dimension> dimensions)
Build a copy with a modified base set of dimensions.
|
Constructor and Description |
---|
CardinalityAggregation(String name,
Set<Dimension> dimensions,
boolean byRow)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Dimension |
DimensionalFilter.getDimension() |
Modifier and Type | Method and Description |
---|---|
InFilter |
InFilter.withDimension(Dimension dimension) |
abstract T |
DimensionalFilter.withDimension(Dimension dimension)
Get a new instance of this filter with the given Dimension.
|
SearchFilter |
SearchFilter.withDimension(Dimension dimension) |
ExtractionFilter |
ExtractionFilter.withDimension(Dimension dimension)
Deprecated.
|
RegularExpressionFilter |
RegularExpressionFilter.withDimension(Dimension dimension) |
SelectorFilter |
SelectorFilter.withDimension(Dimension dimension) |
Constructor and Description |
---|
DimensionalFilter(Dimension dimension,
FilterType type)
Constructor, default extraction function to the one on dimension if it has one.
|
DimensionalFilter(Dimension dimension,
FilterType type,
ExtractionFunction extractionFunction)
Constructor, with explicit extraction function provided.
|
ExtractionFilter(Dimension dimension,
String value,
ExtractionFunction extractionFn)
Deprecated.
Constructor.
|
InFilter(Dimension dimension,
List<String> values)
Constructor.
|
RegularExpressionFilter(Dimension dimension,
Pattern pattern)
Constructor.
|
SearchFilter(Dimension dimension,
SearchFilter.QueryType queryType,
String value)
Constructor.
|
SelectorFilter(Dimension dimension,
String value)
Constructor.
|
SelectorFilter(Dimension dimension,
String value,
ExtractionFunction extractionFn)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
default Set<Dimension> |
WithFields.getDependentDimensions()
Get the dimensions from all child postAggregations.
|
Set<Dimension> |
ConstantPostAggregation.getDependentDimensions() |
Set<Dimension> |
FieldAccessorPostAggregation.getDependentDimensions() |
Modifier and Type | Field and Description |
---|---|
protected Collection<Dimension> |
AbstractDruidAggregationQuery.dimensions |
protected Collection<Dimension> |
DruidSearchQuery.searchDimensions |
Modifier and Type | Method and Description |
---|---|
Dimension |
TopNQuery.getDimension() |
Modifier and Type | Method and Description |
---|---|
Collection<Dimension> |
DruidAggregationQuery.getDimensions()
Returns the dimensions of the query if any.
|
Collection<Dimension> |
TopNQuery.getDimensions() |
Collection<Dimension> |
LookbackQuery.getDimensions() |
Collection<Dimension> |
TimeSeriesQuery.getDimensions() |
Collection<Dimension> |
AbstractDruidAggregationQuery.getDimensions() |
default Set<Dimension> |
DruidAggregationQuery.getMetricDimensions()
Get all the dimensions from Filtered Aggregations of a filtered metric.
|
Collection<Dimension> |
DruidSearchQuery.getSearchDimensions() |
Modifier and Type | Method and Description |
---|---|
TopNQuery |
TopNQuery.withDimension(Dimension dimension) |
Modifier and Type | Method and Description |
---|---|
GroupByQuery |
GroupByQuery.withDimensions(Collection<Dimension> dimensions) |
Constructor and Description |
---|
TopNQuery(DataSource dataSource,
Granularity granularity,
Dimension dimension,
Filter filter,
Collection<Aggregation> aggregations,
Collection<PostAggregation> postAggregations,
Collection<org.joda.time.Interval> intervals,
long threshold,
TopNMetric metric)
Constructor.
|
TopNQuery(DataSource dataSource,
Granularity granularity,
Dimension dimension,
Filter filter,
Collection<Aggregation> aggregations,
Collection<PostAggregation> postAggregations,
Collection<org.joda.time.Interval> intervals,
long threshold,
TopNMetric metric,
QueryContext context,
boolean doFork)
Constructor.
|
Constructor and Description |
---|
AbstractDruidAggregationQuery(QueryType queryType,
DataSource dataSource,
Granularity granularity,
Collection<Dimension> dimensions,
Filter filter,
Collection<Aggregation> aggregations,
Collection<PostAggregation> postAggregations,
Collection<org.joda.time.Interval> intervals,
QueryContext context,
boolean doFork)
Constructor.
|
DruidSearchQuery(DataSource dataSource,
Granularity granularity,
Filter filter,
Collection<org.joda.time.Interval> intervals,
Collection<Dimension> searchDimensions,
SearchQuerySpec query,
SearchSortDirection sort,
Integer limit)
Constructor.
|
DruidSearchQuery(DataSource dataSource,
Granularity granularity,
Filter filter,
Collection<org.joda.time.Interval> intervals,
Collection<Dimension> searchDimensions,
SearchQuerySpec query,
SearchSortDirection sort,
Integer limit,
QueryContext context,
boolean doFork)
Constructor.
|
GroupByQuery(DataSource dataSource,
Granularity granularity,
Collection<Dimension> dimensions,
Filter filter,
Having having,
Collection<Aggregation> aggregations,
Collection<PostAggregation> postAggregations,
Collection<org.joda.time.Interval> intervals,
LimitSpec limitSpec)
Constructor.
|
GroupByQuery(DataSource dataSource,
Granularity granularity,
Collection<Dimension> dimensions,
Filter filter,
Having having,
Collection<Aggregation> aggregations,
Collection<PostAggregation> postAggregations,
Collection<org.joda.time.Interval> intervals,
LimitSpec limitSpec,
QueryContext context,
boolean doFork)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static Optional<String> |
SerializerUtil.findPhysicalName(Dimension value,
com.fasterxml.jackson.core.JsonGenerator gen)
JSON tree walk up to physical table to retrieve physical name for a dimension.
|
void |
DimensionToNameSerializer.serialize(Dimension value,
com.fasterxml.jackson.core.JsonGenerator gen,
com.fasterxml.jackson.databind.SerializerProvider provider) |
void |
DimensionToDefaultDimensionSpec.serialize(Dimension value,
com.fasterxml.jackson.core.JsonGenerator gen,
com.fasterxml.jackson.databind.SerializerProvider provider) |
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 |
---|---|
SqlAggregationQuery |
SqlAggregationQuery.withDimensions(Collection<Dimension> dimensions) |
Modifier and Type | Method and Description |
---|---|
Set<Dimension> |
TableGroup.getDimensions()
Getter for the set of maximal dimensions for tables in this table group.
|
default LinkedHashSet<Dimension> |
Table.getDimensions()
Getter for set of dimensions.
|
Modifier and Type | Method and Description |
---|---|
List<LogicalTable> |
LogicalTableDictionary.findByDimension(Dimension dimension)
Get the logical tables for which the given logical dimension is valid.
|
Constructor and Description |
---|
TableGroup(LinkedHashSet<PhysicalTable> tables,
Set<ApiMetricName> apiMetricNames,
Set<Dimension> dimensions)
Builds a TableGroup.
|
Modifier and Type | Method and Description |
---|---|
Set<Dimension> |
DataSourceConstraint.getAllDimensions() |
Set<Dimension> |
DataSourceConstraint.getFilterDimensions() |
Set<Dimension> |
DataSourceConstraint.getMetricDimensions() |
Set<Dimension> |
DataSourceConstraint.getRequestDimensions() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
DimensionIdFilter.anyRowsMatch(Dimension dimension,
Set<ApiFilter> constraintFilters)
Check if for a given set of request filters, adding in the filters for this `DataSourceFilter` there is a
corresponding row.
|
Constructor and Description |
---|
DataSourceConstraint(Set<Dimension> requestDimensions,
Set<Dimension> filterDimensions,
Set<Dimension> metricDimensions,
Set<String> metricNames,
ApiFilters apiFilters)
Constructor.
|
DataSourceConstraint(Set<Dimension> requestDimensions,
Set<Dimension> filterDimensions,
Set<Dimension> metricDimensions,
Set<String> metricNames,
ApiFilters apiFilters)
Constructor.
|
DataSourceConstraint(Set<Dimension> requestDimensions,
Set<Dimension> filterDimensions,
Set<Dimension> metricDimensions,
Set<String> metricNames,
ApiFilters apiFilters)
Constructor.
|
DataSourceConstraint(Set<Dimension> requestDimensions,
Set<Dimension> filterDimensions,
Set<Dimension> metricDimensions,
Set<String> metricNames,
Set<Dimension> allDimensions,
Set<String> allDimensionNames,
Set<String> allColumnNames,
ApiFilters apiFilters)
Deprecated.
"allDimensions", "allDimensionNames", and "allColumnNames" can be generated by other arguments. Use
DataSourceConstraint.DataSourceConstraint(Set, Set, Set, Set, ApiFilters) instead, which saves caller argument-passing
efforts. |
DataSourceConstraint(Set<Dimension> requestDimensions,
Set<Dimension> filterDimensions,
Set<Dimension> metricDimensions,
Set<String> metricNames,
Set<Dimension> allDimensions,
Set<String> allDimensionNames,
Set<String> allColumnNames,
ApiFilters apiFilters)
Deprecated.
"allDimensions", "allDimensionNames", and "allColumnNames" can be generated by other arguments. Use
DataSourceConstraint.DataSourceConstraint(Set, Set, Set, Set, ApiFilters) instead, which saves caller argument-passing
efforts. |
DataSourceConstraint(Set<Dimension> requestDimensions,
Set<Dimension> filterDimensions,
Set<Dimension> metricDimensions,
Set<String> metricNames,
Set<Dimension> allDimensions,
Set<String> allDimensionNames,
Set<String> allColumnNames,
ApiFilters apiFilters)
Deprecated.
"allDimensions", "allDimensionNames", and "allColumnNames" can be generated by other arguments. Use
DataSourceConstraint.DataSourceConstraint(Set, Set, Set, Set, ApiFilters) instead, which saves caller argument-passing
efforts. |
DataSourceConstraint(Set<Dimension> requestDimensions,
Set<Dimension> filterDimensions,
Set<Dimension> metricDimensions,
Set<String> metricNames,
Set<Dimension> allDimensions,
Set<String> allDimensionNames,
Set<String> allColumnNames,
ApiFilters apiFilters)
Deprecated.
"allDimensions", "allDimensionNames", and "allColumnNames" can be generated by other arguments. Use
DataSourceConstraint.DataSourceConstraint(Set, Set, Set, Set, ApiFilters) instead, which saves caller argument-passing
efforts. |
DimensionIdFilter(Map<Dimension,Set<String>> dimensionMappingValues)
Constructor.
|
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.
|
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.
|
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 Stream<Dimension> |
TableUtils.getDimensions(DataApiRequest request,
DruidAggregationQuery<?> query)
Get a stream returning all the fact store dimensions.
|
Modifier and Type | Field and Description |
---|---|
protected static Map<Dimension,Map<DimensionField,String>> |
ResponseData.DIMENSION_FIELD_COLUMN_NAMES |
protected LinkedHashMap<Dimension,LinkedHashSet<DimensionField>> |
ResponseData.requestedApiDimensionFields |
Modifier and Type | Method and Description |
---|---|
Dimension |
ApiFilter.getDimension() |
Modifier and Type | Method and Description |
---|---|
Set<Dimension> |
FilteredSketchMetricsHelper.gatherFilterDimensions(Filter filter)
Deprecated.
Helper method that calls gatherFilterDimensions(Filter filter, Set<Dimension> dimensions)
by passing in filter and an empty HashSet.
|
Set<Dimension> |
MetricsFilterSetBuilder.gatherFilterDimensions(Filter filter)
Helper method that calls
MetricsFilterSetBuilder.gatherFilterDimensions(Filter, Set) by passing in filter and an empty HashSet. |
Set<Dimension> |
FilteredThetaSketchMetricsHelper.gatherFilterDimensions(Filter filter) |
Set<Dimension> |
FilteredSketchMetricsHelper.gatherFilterDimensions(Filter filter,
Set<Dimension> dimensions)
Deprecated.
|
Set<Dimension> |
MetricsFilterSetBuilder.gatherFilterDimensions(Filter filter,
Set<Dimension> dimensions)
Method to get dimensions from a Filter object.
|
Set<Dimension> |
FilteredThetaSketchMetricsHelper.gatherFilterDimensions(Filter filter,
Set<Dimension> dimensions) |
LinkedHashMap<Dimension,LinkedHashSet<DimensionField>> |
ResponseData.getRequestedApiDimensionFields() |
Modifier and Type | Method and Description |
---|---|
protected static String |
ResponseData.getDimensionColumnName(Dimension dimension,
DimensionField dimensionField)
Retrieve dimension column name from cache, or build it and cache it.
|
ApiFilter |
ApiFilter.withDimension(Dimension dimension) |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
ResponseData.buildResultRowWithSidecars(Result result,
Map<Dimension,Set<Map<DimensionField,String>>> sidecars)
Builds map of result row from a result and loads the dimension rows into the sidecar map.
|
Set<Dimension> |
FilteredSketchMetricsHelper.gatherFilterDimensions(Filter filter,
Set<Dimension> dimensions)
Deprecated.
|
Set<Dimension> |
MetricsFilterSetBuilder.gatherFilterDimensions(Filter filter,
Set<Dimension> dimensions)
Method to get dimensions from a Filter object.
|
Set<Dimension> |
FilteredThetaSketchMetricsHelper.gatherFilterDimensions(Filter filter,
Set<Dimension> dimensions) |
Stream<String> |
ResponseData.generateDimensionColumnHeaders(Map.Entry<Dimension,LinkedHashSet<DimensionField>> entry)
Build the headers for the dimension columns.
|
Constructor and Description |
---|
ApiFilter(Dimension dimension,
DimensionField dimensionField,
FilterOperation operation,
Set<String> values)
Constructor.
|
Constructor and Description |
---|
ResponseData(ResultSet resultSet,
LinkedHashSet<String> apiMetricColumnNames,
LinkedHashMap<Dimension,LinkedHashSet<DimensionField>> requestedApiDimensionFields,
SimplifiedIntervalList missingIntervals,
SimplifiedIntervalList volatileIntervals,
Pagination pagination,
Map<String,URI> paginationLinks)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Dimension |
DimensionsApiRequestImpl.getDimension() |
Dimension |
DimensionsApiRequest.getDimension() |
Modifier and Type | Method and Description |
---|---|
protected LinkedHashMap<Dimension,LinkedHashSet<DimensionField>> |
DataApiRequestImpl.generateDimensionFields(List<javax.ws.rs.core.PathSegment> apiDimensionPathSegments,
DimensionDictionary dimensionDictionary)
Extracts the list of dimensions from the url dimension path segments and "show" matrix params and generates a map
of dimension to dimension fields which needs to be annotated on the response.
|
protected LinkedHashSet<Dimension> |
ApiRequestImpl.generateDimensions(List<javax.ws.rs.core.PathSegment> apiDimensions,
DimensionDictionary dimensionDictionary)
Extracts the list of dimension names from the url dimension path segments and generates a set of dimension
objects based on it.
|
protected LinkedHashSet<Dimension> |
DimensionsApiRequestImpl.generateDimensions(String apiDimension,
DimensionDictionary dimensionDictionary)
Returns a set of dimension names that contains either the requested dimension or all the available ones.
|
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.
|
LinkedHashMap<Dimension,LinkedHashSet<DimensionField>> |
DataApiRequest.getDimensionFields()
A map of dimension fields specified for the output schema.
|
LinkedHashMap<Dimension,LinkedHashSet<DimensionField>> |
DataApiRequestImpl.getDimensionFields() |
Set<Dimension> |
DataApiRequest.getDimensions()
The set of grouping dimensions on this ApiRequest.
|
Set<Dimension> |
TablesApiRequest.getDimensions()
Returns the set of grouping dimensions on this request.
|
Set<Dimension> |
DataApiRequestImpl.getDimensions() |
LinkedHashSet<Dimension> |
DimensionsApiRequestImpl.getDimensions() |
Set<Dimension> |
TablesApiRequestImpl.getDimensions() |
LinkedHashSet<Dimension> |
DimensionsApiRequest.getDimensions() |
Set<Dimension> |
DataApiRequest.getFilterDimensions()
Get the dimensions used in filters on this request.
|
Set<Dimension> |
TablesApiRequest.getFilterDimensions()
Returns the dimensions used in filters on this request.
|
Set<Dimension> |
DataApiRequestImpl.getFilterDimensions()
Gets the filter dimensions form the given set of filter objects.
|
Set<Dimension> |
TablesApiRequestImpl.getFilterDimensions() |
Modifier and Type | Method and Description |
---|---|
protected void |
DataApiRequestImpl.validateAggregatability(Set<Dimension> apiDimensions,
Map<Dimension,Set<ApiFilter>> apiFilters)
Validate that the request references any non-aggregatable dimensions in a valid way.
|
protected void |
DataApiRequestImpl.validateAggregatability(Set<Dimension> apiDimensions,
Map<Dimension,Set<ApiFilter>> apiFilters)
Validate that the request references any non-aggregatable dimensions in a valid way.
|
protected void |
ApiRequestImpl.validateRequestDimensions(Set<Dimension> requestDimensions,
LogicalTable table)
Ensure all request dimensions are part of the logical table.
|
DimensionsApiRequest |
DimensionsApiRequestImpl.withDimensions(LinkedHashSet<Dimension> dimensions) |
DimensionsApiRequest |
DimensionsApiRequest.withDimensions(LinkedHashSet<Dimension> dimensions) |
DataApiRequestImpl |
DataApiRequest.withDimensions(Set<Dimension> dimensions) |
TablesApiRequest |
TablesApiRequest.withDimensions(Set<Dimension> dimensions) |
DataApiRequestImpl |
DataApiRequestImpl.withDimensions(Set<Dimension> dimensions) |
TablesApiRequest |
TablesApiRequestImpl.withDimensions(Set<Dimension> dimensions) |
TablesApiRequest |
TablesApiRequest.withFilters(Map<Dimension,Set<ApiFilter>> filters) |
TablesApiRequest |
TablesApiRequestImpl.withFilters(Map<Dimension,Set<ApiFilter>> filters) |
DataApiRequestImpl |
DataApiRequest.withPerDimensionFields(LinkedHashMap<Dimension,LinkedHashSet<DimensionField>> perDimensionFields) |
DataApiRequestImpl |
DataApiRequestImpl.withPerDimensionFields(LinkedHashMap<Dimension,LinkedHashSet<DimensionField>> perDimensionFields) |
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.
|
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 |
---|---|
static Map<String,Object> |
DimensionsServlet.getDimensionFullView(Dimension dimension,
LogicalTableDictionary logicalTableDictionary,
javax.ws.rs.core.UriInfo uriInfo)
Get the full view of the dimension.
|
static Map<String,Object> |
DimensionsServlet.getDimensionSummaryView(Dimension dimension,
javax.ws.rs.core.UriInfo uriInfo)
Get the summary view of the dimension.
|
static String |
DimensionsServlet.getDimensionUrl(Dimension dimension,
javax.ws.rs.core.UriInfo uriInfo)
Get the URL of the dimension.
|
static String |
DimensionsServlet.getDimensionValuesUrl(Dimension dimension,
javax.ws.rs.core.UriInfo uriInfo)
Get the URL of the dimension values collection.
|
Modifier and Type | Method and Description |
---|---|
static LinkedHashSet<Map<String,Object>> |
DimensionsServlet.getDimensionListSummaryView(Iterable<Dimension> dimensions,
javax.ws.rs.core.UriInfo uriInfo)
Get the summary list view of the dimensions.
|
Constructor and Description |
---|
ApiFilters(Map<Dimension,Set<ApiFilter>> filters)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
LinkedHashMap<Dimension,LinkedHashSet<DimensionField>> |
ResponseContext.getDimensionToDimensionFieldMap() |
Constructor and Description |
---|
ResponseContext(LinkedHashMap<Dimension,LinkedHashSet<DimensionField>> dimensionToDimensionFieldMap)
Build a ResponseContext using dimensionToDimensionFieldMap.
|
Modifier and Type | Method and Description |
---|---|
protected ApiFilters |
RoleDimensionApiFilterRequestMapper.mergeSecurityFilters(Map<Dimension,Set<ApiFilter>> requestFilters,
Set<ApiFilter> securityFilters)
Merge the request filters with the dimension filters for this request.
|
Constructor and Description |
---|
RoleDimensionApiFilterRequestMapper(ResourceDictionaries resourceDictionaries,
Dimension dimension,
Map<String,Set<ApiFilter>> roleApiFilters,
RequestMapper<DataApiRequest> next)
Constructor.
|
Copyright © 2016–2018 Yahoo! Inc.. All rights reserved.