java.lang.Object
com.pervasive.datarush.analytics.cluster.Cluster.Builder
- Enclosing class:
- Cluster
Builder for
Cluster instances.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aClusterinstance based on the previously set values.Returns a builder that buildsClusterinstances with the provided cluster id and other parameters set to the previously provided values.Returns a builder that buildsClusterinstances with the provided cluster name and other parameters set to the previously provided values.numArray(double[] numArray) Returns a builder that buildsClusterinstances with the provided cluster seeds and other parameters set to the previously provided values.size(long size) Returns a builder that buildsClusterinstances with the provided cluster size and other parameters set to the previously provided values.
-
Method Details
-
numArray
Returns a builder that buildsClusterinstances with the provided cluster seeds and other parameters set to the previously provided values.- Parameters:
numArray- the cluster seeds- Returns:
Cluster.Builder
-
id
Returns a builder that buildsClusterinstances with the provided cluster id and other parameters set to the previously provided values.- Parameters:
name- the cluster id- Returns:
Cluster.Builder
-
name
Returns a builder that buildsClusterinstances with the provided cluster name and other parameters set to the previously provided values.- Parameters:
name- the cluster name- Returns:
Cluster.Builder
-
size
Returns a builder that buildsClusterinstances with the provided cluster size and other parameters set to the previously provided values.- Parameters:
size- the cluster size- Returns:
Cluster.Builder
-
build
Builds aClusterinstance based on the previously set values.- Returns:
Cluster
-