Package org.apache.nemo.common.coder
Class EncoderFactory.DummyEncoderFactory
- java.lang.Object
-
- org.apache.nemo.common.coder.EncoderFactory.DummyEncoderFactory
-
- All Implemented Interfaces:
java.io.Serializable
,EncoderFactory
- Enclosing interface:
- EncoderFactory<T>
public static final class EncoderFactory.DummyEncoderFactory extends java.lang.Object implements EncoderFactory
Dummy encoder factory implementation which is not supposed to be used.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.nemo.common.coder.EncoderFactory
EncoderFactory.DummyEncoderFactory, EncoderFactory.Encoder<T>
-
-
Field Summary
-
Fields inherited from interface org.apache.nemo.common.coder.EncoderFactory
DUMMY_ENCODER_FACTORY
-
-
Constructor Summary
Constructors Constructor Description DummyEncoderFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EncoderFactory.Encoder
create(java.io.OutputStream outputStream)
Get an encoder instance.java.lang.String
toString()
-
-
-
Method Detail
-
create
public EncoderFactory.Encoder create(java.io.OutputStream outputStream)
Description copied from interface:EncoderFactory
Get an encoder instance.- Specified by:
create
in interfaceEncoderFactory
- Parameters:
outputStream
- the stream on which encoded bytes are written- Returns:
- the encoder instance.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-