org.apache.tez.runtime.api
Interface Processor

All Known Subinterfaces:
LogicalIOProcessor

public interface Processor

Processor represents the Tez entity responsible for consuming Input and producing Output.


Method Summary
 void close()
          Closes the Processor
 void handleEvents(List<Event> processorEvents)
          Handles user and system generated Events.
 void initialize(TezProcessorContext processorContext)
          Initializes the Processor
 

Method Detail

initialize

void initialize(TezProcessorContext processorContext)
                throws Exception
Initializes the Processor

Parameters:
processorContext -
Throws:
IOException - if an error occurs
Exception

handleEvents

void handleEvents(List<Event> processorEvents)
Handles user and system generated Events.

Parameters:
processorEvents - the list of Events

close

void close()
           throws Exception
Closes the Processor

Throws:
IOException - if an error occurs
Exception


Copyright © 2014 Apache Software Foundation. All rights reserved.