Interface NativeDataSource
- All Known Subinterfaces:
INativeHandler
- All Known Implementing Classes:
NativeBatchProcessor
@Private
public interface NativeDataSource
NativeDataSource loads data from upstream
-
Method Summary
Modifier and TypeMethodDescriptionget input buffervoidloadData()load data from upstreamvoidsetDataReceiver(DataReceiver handler) set listener.
-
Method Details
-
getInputBuffer
InputBuffer getInputBuffer()get input buffer -
setDataReceiver
set listener. When data from upstream arrives, the listener will be activated. -
loadData
load data from upstream- Throws:
IOException
-