@Path(value="/v1") public static final class DataQualityService.ValuesLookup extends AbstractHttpServiceHandler
| Constructor and Description |
|---|
DataQualityService.ValuesLookup(String datasetName) |
| Modifier and Type | Method and Description |
|---|---|
void |
aggregationTypesGetter(HttpServiceRequest request,
HttpServiceResponder responder,
String fieldName,
String sourceID,
long startTimestamp,
long endTimestamp)
Gets the aggregation functions that are queryable for a given time range, sourceID, and field name
|
void |
basicAggregationGetter(HttpServiceRequest request,
HttpServiceResponder responder,
String fieldName,
String aggregationType,
String sourceID,
long startTimestamp,
long endTimestamp)
Gets the corresponding aggregation for a given aggregation type, field name, sourceID, and time interval
|
void |
combinableAggregationGetter(HttpServiceRequest request,
HttpServiceResponder responder,
String fieldName,
String aggregationType,
String sourceID,
long startTimestamp,
long endTimestamp)
Gets the corresponding aggregation for a given aggregation type, field name, sourceID, and time interval
|
protected void |
configure() |
void |
fieldsGetter(HttpServiceRequest request,
HttpServiceResponder responder,
String sourceID,
long startTimestamp,
long endTimestamp)
Gets the fields that are queryable for a given time range and sourceID
for combinable aggregation functions
|
void |
initialize(HttpServiceContext context) |
configure, destroy, getConfigurer, getContext, setProperties, useDatasets, useDatasetsusePlugin, usePlugin, usePluginClass, usePluginClassaddDatasetModule, addDatasetType, addStream, addStream, createDataset, createDataset, createDataset, createDatasetpublic DataQualityService.ValuesLookup(String datasetName)
protected void configure()
configure in class AbstractHttpServiceHandlerpublic void initialize(HttpServiceContext context) throws Exception
initialize in interface HttpServiceHandlerinitialize in class AbstractHttpServiceHandlerException@Path(value="sources/{sourceID}/fields") @GET public void fieldsGetter(HttpServiceRequest request, HttpServiceResponder responder, @PathParam(value="sourceID") String sourceID, @QueryParam(value="startTimestamp")@DefaultValue(value="0") long startTimestamp, @QueryParam(value="endTimestamp")@DefaultValue(value="9223372036854775807") long endTimestamp) throws IOException
IOException@Path(value="sources/{sourceID}/fields/{fieldName}") @GET public void aggregationTypesGetter(HttpServiceRequest request, HttpServiceResponder responder, @PathParam(value="fieldName") String fieldName, @PathParam(value="sourceID") String sourceID, @QueryParam(value="startTimestamp")@DefaultValue(value="0") long startTimestamp, @QueryParam(value="endTimestamp")@DefaultValue(value="9223372036854775807") long endTimestamp) throws IOException
IOException@Path(value="sources/{sourceID}/fields/{fieldName}/aggregations/{aggregationType}/totals") @GET public void combinableAggregationGetter(HttpServiceRequest request, HttpServiceResponder responder, @PathParam(value="fieldName") String fieldName, @PathParam(value="aggregationType") String aggregationType, @PathParam(value="sourceID") String sourceID, @QueryParam(value="startTimestamp")@DefaultValue(value="0") long startTimestamp, @QueryParam(value="endTimestamp")@DefaultValue(value="9223372036854775807") long endTimestamp) throws IOException
IOException@Path(value="sources/{sourceID}/fields/{fieldName}/aggregations/{aggregationType}/timeseries") @GET public void basicAggregationGetter(HttpServiceRequest request, HttpServiceResponder responder, @PathParam(value="fieldName") String fieldName, @PathParam(value="aggregationType") String aggregationType, @PathParam(value="sourceID") String sourceID, @QueryParam(value="startTimestamp")@DefaultValue(value="0") long startTimestamp, @QueryParam(value="endTimestamp")@DefaultValue(value="9223372036854775807") long endTimestamp) throws IOException
IOExceptionCopyright © 2015 Cask Data, Inc. Licensed under the Apache License, Version 2.0.