| Package | Description |
|---|---|
| org.apache.hadoop.fs |
Implementations of
AbstractFileSystem for hdfs
over rpc and hdfs over web. |
| org.apache.hadoop.hdfs | |
| org.apache.hadoop.hdfs.inotify | |
| 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 |
|---|---|---|
XAttr |
XAttr.Builder.build() |
| Modifier and Type | Method | Description |
|---|---|---|
static XAttr |
XAttrHelper.buildXAttr(java.lang.String name) |
Build
XAttr from xattr name with prefix. |
static XAttr |
XAttrHelper.buildXAttr(java.lang.String name,
byte[] value) |
Build
XAttr from name with prefix and value. |
static XAttr |
XAttrHelper.getFirstXAttr(java.util.List<XAttr> xAttrs) |
Get first xattr from
XAttr list |
| Modifier and Type | Method | Description |
|---|---|---|
static java.util.List<XAttr> |
XAttrHelper.buildXAttrAsList(java.lang.String name) |
Build xattr name with prefix as
XAttr list. |
static java.util.List<XAttr> |
XAttrHelper.buildXAttrs(java.util.List<java.lang.String> names) |
Build
XAttr list from xattr name list. |
| Modifier and Type | Method | Description |
|---|---|---|
static java.lang.String |
XAttrHelper.getPrefixedName(XAttr xAttr) |
Get name with prefix from
XAttr |
| Modifier and Type | Method | Description |
|---|---|---|
static java.util.Map<java.lang.String,byte[]> |
XAttrHelper.buildXAttrMap(java.util.List<XAttr> xAttrs) |
Build xattr map from
XAttr list, the key is
xattr name with prefix, and value is xattr value. |
static XAttr |
XAttrHelper.getFirstXAttr(java.util.List<XAttr> xAttrs) |
Get first xattr from
XAttr list |
static byte[] |
XAttrHelper.getFirstXAttrValue(java.util.List<XAttr> xAttrs) |
Get value of first xattr from
XAttr list |
| Modifier and Type | Method | Description |
|---|---|---|
java.util.List<XAttr> |
Event.MetadataUpdateEvent.getxAttrs() |
| Modifier and Type | Method | Description |
|---|---|---|
Event.MetadataUpdateEvent.Builder |
Event.MetadataUpdateEvent.Builder.xAttrs(java.util.List<XAttr> xAttrs) |
| Modifier and Type | Method | Description |
|---|---|---|
java.util.List<XAttr> |
ClientProtocol.getXAttrs(java.lang.String src,
java.util.List<XAttr> xAttrs) |
Get xattrs of a file or directory.
|
java.util.List<XAttr> |
ClientProtocol.listXAttrs(java.lang.String src) |
List the xattrs names for a file or directory.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
ClientProtocol.removeXAttr(java.lang.String src,
XAttr xAttr) |
Remove xattr of a file or directory.Value in xAttr parameter is ignored.
|
void |
ClientProtocol.setXAttr(java.lang.String src,
XAttr xAttr,
java.util.EnumSet<org.apache.hadoop.fs.XAttrSetFlag> flag) |
Set xattr of a file or directory.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.util.List<XAttr> |
ClientProtocol.getXAttrs(java.lang.String src,
java.util.List<XAttr> xAttrs) |
Get xattrs of a file or directory.
|
| Modifier and Type | Method | Description |
|---|---|---|
static XAttr |
PBHelperClient.convertXAttr(org.apache.hadoop.hdfs.protocol.proto.XAttrProtos.XAttrProto a) |
| Modifier and Type | Method | Description |
|---|---|---|
static java.util.List<XAttr> |
PBHelperClient.convert(org.apache.hadoop.hdfs.protocol.proto.XAttrProtos.GetXAttrsResponseProto a) |
|
static java.util.List<XAttr> |
PBHelperClient.convert(org.apache.hadoop.hdfs.protocol.proto.XAttrProtos.ListXAttrsResponseProto a) |
|
static java.util.List<XAttr> |
PBHelperClient.convertXAttrs(java.util.List<org.apache.hadoop.hdfs.protocol.proto.XAttrProtos.XAttrProto> xAttrSpec) |
|
java.util.List<XAttr> |
ClientNamenodeProtocolTranslatorPB.getXAttrs(java.lang.String src,
java.util.List<XAttr> xAttrs) |
|
java.util.List<XAttr> |
ClientNamenodeProtocolTranslatorPB.listXAttrs(java.lang.String src) |
| Modifier and Type | Method | Description |
|---|---|---|
static org.apache.hadoop.hdfs.protocol.proto.XAttrProtos.XAttrProto |
PBHelperClient.convertXAttrProto(XAttr a) |
|
void |
ClientNamenodeProtocolTranslatorPB.removeXAttr(java.lang.String src,
XAttr xAttr) |
|
void |
ClientNamenodeProtocolTranslatorPB.setXAttr(java.lang.String src,
XAttr xAttr,
java.util.EnumSet<org.apache.hadoop.fs.XAttrSetFlag> flag) |
| Modifier and Type | Method | Description |
|---|---|---|
static org.apache.hadoop.hdfs.protocol.proto.XAttrProtos.ListXAttrsResponseProto |
PBHelperClient.convertListXAttrsResponse(java.util.List<XAttr> names) |
|
static java.util.List<org.apache.hadoop.hdfs.protocol.proto.XAttrProtos.XAttrProto> |
PBHelperClient.convertXAttrProto(java.util.List<XAttr> xAttrSpec) |
|
static org.apache.hadoop.hdfs.protocol.proto.XAttrProtos.GetXAttrsResponseProto |
PBHelperClient.convertXAttrsResponse(java.util.List<XAttr> xAttrs) |
|
java.util.List<XAttr> |
ClientNamenodeProtocolTranslatorPB.getXAttrs(java.lang.String src,
java.util.List<XAttr> xAttrs) |
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.