Package com.gpudb.protocol
Class AggregateKMeansRequest.Options
- java.lang.Object
-
- com.gpudb.protocol.AggregateKMeansRequest.Options
-
- Enclosing class:
- AggregateKMeansRequest
public static final class AggregateKMeansRequest.Options extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static StringCREATE_TEMP_TABLEIfTRUE, a unique temporary table name will be generated in the sys_temp schema and used in place ofRESULT_TABLE.static StringFALSEstatic StringMAX_ITERSNumber of times to try to hit the tolerance limit before giving up - default is 10.static StringNUM_TRIESNumber of times to run the k-means algorithm with a different randomly selected starting points - helps avoid local minimum.static StringRESULT_TABLEThe name of a table used to store the results, in [schema_name.]table_name format, using standard name resolution rules and meeting table naming criteria.static StringRESULT_TABLE_PERSISTIfTRUE, then the result table specified inRESULT_TABLEwill be persisted and will not expire unless aTTLis specified.static StringTRUEstatic StringTTLSets the TTL of the table specified inRESULT_TABLE.static StringWHITENWhen set to 1 each of the columns is first normalized by its stdv - default is not to whiten.
-
-
-
Field Detail
-
WHITEN
public static final String WHITEN
When set to 1 each of the columns is first normalized by its stdv - default is not to whiten.- See Also:
- Constant Field Values
-
MAX_ITERS
public static final String MAX_ITERS
Number of times to try to hit the tolerance limit before giving up - default is 10.- See Also:
- Constant Field Values
-
NUM_TRIES
public static final String NUM_TRIES
Number of times to run the k-means algorithm with a different randomly selected starting points - helps avoid local minimum. Default is 1.- See Also:
- Constant Field Values
-
CREATE_TEMP_TABLE
public static final String CREATE_TEMP_TABLE
IfTRUE, a unique temporary table name will be generated in the sys_temp schema and used in place ofRESULT_TABLE. IfRESULT_TABLE_PERSISTisFALSE(or unspecified), then this is always allowed even if the caller does not have permission to create tables. The generated name is returned inQUALIFIED_RESULT_TABLE_NAME. Supported values: The default value isFALSE.- See Also:
- Constant Field Values
-
TRUE
public static final String TRUE
- See Also:
- Constant Field Values
-
FALSE
public static final String FALSE
- See Also:
- Constant Field Values
-
RESULT_TABLE
public static final String RESULT_TABLE
The name of a table used to store the results, in [schema_name.]table_name format, using standard name resolution rules and meeting table naming criteria. If this option is specified, the results are not returned in the response.- See Also:
- Constant Field Values
-
RESULT_TABLE_PERSIST
public static final String RESULT_TABLE_PERSIST
IfTRUE, then the result table specified inRESULT_TABLEwill be persisted and will not expire unless aTTLis specified. IfFALSE, then the result table will be an in-memory table and will expire unless aTTLis specified otherwise. Supported values: The default value isFALSE.- See Also:
- Constant Field Values
-
TTL
public static final String TTL
Sets the TTL of the table specified inRESULT_TABLE.- See Also:
- Constant Field Values
-
-