Package org.opensearch.ml.common.dataset
Class TextSimilarityInputDataSet
java.lang.Object
org.opensearch.ml.common.dataset.MLInputDataset
org.opensearch.ml.common.dataset.TextSimilarityInputDataSet
- All Implemented Interfaces:
org.opensearch.core.common.io.stream.Writeable
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classNested 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> -
Constructor Summary
ConstructorsConstructorDescriptionTextSimilarityInputDataSet(String queryText, List<String> textDocs) TextSimilarityInputDataSet(org.opensearch.core.common.io.stream.StreamInput in) -
Method Summary
Methods inherited from class org.opensearch.ml.common.dataset.MLInputDataset
fromStream, getInputDataType
-
Constructor Details
-
TextSimilarityInputDataSet
-
TextSimilarityInputDataSet
public TextSimilarityInputDataSet(org.opensearch.core.common.io.stream.StreamInput in) throws IOException - Throws:
IOException
-
-
Method Details
-
writeTo
- Specified by:
writeToin interfaceorg.opensearch.core.common.io.stream.Writeable- Overrides:
writeToin classMLInputDataset- Throws:
IOException
-
builder
-
toBuilder
-
getTextDocs
-
getQueryText
-