public static class ClassifyCommandDescriptor.Builder extends Object
Constructor and Description |
---|
Builder() |
public ClassifyCommandDescriptor.Builder displayQueryString(String displayQueryString)
public ClassifyCommandDescriptor.Builder internalQueryString(String internalQueryString)
public ClassifyCommandDescriptor.Builder category(String category)
public ClassifyCommandDescriptor.Builder referencedFields(List<AbstractField> referencedFields)
public ClassifyCommandDescriptor.Builder declaredFields(List<AbstractField> declaredFields)
public ClassifyCommandDescriptor.Builder isHidden(Boolean isHidden)
public ClassifyCommandDescriptor.Builder topCount(Integer topCount)
Value specified in CLASSIFY command in queryString if set limits the results returned to top N.
topCount
- the value to setpublic ClassifyCommandDescriptor.Builder bottomCount(Integer bottomCount)
Value specified in CLASSIFY command in queryString if set limits the results returned to bottom N.
bottomCount
- the value to setpublic ClassifyCommandDescriptor.Builder correlate(List<FieldsAddRemoveField> correlate)
Fields specified in CLASSIFY command in queryString if set include / exclude fields in correlate results.
correlate
- the value to setpublic ClassifyCommandDescriptor build()
public ClassifyCommandDescriptor.Builder copy(ClassifyCommandDescriptor model)
Copyright © 2016–2024. All rights reserved.