-
- 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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
writeArray(Object[] array)
void
writeBoolean(Boolean fieldValue)
void
writeBooleanArray(boolean[] array)
void
writeByte(Byte fieldValue)
void
writeByteArray(byte[] array)
void
writeDouble(Double f)
void
writeDoubleArray(double[] array)
void
writeFloat(Float f)
void
writeInt(Integer i)
void
writeIntArray(int[] array)
void
writeString(String str)
-
-
-
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
-
-