Interface OutputKineticStream

  • All Superinterfaces:
    AutoCloseable
    All Known Implementing Classes:
    ByteOutputKineticStream, CsvOutputKineticStream

    public interface OutputKineticStream
    extends AutoCloseable

    Interface which needs to be implemented to support serialization of new types of kinetic streams.

    All of its methods write values of certain data types into stream which later can be read back by InputKineticStream.

    • Method Detail

      • writeString

        void writeString​(String str)
                  throws Exception
        Throws:
        Exception
      • writeInt

        void writeInt​(Integer i)
               throws Exception
        Throws:
        Exception
      • writeDouble

        void writeDouble​(Double f)
                  throws Exception
        Throws:
        Exception
      • writeFloat

        void writeFloat​(Float f)
                 throws Exception
        Throws:
        Exception
      • writeBoolean

        void writeBoolean​(Boolean fieldValue)
                   throws Exception
        Throws:
        Exception
      • writeByte

        void writeByte​(Byte fieldValue)
                throws Exception
        Throws:
        Exception
      • writeArray

        void writeArray​(Object[] array)
                 throws Exception
        Throws:
        Exception
      • writeIntArray

        void writeIntArray​(int[] array)
                    throws Exception
        Throws:
        Exception
      • writeByteArray

        void writeByteArray​(byte[] array)
                     throws Exception
        Throws:
        Exception
      • writeDoubleArray

        void writeDoubleArray​(double[] array)
                       throws Exception
        Throws:
        Exception
      • writeBooleanArray

        void writeBooleanArray​(boolean[] array)
                        throws Exception
        Throws:
        Exception