| Package | Description |
|---|---|
| org.apache.hadoop.hdfs |
A distributed implementation of
FileSystem. |
| org.apache.hadoop.hdfs.protocol | |
| org.apache.hadoop.hdfs.protocolPB |
| Modifier and Type | Method and Description |
|---|---|
DirectoryListing |
DFSClient.listPaths(String src,
byte[] startAfter)
Get a partial listing of the indicated directory
No block locations need to be fetched
|
DirectoryListing |
DFSClient.listPaths(String src,
byte[] startAfter,
boolean needLocation)
Get a partial listing of the indicated directory
Recommend to use HdfsFileStatus.EMPTY_NAME as startAfter
if the application wants to fetch a listing starting from
the first entry in the directory
|
| Modifier and Type | Method and Description |
|---|---|
DirectoryListing |
ClientProtocol.getListing(String src,
byte[] startAfter,
boolean needLocation)
Get a partial listing of the indicated directory
|
| Modifier and Type | Method and Description |
|---|---|
static DirectoryListing |
PBHelper.convert(HdfsProtos.DirectoryListingProto dl) |
DirectoryListing |
ClientNamenodeProtocolTranslatorPB.getListing(String src,
byte[] startAfter,
boolean needLocation) |
| Modifier and Type | Method and Description |
|---|---|
static HdfsProtos.DirectoryListingProto |
PBHelper.convert(DirectoryListing d) |
Copyright © 2013 Apache Software Foundation. All rights reserved.