Interface DataInputOutputSerde<E>
- All Known Subinterfaces:
DIOMultiKeyArraySerde<E>
- All Known Implementing Classes:
DIOArrayListBigDecimalNullableSerde
,DIOArrayListBigIntegerNullableSerde
,DIOArrayListBooleanNullableSerde
,DIOArrayListByteNullableSerde
,DIOArrayListCalendarNullableSerde
,DIOArrayListCharacterNullableSerde
,DIOArrayListDateNullableSerde
,DIOArrayListDoubleNullableSerde
,DIOArrayListFloatNullableSerde
,DIOArrayListIntegerNullableSerde
,DIOArrayListLongNullableSerde
,DIOArrayListShortNullableSerde
,DIOArrayListSqlDateNullableSerde
,DIOArrayListStringNullableSerde
,DIOBigDecimalArray2DimNullableSerde
,DIOBigDecimalArrayNullableSerde
,DIOBigDecimalSerde
,DIOBigIntegerArray2DimNullableSerde
,DIOBigIntegerArrayNullableSerde
,DIOBigIntegerSerde
,DIOBooleanSerde
,DIOBoxedBooleanArray2DimNullableSerde
,DIOBoxedBooleanArrayNullableSerde
,DIOBoxedByteArray2DimNullableSerde
,DIOBoxedByteArrayNullableSerde
,DIOBoxedCharacterArray2DimNullableSerde
,DIOBoxedCharacterArrayNullableSerde
,DIOBoxedDoubleArray2DimNullableSerde
,DIOBoxedDoubleArrayNullableSerde
,DIOBoxedFloatArray2DimNullableSerde
,DIOBoxedFloatArrayNullableSerde
,DIOBoxedIntegerArray2DimNullableSerde
,DIOBoxedIntegerArrayNullableSerde
,DIOBoxedLongArray2DimNullableSerde
,DIOBoxedLongArrayNullableSerde
,DIOBoxedShortArray2DimNullableSerde
,DIOBoxedShortArrayNullableSerde
,DIOByteSerde
,DIOCalendarArrayNullableSerde
,DIOCalendarSerde
,DIOCharacterSerde
,DIOCharSequenceSerde
,DIODateArrayNullableSerde
,DIODateSerde
,DIODoubleSerde
,DIOFloatSerde
,DIOIntegerSerde
,DIOJsonAnyValueSerde
,DIOJsonArraySerde
,DIOJsonObjectSerde
,DIOLongSerde
,DIOMapPropertySerde
,DIOMultiKeyArrayBooleanSerde
,DIOMultiKeyArrayByteSerde
,DIOMultiKeyArrayCharSerde
,DIOMultiKeyArrayDoubleSerde
,DIOMultiKeyArrayFloatSerde
,DIOMultiKeyArrayIntSerde
,DIOMultiKeyArrayLongSerde
,DIOMultiKeyArrayObjectSerde
,DIOMultiKeyArrayShortSerde
,DIONullableBooleanSerde
,DIONullableByteSerde
,DIONullableCharacterSerde
,DIONullableDoubleSerde
,DIONullableFloatSerde
,DIONullableIntegerSerde
,DIONullableLongSerde
,DIONullableObjectArraySerde
,DIONullableShortSerde
,DIONullableStringSerde
,DIOPrimitiveBooleanArray2DimNullableSerde
,DIOPrimitiveBooleanArrayNullableSerde
,DIOPrimitiveByteArray2DimNullableSerde
,DIOPrimitiveByteArrayNullableSerde
,DIOPrimitiveByteArraySerde
,DIOPrimitiveCharArray2DimNullableSerde
,DIOPrimitiveCharArrayNullableSerde
,DIOPrimitiveDoubleArray2DimNullableSerde
,DIOPrimitiveDoubleArrayNullableSerde
,DIOPrimitiveFloatArray2DimNullableSerde
,DIOPrimitiveFloatArrayNullableSerde
,DIOPrimitiveIntArray2DimNullableSerde
,DIOPrimitiveIntArrayNullableSerde
,DIOPrimitiveLongArray2DimNullableSerde
,DIOPrimitiveLongArrayNullableSerde
,DIOPrimitiveShortArray2DimNullableSerde
,DIOPrimitiveShortArrayNullableSerde
,DIORefCountedSet
,DIOSerializableObjectSerde
,DIOSetSerde
,DIOShortSerde
,DIOSkipSerde
,DIOSortedRefCountedSet
,DIOSqlDateArrayNullableSerde
,DIOSqlDateSerde
,DIOStringArray2DimNullableSerde
,DIOStringArrayNullableSerde
,DIOUnsupportedSerde
public interface DataInputOutputSerde<E>
Implementations read and write objects from/to the stream.
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionRead an object from the stream.void
write
(E object, DataOutput output, byte[] unitKey, EventBeanCollatedWriter writer) Write an object to the stream.
-
Field Details
-
EPTYPE
Type information
-
-
Method Details
-
write
void write(E object, DataOutput output, byte[] unitKey, EventBeanCollatedWriter writer) throws IOException Write an object to the stream.- Parameters:
object
- to write or null if this is a nullable valueoutput
- to write tounitKey
- the page key of the page containing the object, can be null if not relevant or not providedwriter
- the writer for events, can be null if not relevant or not provided- Throws:
IOException
- for io exceptions
-
read
Read an object from the stream.- Parameters:
input
- input to readunitKey
- the identifying key of the reader, can be null if not relevant or not provided- Returns:
- object read or null if this is a nullable value
- Throws:
IOException
- for io exceptions
-