Interface DataHandler
-
- All Known Subinterfaces:
DataProcessor
- All Known Implementing Classes:
AbstractEmittingProcessor
,DataProcessHandler
,MovingWindowProcessor
,OptimizedTableEngine
,OptimizedTableEngine.PartitionManagingWriter
,SimpleDBTagHistoryWriter
,Slim1Processor
,TagAggregateProcessor
public interface DataHandler
A data handler does something with data. You put stuff into it, and it processes it. When no more data will be put in, flush() will be called so that it can clean up whatever data it has inside.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
flush()
Indicate that the handler won't get any more data, at least for a while.void
putValue(RawTagValue inValue)
Insert a value into the handler.
-
-
-
Method Detail
-
putValue
void putValue(RawTagValue inValue) throws java.lang.Exception
Insert a value into the handler.- Throws:
java.lang.Exception
-
flush
void flush() throws java.lang.Exception
Indicate that the handler won't get any more data, at least for a while.- Throws:
java.lang.Exception
-
-