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.Builder
public 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_INFINITY
ClusteringField.Builder
public 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.Builder
public ClusteringField build()
ClusteringField
instance based on these values.ClusteringField
Copyright © 2016 Actian Corporation. All rights reserved.