| Package | Description |
|---|---|
| org.apache.hadoop.hdfs | |
| org.apache.hadoop.hdfs.protocol |
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
|
| org.apache.hadoop.hdfs.protocolPB |
| Modifier and Type | Method | Description |
|---|---|---|
DirectoryListing |
DFSClient.listPaths(java.lang.String src,
byte[] startAfter) |
Get a partial listing of the indicated directory
No block locations need to be fetched
|
DirectoryListing |
DFSClient.listPaths(java.lang.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 | Description |
|---|---|---|
DirectoryListing |
ClientProtocol.getListing(java.lang.String src,
byte[] startAfter,
boolean needLocation) |
Get a partial listing of the indicated directory.
|
| Modifier and Type | Method | Description |
|---|---|---|
static DirectoryListing |
PBHelperClient.convert(org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.DirectoryListingProto dl) |
|
DirectoryListing |
ClientNamenodeProtocolTranslatorPB.getListing(java.lang.String src,
byte[] startAfter,
boolean needLocation) |
| Modifier and Type | Method | Description |
|---|---|---|
static org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.DirectoryListingProto |
PBHelperClient.convert(DirectoryListing d) |
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.