Class BeamEncoderFactory<T>

    • Constructor Detail

      • BeamEncoderFactory

        public BeamEncoderFactory​(org.apache.beam.sdk.coders.Coder<T> beamCoder)
        Constructor of BeamEncoderFactory.
        Parameters:
        beamCoder - actual Beam coder to use.
    • Method Detail

      • create

        public EncoderFactory.Encoder<T> create​(java.io.OutputStream outputStream)
        Description copied from interface: EncoderFactory
        Get an encoder instance.
        Specified by:
        create in interface EncoderFactory<T>
        Parameters:
        outputStream - the stream on which encoded bytes are written
        Returns:
        the encoder instance.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object