| Package | Description |
|---|---|
| org.apache.hadoop.hdfs.protocol | |
| org.apache.hadoop.hdfs.protocolPB |
| Modifier and Type | Method and Description |
|---|---|
HdfsFileStatus |
ClientProtocol.create(String src,
FsPermission masked,
String clientName,
EnumSetWritable<CreateFlag> flag,
boolean createParent,
short replication,
long blockSize)
Create a new file entry in the namespace.
|
| Modifier and Type | Method and Description |
|---|---|
static EnumSetWritable<CreateFlag> |
PBHelper.convert(int flag) |
| Modifier and Type | Method and Description |
|---|---|
static int |
PBHelper.convertCreateFlag(EnumSetWritable<CreateFlag> flag) |
HdfsFileStatus |
ClientNamenodeProtocolTranslatorPB.create(String src,
FsPermission masked,
String clientName,
EnumSetWritable<CreateFlag> flag,
boolean createParent,
short replication,
long blockSize) |
Copyright © 2013 Apache Software Foundation. All rights reserved.