org.apache.tez.dag.app.dag.impl
Class OutputCommitterContextImpl

java.lang.Object
  extended by org.apache.tez.dag.app.dag.impl.OutputCommitterContextImpl
All Implemented Interfaces:
org.apache.tez.runtime.api.OutputCommitterContext

public class OutputCommitterContextImpl
extends Object
implements org.apache.tez.runtime.api.OutputCommitterContext


Constructor Summary
OutputCommitterContextImpl(org.apache.hadoop.yarn.api.records.ApplicationId applicationId, int dagAttemptNumber, String dagName, String vertexName, String outputName, byte[] userPayload, int vertexIdx)
           
 
Method Summary
 org.apache.hadoop.yarn.api.records.ApplicationId getApplicationId()
           
 int getDAGAttemptNumber()
           
 String getDAGName()
           
 String getOutputName()
           
 byte[] getUserPayload()
           
 int getVertexIndex()
           
 String getVertexName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OutputCommitterContextImpl

public OutputCommitterContextImpl(org.apache.hadoop.yarn.api.records.ApplicationId applicationId,
                                  int dagAttemptNumber,
                                  String dagName,
                                  String vertexName,
                                  String outputName,
                                  @Nullable
                                  byte[] userPayload,
                                  int vertexIdx)
Method Detail

getApplicationId

public org.apache.hadoop.yarn.api.records.ApplicationId getApplicationId()
Specified by:
getApplicationId in interface org.apache.tez.runtime.api.OutputCommitterContext

getDAGAttemptNumber

public int getDAGAttemptNumber()
Specified by:
getDAGAttemptNumber in interface org.apache.tez.runtime.api.OutputCommitterContext

getDAGName

public String getDAGName()
Specified by:
getDAGName in interface org.apache.tez.runtime.api.OutputCommitterContext

getVertexName

public String getVertexName()
Specified by:
getVertexName in interface org.apache.tez.runtime.api.OutputCommitterContext

getOutputName

public String getOutputName()
Specified by:
getOutputName in interface org.apache.tez.runtime.api.OutputCommitterContext

getUserPayload

public byte[] getUserPayload()
Specified by:
getUserPayload in interface org.apache.tez.runtime.api.OutputCommitterContext

getVertexIndex

public int getVertexIndex()
Specified by:
getVertexIndex in interface org.apache.tez.runtime.api.OutputCommitterContext


Copyright © 2014 Apache Software Foundation. All rights reserved.