org.apache.hadoop.yarn.api.protocolrecords.impl.pb
Class GetApplicationsRequestPBImpl

java.lang.Object
  extended by org.apache.hadoop.yarn.api.protocolrecords.GetApplicationsRequest
      extended by org.apache.hadoop.yarn.api.protocolrecords.impl.pb.GetApplicationsRequestPBImpl

@InterfaceAudience.Private
@InterfaceStability.Unstable
public class GetApplicationsRequestPBImpl
extends org.apache.hadoop.yarn.api.protocolrecords.GetApplicationsRequest


Constructor Summary
GetApplicationsRequestPBImpl()
           
GetApplicationsRequestPBImpl(org.apache.hadoop.yarn.proto.YarnServiceProtos.GetApplicationsRequestProto proto)
           
 
Method Summary
 boolean equals(Object other)
           
 EnumSet<org.apache.hadoop.yarn.api.records.YarnApplicationState> getApplicationStates()
           
 Set<String> getApplicationTags()
           
 Set<String> getApplicationTypes()
           
 org.apache.commons.lang.math.LongRange getFinishRange()
           
 long getLimit()
           
 org.apache.hadoop.yarn.proto.YarnServiceProtos.GetApplicationsRequestProto getProto()
           
 Set<String> getQueues()
           
 org.apache.hadoop.yarn.api.protocolrecords.ApplicationsRequestScope getScope()
           
 org.apache.commons.lang.math.LongRange getStartRange()
           
 Set<String> getUsers()
           
 int hashCode()
           
 void setApplicationStates(EnumSet<org.apache.hadoop.yarn.api.records.YarnApplicationState> applicationStates)
           
 void setApplicationStates(Set<String> applicationStates)
           
 void setApplicationTags(Set<String> tags)
           
 void setApplicationTypes(Set<String> applicationTypes)
           
 void setFinishRange(long begin, long end)
           
 void setFinishRange(org.apache.commons.lang.math.LongRange range)
           
 void setLimit(long limit)
           
 void setQueues(Set<String> queues)
           
 void setScope(org.apache.hadoop.yarn.api.protocolrecords.ApplicationsRequestScope scope)
           
 void setStartRange(long begin, long end)
           
 void setStartRange(org.apache.commons.lang.math.LongRange range)
           
 void setUsers(Set<String> users)
           
 String toString()
           
 
Methods inherited from class org.apache.hadoop.yarn.api.protocolrecords.GetApplicationsRequest
newInstance, newInstance, newInstance, newInstance, newInstance, newInstance
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GetApplicationsRequestPBImpl

public GetApplicationsRequestPBImpl()

GetApplicationsRequestPBImpl

public GetApplicationsRequestPBImpl(org.apache.hadoop.yarn.proto.YarnServiceProtos.GetApplicationsRequestProto proto)
Method Detail

getProto

public org.apache.hadoop.yarn.proto.YarnServiceProtos.GetApplicationsRequestProto getProto()

getApplicationTypes

public Set<String> getApplicationTypes()
Specified by:
getApplicationTypes in class org.apache.hadoop.yarn.api.protocolrecords.GetApplicationsRequest

setApplicationTypes

public void setApplicationTypes(Set<String> applicationTypes)
Specified by:
setApplicationTypes in class org.apache.hadoop.yarn.api.protocolrecords.GetApplicationsRequest

getApplicationTags

public Set<String> getApplicationTags()
Specified by:
getApplicationTags in class org.apache.hadoop.yarn.api.protocolrecords.GetApplicationsRequest

setApplicationTags

public void setApplicationTags(Set<String> tags)
Specified by:
setApplicationTags in class org.apache.hadoop.yarn.api.protocolrecords.GetApplicationsRequest

getApplicationStates

public EnumSet<org.apache.hadoop.yarn.api.records.YarnApplicationState> getApplicationStates()
Specified by:
getApplicationStates in class org.apache.hadoop.yarn.api.protocolrecords.GetApplicationsRequest

getScope

public org.apache.hadoop.yarn.api.protocolrecords.ApplicationsRequestScope getScope()
Specified by:
getScope in class org.apache.hadoop.yarn.api.protocolrecords.GetApplicationsRequest

setScope

public void setScope(org.apache.hadoop.yarn.api.protocolrecords.ApplicationsRequestScope scope)
Specified by:
setScope in class org.apache.hadoop.yarn.api.protocolrecords.GetApplicationsRequest

setApplicationStates

public void setApplicationStates(EnumSet<org.apache.hadoop.yarn.api.records.YarnApplicationState> applicationStates)
Specified by:
setApplicationStates in class org.apache.hadoop.yarn.api.protocolrecords.GetApplicationsRequest

setApplicationStates

public void setApplicationStates(Set<String> applicationStates)
Specified by:
setApplicationStates in class org.apache.hadoop.yarn.api.protocolrecords.GetApplicationsRequest

getUsers

public Set<String> getUsers()
Specified by:
getUsers in class org.apache.hadoop.yarn.api.protocolrecords.GetApplicationsRequest

setUsers

public void setUsers(Set<String> users)
Specified by:
setUsers in class org.apache.hadoop.yarn.api.protocolrecords.GetApplicationsRequest

getQueues

public Set<String> getQueues()
Specified by:
getQueues in class org.apache.hadoop.yarn.api.protocolrecords.GetApplicationsRequest

setQueues

public void setQueues(Set<String> queues)
Specified by:
setQueues in class org.apache.hadoop.yarn.api.protocolrecords.GetApplicationsRequest

getLimit

public long getLimit()
Specified by:
getLimit in class org.apache.hadoop.yarn.api.protocolrecords.GetApplicationsRequest

setLimit

public void setLimit(long limit)
Specified by:
setLimit in class org.apache.hadoop.yarn.api.protocolrecords.GetApplicationsRequest

getStartRange

public org.apache.commons.lang.math.LongRange getStartRange()
Specified by:
getStartRange in class org.apache.hadoop.yarn.api.protocolrecords.GetApplicationsRequest

setStartRange

public void setStartRange(org.apache.commons.lang.math.LongRange range)
Specified by:
setStartRange in class org.apache.hadoop.yarn.api.protocolrecords.GetApplicationsRequest

setStartRange

public void setStartRange(long begin,
                          long end)
                   throws IllegalArgumentException
Specified by:
setStartRange in class org.apache.hadoop.yarn.api.protocolrecords.GetApplicationsRequest
Throws:
IllegalArgumentException

getFinishRange

public org.apache.commons.lang.math.LongRange getFinishRange()
Specified by:
getFinishRange in class org.apache.hadoop.yarn.api.protocolrecords.GetApplicationsRequest

setFinishRange

public void setFinishRange(org.apache.commons.lang.math.LongRange range)
Specified by:
setFinishRange in class org.apache.hadoop.yarn.api.protocolrecords.GetApplicationsRequest

setFinishRange

public void setFinishRange(long begin,
                           long end)
Specified by:
setFinishRange in class org.apache.hadoop.yarn.api.protocolrecords.GetApplicationsRequest

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object other)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2014 Apache Software Foundation. All Rights Reserved.