com.datasalt.pangool.tuplemr
Class NamedOutputsInterface

java.lang.Object
  extended by com.datasalt.pangool.tuplemr.NamedOutputsInterface

public class NamedOutputsInterface
extends Object

This class encapsulates the functionality of a builder such as TupleMRBuilder that provides Named Outputs. To be used by other builders like MapOnlyJobBuilder.


Nested Class Summary
static class NamedOutputsInterface.Output
           
 
Constructor Summary
NamedOutputsInterface(org.apache.hadoop.conf.Configuration conf)
           
 
Method Summary
 void add(NamedOutputsInterface.Output output)
           
 Set<String> configureJob(org.apache.hadoop.mapreduce.Job job)
          Use this method for configuring a Job instance according to the named outputs specs that has been specified.
 List<NamedOutputsInterface.Output> getNamedOutputs()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NamedOutputsInterface

public NamedOutputsInterface(org.apache.hadoop.conf.Configuration conf)
Method Detail

add

public void add(NamedOutputsInterface.Output output)
         throws TupleMRException
Throws:
TupleMRException

getNamedOutputs

public List<NamedOutputsInterface.Output> getNamedOutputs()

configureJob

public Set<String> configureJob(org.apache.hadoop.mapreduce.Job job)
                         throws FileNotFoundException,
                                IOException,
                                TupleMRException
Use this method for configuring a Job instance according to the named outputs specs that has been specified. Returns the instance files that have been created.

Throws:
FileNotFoundException
IOException
TupleMRException


Copyright © –2014 Datasalt Systems S.L.. All rights reserved.