Skip to content

Instantly share code, notes, and snippets.

@hyunsik
Created August 25, 2016 20:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hyunsik/831f9387795711b68a2def9eb7a70edc to your computer and use it in GitHub Desktop.
Save hyunsik/831f9387795711b68a2def9eb7a70edc to your computer and use it in GitHub Desktop.
Iteration interface in Hive
/**
* Base operator implementation.
**/
public abstract class Operator<T extends OperatorDesc> implements ... {
public void initialize(Configuration hconf, ...) ...
public abstract void processOp(Object row, int tag) throws ...;
public void close(boolean abort) throws HiveException { ... }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment