Package org.opensearch.ml.common.dataset
Class DataFrameInputDataset
java.lang.Object
org.opensearch.ml.common.dataset.MLInputDataset
org.opensearch.ml.common.dataset.DataFrameInputDataset
- All Implemented Interfaces:
org.opensearch.core.common.io.stream.Writeable
DataFrame based input data. Client directly passes the data frame to ML plugin with this.
-
Nested Class Summary
Nested ClassesNested 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
ConstructorsConstructorDescriptionDataFrameInputDataset(org.opensearch.core.common.io.stream.StreamInput in) DataFrameInputDataset(@NonNull DataFrame dataFrame) -
Method Summary
Methods inherited from class org.opensearch.ml.common.dataset.MLInputDataset
fromStream, getInputDataType
-
Constructor Details
-
DataFrameInputDataset
-
DataFrameInputDataset
public DataFrameInputDataset(org.opensearch.core.common.io.stream.StreamInput in) throws IOException - Throws:
IOException
-
-
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- Overrides:
writeToin classMLInputDataset- Throws:
IOException
-
builder
-
getDataFrame
-