java.lang.Comparable<RemoteLocationContext>public class RemoteLocation extends RemoteLocationContext
| Constructor | Description |
|---|---|
RemoteLocation(java.lang.String nsId,
java.lang.String dPath,
java.lang.String sPath) |
Create a new remote location.
|
RemoteLocation(java.lang.String nsId,
java.lang.String nnId,
java.lang.String dPath,
java.lang.String sPath) |
Create a new remote location pointing to a particular namenode in the
namespace.
|
RemoteLocation(RemoteLocation remoteLocation,
java.lang.String path) |
Use the Ns and Nn of a remote location
and another path to create a new remote location pointing.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
getDest() |
Destination in this location.
|
java.lang.String |
getNameserviceId() |
Returns an identifier for a unique namespace.
|
java.lang.String |
getSrc() |
Original source location.
|
java.lang.String |
toString() |
compareTo, equals, hashCodepublic RemoteLocation(java.lang.String nsId,
java.lang.String dPath,
java.lang.String sPath)
nsId - Destination namespace.dPath - Path in the destination namespace.sPath - Path in the federated level.public RemoteLocation(java.lang.String nsId,
java.lang.String nnId,
java.lang.String dPath,
java.lang.String sPath)
nsId - Destination namespace.nnId - Destination namenode.dPath - Path in the destination namespace.sPath - Path in the federated levelpublic RemoteLocation(RemoteLocation remoteLocation, java.lang.String path)
remoteLocation - A remoteLocation.path - Path in the destination namespace.public java.lang.String getNameserviceId()
RemoteLocationContextgetNameserviceId in class RemoteLocationContextpublic java.lang.String getDest()
RemoteLocationContextgetDest in class RemoteLocationContextpublic java.lang.String getSrc()
RemoteLocationContextgetSrc in class RemoteLocationContextpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2008–2025 Apache Software Foundation. All rights reserved.