public static class ClusteringField.Builder extends Object
ClusteringField instances.| Modifier and Type | Method and Description |
|---|---|
ClusteringField |
build()
Verifies the previously set values and builds a
ClusteringField instance based on these values. |
ClusteringField.Builder |
fieldWeight(double fieldWeight)
Returns a builder that builds
ClusteringField
instances with the provided field weight and
other parameters set to the previously provided
values. |
ClusteringField.Builder |
isCenterField(boolean isCenterField)
Returns a builder that builds
ClusteringField
instances with the provided center field flag and
other parameters set to the previously provided
values. |
ClusteringField.Builder |
similarityScale(double similarityScale)
Returns a builder that builds
ClusteringField
instances with the provided similarity scale and
other parameters set to the previously provided
values. |
public ClusteringField.Builder isCenterField(boolean isCenterField)
ClusteringField
instances with the provided center field flag and
other parameters set to the previously provided
values.isCenterField - the center field flagClusteringField.Builderpublic ClusteringField.Builder fieldWeight(double fieldWeight)
ClusteringField
instances with the provided field weight and
other parameters set to the previously provided
values.fieldWeight - the weight of this field, must not be Double.NaN,
Double.POSITIVE_INFINITY or Double.NEGATIVE_INFINITYClusteringField.Builderpublic ClusteringField.Builder similarityScale(double similarityScale)
ClusteringField
instances with the provided similarity scale and
other parameters set to the previously provided
values.similarityScale - the similarity scale of this fieldClusteringField.Builderpublic ClusteringField build()
ClusteringField instance based on these values.ClusteringFieldCopyright © 2020 Actian Corporation. All rights reserved.