public static class StatsCommandDescriptor.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
StatsCommandDescriptor |
build() |
StatsCommandDescriptor.Builder |
category(String category) |
StatsCommandDescriptor.Builder |
copy(StatsCommandDescriptor model) |
StatsCommandDescriptor.Builder |
declaredFields(List<AbstractField> declaredFields) |
StatsCommandDescriptor.Builder |
displayQueryString(String displayQueryString) |
StatsCommandDescriptor.Builder |
functions(List<FunctionField> functions)
Statistical functions specified in the query string.
|
StatsCommandDescriptor.Builder |
groupByFields(List<AbstractField> groupByFields)
Group by fields if specified in the query string.
|
StatsCommandDescriptor.Builder |
internalQueryString(String internalQueryString) |
StatsCommandDescriptor.Builder |
isHidden(Boolean isHidden) |
StatsCommandDescriptor.Builder |
referencedFields(List<AbstractField> referencedFields) |
public StatsCommandDescriptor.Builder displayQueryString(String displayQueryString)
public StatsCommandDescriptor.Builder internalQueryString(String internalQueryString)
public StatsCommandDescriptor.Builder category(String category)
public StatsCommandDescriptor.Builder referencedFields(List<AbstractField> referencedFields)
public StatsCommandDescriptor.Builder declaredFields(List<AbstractField> declaredFields)
public StatsCommandDescriptor.Builder isHidden(Boolean isHidden)
public StatsCommandDescriptor.Builder groupByFields(List<AbstractField> groupByFields)
Group by fields if specified in the query string.
groupByFields
- the value to setpublic StatsCommandDescriptor.Builder functions(List<FunctionField> functions)
Statistical functions specified in the query string. Atleast 1 is required for a STATS command.
functions
- the value to setpublic StatsCommandDescriptor build()
public StatsCommandDescriptor.Builder copy(StatsCommandDescriptor model)
Copyright © 2016–2024. All rights reserved.