Package | Description |
---|---|
com.yahoo.bard.webservice.application | |
com.yahoo.bard.webservice.web.apirequest | |
com.yahoo.bard.webservice.web.endpoints | |
com.yahoo.bard.webservice.web.util |
Modifier and Type | Method and Description |
---|---|
protected HavingGenerator |
AbstractBinderFactory.buildHavingGenerator(ConfigurationLoader loader)
Creates an object that generates map of Api Having from having string.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultHavingApiGenerator
Generates having objects based on the having query in the api request.
|
class |
PerRequestDictionaryHavingGenerator
A having generator decorator that uses the metrics from the query as the dictionary of metrics for building havings.
|
Modifier and Type | Method and Description |
---|---|
HavingGenerator |
DefaultHavingApiGenerator.withMetricDictionary(Map<String,LogicalMetric> metricDictionary)
Rebuild this having generator with a custom metric dictionary.
|
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(String tableName,
String granularity,
List<javax.ws.rs.core.PathSegment> dimensions,
String logicalMetrics,
String intervals,
String apiFilters,
String havings,
String sorts,
String count,
String topN,
String format,
String timeZoneId,
String asyncAfter,
String perPage,
String page,
javax.ws.rs.core.UriInfo uriInfo,
DimensionDictionary dimensionDictionary,
MetricDictionary metricDictionary,
LogicalTableDictionary logicalTableDictionary,
org.joda.time.DateTimeZone systemTimeZone,
GranularityParser granularityParser,
DruidFilterBuilder druidFilterBuilder,
HavingGenerator havingGenerator)
Parses the API request URL and generates the Api Request object.
|
Modifier and Type | Method and Description |
---|---|
HavingGenerator |
TablesServlet.getHavingApiGenerator()
Having Api generator isn't used in TablesServlet but is part of the configuration interface, so this is an empty
implementation.
|
HavingGenerator |
DataServlet.getHavingApiGenerator() |
Constructor and Description |
---|
DataServlet(ResourceDictionaries resourceDictionaries,
DruidQueryBuilder druidQueryBuilder,
TemplateDruidQueryMerger templateDruidQueryMerger,
DruidResponseParser druidResponseParser,
RequestWorkflowProvider workflowProvider,
RequestMapper requestMapper,
ObjectMappersSuite objectMappers,
DruidFilterBuilder filterBuilder,
HavingGenerator havingGenerator,
GranularityParser granularityParser,
JobPayloadBuilder jobPayloadBuilder,
JobRowBuilder jobRowBuilder,
AsynchronousWorkflowsBuilder asynchronousWorkflowsBuilder,
BroadcastChannel<String> preResponseStoredNotifications,
HttpResponseMaker httpResponseMaker,
ResponseFormatResolver formatResolver,
DataApiRequestFactory dataApiRequestFactory,
ResponseProcessorFactory responseProcessorFactory)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
HavingGenerator |
BardConfigResources.getHavingApiGenerator()
Having Api Generator.
|
Copyright © 2016–2018 Yahoo! Inc.. All rights reserved.