public static class FacetedSearchAggregation.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
FacetedSearchAggregation.Builder |
aggregation(Map<String,Long> aggregation)
Count of number of data objects having property.
|
FacetedSearchAggregation |
build() |
FacetedSearchAggregation.Builder |
copy(FacetedSearchAggregation model) |
FacetedSearchAggregation.Builder |
dataType(String dataType)
Data type of object property.
|
FacetedSearchAggregation.Builder |
propertyType(FacetedSearchAggregation.PropertyType propertyType)
Type of property that indicates if it was defined by the user or system.
|
FacetedSearchAggregation.Builder |
type(String type)
Name of data object property
|
public FacetedSearchAggregation.Builder type(String type)
Name of data object property
type
- the value to setpublic FacetedSearchAggregation.Builder aggregation(Map<String,Long> aggregation)
Count of number of data objects having property.
aggregation
- the value to setpublic FacetedSearchAggregation.Builder dataType(String dataType)
Data type of object property.
dataType
- the value to setpublic FacetedSearchAggregation.Builder propertyType(FacetedSearchAggregation.PropertyType propertyType)
Type of property that indicates if it was defined by the user or system. CUSTOM_PROPERTY is defined by the user on a data object. DEFAULT_PROPERTY is defined by the system on a data object.
propertyType
- the value to setpublic FacetedSearchAggregation build()
public FacetedSearchAggregation.Builder copy(FacetedSearchAggregation model)
Copyright © 2016–2024. All rights reserved.