Package org.opensearch.ml.common.dataset
Class MLInputDataset
java.lang.Object
org.opensearch.ml.common.dataset.MLInputDataset
- All Implemented Interfaces:
org.opensearch.core.common.io.stream.Writeable
- Direct Known Subclasses:
DataFrameInputDataset,QuestionAnsweringInputDataSet,RemoteInferenceInputDataSet,SearchQueryInputDataset,TextDocsInputDataSet,TextSimilarityInputDataSet
public abstract class MLInputDataset
extends Object
implements org.opensearch.core.common.io.stream.Writeable
-
Nested Class Summary
Nested 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic MLInputDatasetfromStream(org.opensearch.core.common.io.stream.StreamInput in) voidwriteTo(org.opensearch.core.common.io.stream.StreamOutput streamOutput)
-
Constructor Details
-
MLInputDataset
-
-
Method Details
-
writeTo
public void writeTo(org.opensearch.core.common.io.stream.StreamOutput streamOutput) throws IOException - Specified by:
writeToin interfaceorg.opensearch.core.common.io.stream.Writeable- Throws:
IOException
-
fromStream
public static MLInputDataset fromStream(org.opensearch.core.common.io.stream.StreamInput in) throws IOException - Throws:
IOException
-
getInputDataType
-