Spring for Apache Hadoop

org.springframework.yarn.fs
Class LocalResourcesSelector.Entry

java.lang.Object
  extended by org.springframework.yarn.fs.LocalResourcesSelector.Entry
Enclosing interface:
LocalResourcesSelector

public static class LocalResourcesSelector.Entry
extends java.lang.Object

Entrys used by this interface.


Constructor Summary
LocalResourcesSelector.Entry(java.lang.String path, org.apache.hadoop.yarn.api.records.LocalResourceType type)
          Instantiates a new entry.
 
Method Summary
 java.lang.String getPath()
          Gets the entry path.
 org.apache.hadoop.yarn.api.records.LocalResourceType getType()
          Gets the entry LocalResourceType.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocalResourcesSelector.Entry

public LocalResourcesSelector.Entry(java.lang.String path,
                                    org.apache.hadoop.yarn.api.records.LocalResourceType type)
Instantiates a new entry.

Parameters:
path - the path
type - the type
Method Detail

getPath

public java.lang.String getPath()
Gets the entry path.

Returns:
the path

getType

public org.apache.hadoop.yarn.api.records.LocalResourceType getType()
Gets the entry LocalResourceType.

Returns:
the local resource type

Spring for Apache Hadoop