Class CustomInputMarshaller<I extends org.gridgain.ml.model.MlJobParameters>
java.lang.Object
org.apache.ignite.example.ml.custom.CustomInputMarshaller<I>
- All Implemented Interfaces:
Serializable,org.apache.ignite.marshalling.ByteArrayMarshaller<I>,org.apache.ignite.marshalling.Marshaller<I,byte[]>
public class CustomInputMarshaller<I extends org.gridgain.ml.model.MlJobParameters>
extends Object
implements org.apache.ignite.marshalling.ByteArrayMarshaller<I>, Serializable
A standard Marshaller for all input types for ML.
TODO Replace Java serialization marshaller for cross-language ML API compatibility
https://ggsystems.atlassian.net/browse/GG-44540
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
CustomInputMarshaller
public CustomInputMarshaller()
-
-
Method Details
-
marshal
- Specified by:
marshalin interfaceorg.apache.ignite.marshalling.ByteArrayMarshaller<I extends org.gridgain.ml.model.MlJobParameters>- Specified by:
marshalin interfaceorg.apache.ignite.marshalling.Marshaller<I extends org.gridgain.ml.model.MlJobParameters,byte[]> - Throws:
org.apache.ignite.marshalling.MarshallingException
-
unmarshal
- Specified by:
unmarshalin interfaceorg.apache.ignite.marshalling.ByteArrayMarshaller<I extends org.gridgain.ml.model.MlJobParameters>- Specified by:
unmarshalin interfaceorg.apache.ignite.marshalling.Marshaller<I extends org.gridgain.ml.model.MlJobParameters,byte[]> - Throws:
org.apache.ignite.marshalling.UnmarshallingException
-