public class QueryTagBuilder extends AbstractQueryBuilder<QueryTagBuilder>
endAbsolute, endRelative, mapper, startAbsolute, startRelative| Modifier and Type | Method and Description |
|---|---|
QueryTagMetric |
addMetric(String name)
The metric to query tag for.
|
protected com.google.gson.Gson |
buildGson()
Builds Gson used by this implementation
|
static QueryTagBuilder |
getInstance()
Returns a new query tag builder.
|
List<QueryTagMetric> |
getMetrics()
Returns the list metrics to query for tags.
|
build, equals, getEndAbsolute, getEndRelative, getStartAbsolute, getStartRelative, hashCode, setEnd, setEnd, setStart, setStartprotected com.google.gson.Gson buildGson()
AbstractQueryBuilderbuildGson in class AbstractQueryBuilder<QueryTagBuilder>public static QueryTagBuilder getInstance()
public QueryTagMetric addMetric(String name)
name - metric namepublic List<QueryTagMetric> getMetrics()
Copyright © 2018. All rights reserved.