Class WayangValue<T>
- java.lang.Object
-
- org.apache.wayang.flink.compiler.criterion.WayangValue<T>
-
- All Implemented Interfaces:
java.io.Serializable
,org.apache.flink.core.io.IOReadableWritable
,org.apache.flink.types.Value
public class WayangValue<T> extends java.lang.Object implements org.apache.flink.types.Value
Implementation ofValue
of flink for use in Wayang- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description WayangValue()
WayangValue(T element)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
convertToByte()
T
convertToObject(byte[] array)
T
get()
void
read(org.apache.flink.core.memory.DataInputView dataInputView)
java.lang.String
toString()
void
write(org.apache.flink.core.memory.DataOutputView dataOutputView)
-
-
-
Constructor Detail
-
WayangValue
public WayangValue()
-
WayangValue
public WayangValue(T element)
-
-
Method Detail
-
write
public void write(org.apache.flink.core.memory.DataOutputView dataOutputView) throws java.io.IOException
- Specified by:
write
in interfaceorg.apache.flink.core.io.IOReadableWritable
- Throws:
java.io.IOException
-
read
public void read(org.apache.flink.core.memory.DataInputView dataInputView) throws java.io.IOException
- Specified by:
read
in interfaceorg.apache.flink.core.io.IOReadableWritable
- Throws:
java.io.IOException
-
convertToByte
public byte[] convertToByte()
-
convertToObject
public T convertToObject(byte[] array)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
get
public T get()
-
-