Package org.apache.nemo.common.coder
Class LongDecoderFactory
- java.lang.Object
-
- org.apache.nemo.common.coder.LongDecoderFactory
-
- All Implemented Interfaces:
java.io.Serializable
,DecoderFactory<java.lang.Long>
public final class LongDecoderFactory extends java.lang.Object implements DecoderFactory<java.lang.Long>
ADecoderFactory
which is used for long.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.nemo.common.coder.DecoderFactory
DecoderFactory.Decoder<T>, DecoderFactory.DummyDecoderFactory
-
-
Field Summary
-
Fields inherited from interface org.apache.nemo.common.coder.DecoderFactory
DUMMY_DECODER_FACTORY
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DecoderFactory.Decoder<java.lang.Long>
create(java.io.InputStream inputStream)
Get a decoder instance.static LongDecoderFactory
of()
Static initializer of the coder.java.lang.String
toString()
-
-
-
Method Detail
-
of
public static LongDecoderFactory of()
Static initializer of the coder.- Returns:
- the initializer.
-
create
public DecoderFactory.Decoder<java.lang.Long> create(java.io.InputStream inputStream)
Description copied from interface:DecoderFactory
Get a decoder instance.- Specified by:
create
in interfaceDecoderFactory<java.lang.Long>
- Parameters:
inputStream
- the input stream to decode.- Returns:
- the decoder instance.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-