- java.lang.Object
-
- com.pervasive.datarush.analytics.cluster.Cluster.Builder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Cluster
build()
Builds aCluster
instance based on the previously set values.Cluster.Builder
id(String id)
Returns a builder that buildsCluster
instances with the provided cluster id and other parameters set to the previously provided values.Cluster.Builder
name(String name)
Returns a builder that buildsCluster
instances with the provided cluster name and other parameters set to the previously provided values.Cluster.Builder
numArray(double[] numArray)
Returns a builder that buildsCluster
instances with the provided cluster seeds and other parameters set to the previously provided values.Cluster.Builder
size(long size)
Returns a builder that buildsCluster
instances with the provided cluster size and other parameters set to the previously provided values.
-
-
-
Method Detail
-
numArray
public Cluster.Builder numArray(double[] numArray)
Returns a builder that buildsCluster
instances with the provided cluster seeds and other parameters set to the previously provided values.- Parameters:
numArray
- the cluster seeds- Returns:
Cluster.Builder
-
id
public Cluster.Builder id(String id)
Returns a builder that buildsCluster
instances with the provided cluster id and other parameters set to the previously provided values.- Parameters:
name
- the cluster id- Returns:
Cluster.Builder
-
name
public Cluster.Builder name(String name)
Returns a builder that buildsCluster
instances with the provided cluster name and other parameters set to the previously provided values.- Parameters:
name
- the cluster name- Returns:
Cluster.Builder
-
size
public Cluster.Builder size(long size)
Returns a builder that buildsCluster
instances with the provided cluster size and other parameters set to the previously provided values.- Parameters:
size
- the cluster size- Returns:
Cluster.Builder
-
-