| 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 |
|---|---|---|
static AddBlockFlag |
AddBlockFlag.valueOf(short mode) |
Returns the enum constant of this type with the specified name.
|
static AddBlockFlag |
AddBlockFlag.valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static AddBlockFlag[] |
AddBlockFlag.values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method | Description |
|---|---|---|
protected java.util.EnumSet<AddBlockFlag> |
DFSOutputStream.getAddBlockFlags() |
| Modifier and Type | Method | Description |
|---|---|---|
LocatedBlock |
ClientProtocol.addBlock(java.lang.String src,
java.lang.String clientName,
ExtendedBlock previous,
DatanodeInfo[] excludeNodes,
long fileId,
java.lang.String[] favoredNodes,
java.util.EnumSet<AddBlockFlag> addBlockFlags) |
A client that wants to write an additional block to the
indicated filename (which must currently be open for writing)
should call addBlock().
|
| Modifier and Type | Method | Description |
|---|---|---|
static java.util.EnumSet<AddBlockFlag> |
PBHelperClient.convertAddBlockFlags(java.util.List<org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos.AddBlockFlagProto> addBlockFlags) |
| Modifier and Type | Method | Description |
|---|---|---|
LocatedBlock |
ClientNamenodeProtocolTranslatorPB.addBlock(java.lang.String src,
java.lang.String clientName,
ExtendedBlock previous,
DatanodeInfo[] excludeNodes,
long fileId,
java.lang.String[] favoredNodes,
java.util.EnumSet<AddBlockFlag> addBlockFlags) |
|
static java.util.List<org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos.AddBlockFlagProto> |
PBHelperClient.convertAddBlockFlags(java.util.EnumSet<AddBlockFlag> flags) |
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.