Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultDimensionField
DimensionField enum.
|
Modifier and Type | Method and Description |
---|---|
LinkedHashSet<DimensionField> |
DefaultKeyValueStoreDimensionConfig.getDefaultDimensionFields() |
LinkedHashSet<DimensionField> |
DimensionConfig.getDefaultDimensionFields()
The default set of fields for this dimension to be shown in the response.
|
LinkedHashSet<DimensionField> |
DefaultKeyValueStoreDimensionConfig.getFields() |
LinkedHashSet<DimensionField> |
DimensionConfig.getFields()
The set of fields for this dimension.
|
Constructor and Description |
---|
DefaultKeyValueStoreDimensionConfig(DimensionName apiName,
String physicalName,
String description,
String longName,
String category,
LinkedHashSet<DimensionField> fields,
KeyValueStore keyValueStore,
SearchProvider searchProvider)
Construct a DefaultKeyValueStoreDimensionConfig instance from dimension name and
only using default dimension fields.
|
DefaultKeyValueStoreDimensionConfig(DimensionName apiName,
String physicalName,
String description,
String longName,
String category,
LinkedHashSet<DimensionField> fields,
LinkedHashSet<DimensionField> defaultDimensionFields,
KeyValueStore keyValueStore,
SearchProvider searchProvider)
Construct a DefaultKeyValueStoreDimensionConfig instance from dimension name, dimension fields and
default dimension fields.
|
DefaultKeyValueStoreDimensionConfig(DimensionName apiName,
String physicalName,
String description,
String longName,
String category,
LinkedHashSet<DimensionField> fields,
LinkedHashSet<DimensionField> defaultDimensionFields,
KeyValueStore keyValueStore,
SearchProvider searchProvider)
Construct a DefaultKeyValueStoreDimensionConfig instance from dimension name, dimension fields and
default dimension fields.
|
DefaultLookupDimensionConfig(DimensionName apiName,
String physicalName,
String description,
String longName,
String category,
LinkedHashSet<DimensionField> fields,
KeyValueStore keyValueStore,
SearchProvider searchProvider,
List<String> namespaces)
Construct a LookupDefaultDimensionConfig instance from dimension name and only using default dimension fields.
|
DefaultLookupDimensionConfig(DimensionName apiName,
String physicalName,
String description,
String longName,
String category,
LinkedHashSet<DimensionField> fields,
LinkedHashSet<DimensionField> defaultDimensionFields,
KeyValueStore keyValueStore,
SearchProvider searchProvider,
List<String> namespaces)
Construct a LookupDefaultDimensionConfig instance from dimension name, dimension fields and
default dimension fields.
|
DefaultLookupDimensionConfig(DimensionName apiName,
String physicalName,
String description,
String longName,
String category,
LinkedHashSet<DimensionField> fields,
LinkedHashSet<DimensionField> defaultDimensionFields,
KeyValueStore keyValueStore,
SearchProvider searchProvider,
List<String> namespaces)
Construct a LookupDefaultDimensionConfig instance from dimension name, dimension fields and
default dimension fields.
|
DefaultRegisteredLookupDimensionConfig(DimensionName apiName,
String physicalName,
String description,
String longName,
String category,
LinkedHashSet<DimensionField> fields,
KeyValueStore keyValueStore,
SearchProvider searchProvider,
List<String> lookups)
Construct a RegisteredLookupDefaultDimensionConfig instance from Dimension Name ,
and only using default dimension fields.
|
DefaultRegisteredLookupDimensionConfig(DimensionName apiName,
String physicalName,
String description,
String longName,
String category,
LinkedHashSet<DimensionField> fields,
LinkedHashSet<DimensionField> defaultDimensionFields,
KeyValueStore keyValueStore,
SearchProvider searchProvider,
List<String> lookups)
Construct a RegisteredLookupDefaultDimensionConfig instance from dimension name , dimension fields and
default dimension fields.
|
DefaultRegisteredLookupDimensionConfig(DimensionName apiName,
String physicalName,
String description,
String longName,
String category,
LinkedHashSet<DimensionField> fields,
LinkedHashSet<DimensionField> defaultDimensionFields,
KeyValueStore keyValueStore,
SearchProvider searchProvider,
List<String> lookups)
Construct a RegisteredLookupDefaultDimensionConfig instance from dimension name , dimension fields and
default dimension fields.
|
Modifier and Type | Interface and Description |
---|---|
interface |
TaggedDimensionField
Interface for Dimension fields that expects unique tags to be attached to it to add expressiveness.
|
Modifier and Type | Method and Description |
---|---|
DimensionField |
Dimension.getFieldByName(String name)
Find dimension field by name.
|
DimensionField |
Dimension.getKey()
Get primary key field for this dimension.
|
Modifier and Type | Method and Description |
---|---|
LinkedHashSet<DimensionField> |
Dimension.getDefaultDimensionFields()
Getter for default dimension fields.
|
LinkedHashSet<DimensionField> |
Dimension.getDimensionFields()
Getter for dimension fields.
|
Modifier and Type | Method and Description |
---|---|
String |
DimensionFieldNameMapper.convert(Dimension dimension,
DimensionField dimensionField)
A converter function for the dimension field Mapping.
|
Constructor and Description |
---|
DimensionRow(DimensionField key,
Map<DimensionField,String> fieldValueMap)
Build a dimension row with a key field value and a map of field values.
|
Constructor and Description |
---|
DimensionRow(DimensionField key,
Map<DimensionField,String> fieldValueMap)
Build a dimension row with a key field value and a map of field values.
|
Modifier and Type | Method and Description |
---|---|
DimensionField |
KeyValueStoreDimension.getFieldByName(String name) |
DimensionField |
KeyValueStoreDimension.getKey() |
Modifier and Type | Method and Description |
---|---|
LinkedHashSet<DimensionField> |
KeyValueStoreDimension.getDefaultDimensionFields() |
LinkedHashSet<DimensionField> |
KeyValueStoreDimension.getDimensionFields() |
Constructor and Description |
---|
KeyValueStoreDimension(String dimensionName,
String description,
LinkedHashSet<DimensionField> dimensionFields,
KeyValueStore keyValueStore,
SearchProvider searchProvider)
Constructor.
|
KeyValueStoreDimension(String dimensionName,
String description,
LinkedHashSet<DimensionField> dimensionFields,
KeyValueStore keyValueStore,
SearchProvider searchProvider,
boolean isAggregatable)
Constructor.
|
KeyValueStoreDimension(String dimensionName,
String description,
LinkedHashSet<DimensionField> dimensionFields,
KeyValueStore keyValueStore,
SearchProvider searchProvider,
Set<DimensionRow> dimensionRows)
Constructor.
|
KeyValueStoreDimension(String dimensionName,
String longName,
String category,
String description,
LinkedHashSet<DimensionField> dimensionFields,
KeyValueStore keyValueStore,
SearchProvider searchProvider,
LinkedHashSet<DimensionField> defaultDimensionFields,
boolean isAggregatable)
Constructor.
|
KeyValueStoreDimension(String dimensionName,
String longName,
String category,
String description,
LinkedHashSet<DimensionField> dimensionFields,
KeyValueStore keyValueStore,
SearchProvider searchProvider,
LinkedHashSet<DimensionField> defaultDimensionFields,
boolean isAggregatable)
Constructor.
|
KeyValueStoreDimension(String dimensionName,
String longName,
String category,
String description,
LinkedHashSet<DimensionField> dimensionFields,
KeyValueStore keyValueStore,
SearchProvider searchProvider,
LinkedHashSet<DimensionField> defaultDimensionFields,
boolean isAggregatable,
StorageStrategy storageStrategy)
Constructor.
|
KeyValueStoreDimension(String dimensionName,
String longName,
String category,
String description,
LinkedHashSet<DimensionField> dimensionFields,
KeyValueStore keyValueStore,
SearchProvider searchProvider,
LinkedHashSet<DimensionField> defaultDimensionFields,
boolean isAggregatable,
StorageStrategy storageStrategy)
Constructor.
|
KeyValueStoreDimension(String dimensionName,
String longName,
String category,
String description,
LinkedHashSet<DimensionField> dimensionFields,
KeyValueStore keyValueStore,
SearchProvider searchProvider,
Set<DimensionRow> dimensionRows)
Constructor.
|
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 |
---|---|
DimensionField |
ApiFilter.getDimensionField() |
Modifier and Type | Method and Description |
---|---|
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.withDimensionField(DimensionField dimensionField) |
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.
|
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 |
---|---|
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.
|
LinkedHashMap<Dimension,LinkedHashSet<DimensionField>> |
DataApiRequest.getDimensionFields()
A map of dimension fields specified for the output schema.
|
LinkedHashMap<Dimension,LinkedHashSet<DimensionField>> |
DataApiRequestImpl.getDimensionFields() |
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
static Map<String,String> |
DimensionsServlet.getDimensionFieldSummaryView(DimensionField dimensionField)
Deprecated.
should be private, now the internal usage need is gone, will deprecate in case someone is using it
|
Modifier and Type | Method and Description |
---|---|
static Set<Map<String,String>> |
DimensionsServlet.getDimensionFieldListSummaryView(Collection<DimensionField> dimensionFields)
Deprecated.
should be private, now the internal usage need is gone, will deprecate in case someone is using it
|
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 | Class and Description |
---|---|
class |
WikiDimensionField
DimensionField enum.
|
Copyright © 2016–2018 Yahoo! Inc.. All rights reserved.