Package com.amazon.ion
Interface BufferConfiguration.DataHandler
-
- Enclosing class:
- BufferConfiguration<Configuration extends BufferConfiguration<Configuration>>
public static interface BufferConfiguration.DataHandlerFunctional interface for reporting processed data.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonData(int numberOfBytes)Invoked whenever the bytes from a value are processed, regardless of whether the bytes are buffered or skipped due to the value being oversized.
-
-
-
Method Detail
-
onData
void onData(int numberOfBytes) throws java.lang.ExceptionInvoked whenever the bytes from a value are processed, regardless of whether the bytes are buffered or skipped due to the value being oversized.- Parameters:
numberOfBytes- the number of bytes processed.- Throws:
java.lang.Exception- if handler logic fails.
-
-