public class VolumeFSFile extends LazyLoad implements Iterable<VolumeFSFile>
| 限定符和类型 | 类和说明 |
|---|---|
static class |
VolumeFSFile.ItemType |
static class |
VolumeFSFile.ParamKey |
| 限定符和类型 | 字段和说明 |
|---|---|
static String |
DEFAULT_DIRECTORY_PERMISSION |
static String |
DEFAULT_GROUP |
static String |
DEFAULT_OWNER |
| 限定符和类型 | 方法和说明 |
|---|---|
static VolumeFSFile |
create(String project,
String path,
boolean isDir,
com.aliyun.odps.rest.RestClient client)
Create new file (Only support to create directory now)
|
void |
delete(boolean recursive)
Delete file (or dir)
|
Date |
getAccessTime() |
Integer |
getBlockReplications() |
Long |
getBlockSize() |
Date |
getCreationTime() |
String |
getGroup() |
Boolean |
getIsdir() |
Long |
getLength() |
Date |
getModificationTime() |
String |
getOwner() |
String |
getPath() |
String |
getPermission() |
String |
getProject() |
Long |
getQuota() |
static VolumeFSFile |
getRoot(String project,
Odps odps)
Get a mocked root path
|
String |
getSymlink() |
String |
getVolume() |
static String |
getVolume(String path) |
Iterator<VolumeFSFile> |
iterator() |
void |
reload()
重新加载属性值
|
static VolumeFSFile |
transferVolumeToVolumeFSFile(String project,
Volume volume,
com.aliyun.odps.rest.RestClient client)
Transfer
Volume to VolumeFSFile |
VolumeFSFile |
update(Map<String,String> param) |
forEach, spliteratorpublic static VolumeFSFile getRoot(String project, Odps odps)
public void reload()
throws OdpsException
LazyLoadreload 在类中 LazyLoadOdpsExceptionpublic static VolumeFSFile create(String project, String path, boolean isDir, com.aliyun.odps.rest.RestClient client) throws VolumeException
project - path - isDir - client - OdpsExceptionVolumeExceptionpublic void delete(boolean recursive)
throws VolumeException
recursive - OdpsExceptionVolumeExceptionpublic VolumeFSFile update(Map<String,String> param) throws VolumeException
VolumeExceptionpublic Iterator<VolumeFSFile> iterator()
iterator 在接口中 Iterable<VolumeFSFile>public String getProject()
public String getVolume()
public String getPath()
public Boolean getIsdir()
public String getPermission()
public Integer getBlockReplications()
public Long getLength()
public Long getQuota()
public Long getBlockSize()
public String getOwner()
public String getGroup()
public Date getCreationTime()
public Date getAccessTime()
public Date getModificationTime()
public String getSymlink()
public static VolumeFSFile transferVolumeToVolumeFSFile(String project, Volume volume, com.aliyun.odps.rest.RestClient client)
Volume to VolumeFSFileproject - volume - Copyright © 2015 Alibaba Cloud Computing. All rights reserved.