Class RCFSummarizeParams
java.lang.Object
org.opensearch.ml.common.input.parameter.clustering.RCFSummarizeParams
- All Implemented Interfaces:
org.opensearch.core.common.io.stream.NamedWriteable,org.opensearch.core.common.io.stream.Writeable,org.opensearch.core.xcontent.ToXContent,org.opensearch.core.xcontent.ToXContentObject,MLAlgoParams
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic classNested classes/interfaces inherited from interface org.opensearch.core.xcontent.ToXContent
org.opensearch.core.xcontent.ToXContent.DelegatingMapParams, org.opensearch.core.xcontent.ToXContent.MapParams, org.opensearch.core.xcontent.ToXContent.ParamsNested classes/interfaces inherited from interface org.opensearch.core.common.io.stream.Writeable
org.opensearch.core.common.io.stream.Writeable.Reader<V>, org.opensearch.core.common.io.stream.Writeable.WriteableRegistry, org.opensearch.core.common.io.stream.Writeable.Writer<V> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final org.opensearch.core.xcontent.NamedXContentRegistry.EntryFields inherited from interface org.opensearch.core.xcontent.ToXContent
EMPTY_PARAMS -
Constructor Summary
ConstructorsConstructorDescriptionRCFSummarizeParams(Integer maxK, Integer initialK, RCFSummarizeParams.DistanceType distanceType, Boolean phase1Reassign, Boolean parallel) RCFSummarizeParams(org.opensearch.core.common.io.stream.StreamInput in) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleangetMaxK()intinthashCode()static MLAlgoParamsparse(org.opensearch.core.xcontent.XContentParser parser) voidsetDistanceType(RCFSummarizeParams.DistanceType distanceType) voidsetInitialK(Integer initialK) voidvoidsetParallel(Boolean parallel) voidsetPhase1Reassign(Boolean phase1Reassign) toString()org.opensearch.core.xcontent.XContentBuildertoXContent(org.opensearch.core.xcontent.XContentBuilder builder, org.opensearch.core.xcontent.ToXContent.Params params) voidwriteTo(org.opensearch.core.common.io.stream.StreamOutput out) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.opensearch.core.xcontent.ToXContentObject
isFragment
-
Field Details
-
PARSE_FIELD_NAME
-
XCONTENT_REGISTRY
public static final org.opensearch.core.xcontent.NamedXContentRegistry.Entry XCONTENT_REGISTRY -
MAX_K_FIELD
- See Also:
-
INITIAL_K_FIELD
- See Also:
-
DISTANCE_TYPE_FIELD
- See Also:
-
PHASE1_REASSIGN_FIELD
- See Also:
-
PARALLEL__FIELD
- See Also:
-
-
Constructor Details
-
RCFSummarizeParams
public RCFSummarizeParams(Integer maxK, Integer initialK, RCFSummarizeParams.DistanceType distanceType, Boolean phase1Reassign, Boolean parallel) -
RCFSummarizeParams
- Throws:
IOException
-
-
Method Details
-
parse
public static MLAlgoParams parse(org.opensearch.core.xcontent.XContentParser parser) throws IOException - Throws:
IOException
-
getWriteableName
- Specified by:
getWriteableNamein interfaceorg.opensearch.core.common.io.stream.NamedWriteable
-
writeTo
- Specified by:
writeToin interfaceorg.opensearch.core.common.io.stream.Writeable- Throws:
IOException
-
toXContent
public org.opensearch.core.xcontent.XContentBuilder toXContent(org.opensearch.core.xcontent.XContentBuilder builder, org.opensearch.core.xcontent.ToXContent.Params params) throws IOException - Specified by:
toXContentin interfaceorg.opensearch.core.xcontent.ToXContent- Throws:
IOException
-
getVersion
public int getVersion()- Specified by:
getVersionin interfaceMLAlgoParams
-
builder
-
toBuilder
-
getMaxK
-
getInitialK
-
getDistanceType
-
getPhase1Reassign
-
getParallel
-
setMaxK
-
setInitialK
-
setDistanceType
-
setPhase1Reassign
-
setParallel
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-