Package | Description |
---|---|
tachyon.master | |
tachyon.thrift | |
tachyon.util |
Modifier and Type | Method and Description |
---|---|
boolean |
MasterInfo._rename(int fileId,
String dstPath)
Rename a file to the given path, inner method.
|
int |
MasterInfo.createDependency(List<String> parents,
List<String> children,
String commandPrefix,
List<ByteBuffer> data,
String comment,
String framework,
String frameworkVersion,
DependencyType dependencyType) |
int |
MasterInfo.createFile(boolean recursive,
String path,
boolean directory,
long blockSizeByte)
Create a file.
|
int |
MasterInfo.createFile(String path,
long blockSizeByte) |
int |
MasterInfo.createRawTable(String path,
int columns,
ByteBuffer metadata)
Creates a raw table.
|
List<BlockInfo> |
MasterInfo.getBlockList(String path)
Get the list of blocks of an InodeFile determined by path.
|
ClientFileInfo |
MasterInfo.getClientFileInfo(int fid)
Get the file info associated with the given id.
|
ClientFileInfo |
MasterInfo.getClientFileInfo(String path)
Get the file info for the file at the given path
|
ClientRawTableInfo |
MasterInfo.getClientRawTableInfo(String path)
Get the raw table info for the table at the given path
|
int |
MasterInfo.getFileId(String path)
Get the file id of the file.
|
List<ClientBlockInfo> |
MasterInfo.getFileLocations(String path)
Get the block infos of a file with the given path.
|
List<ClientFileInfo> |
MasterInfo.getFilesInfo(String path)
If the
path is a directory, return all the direct entries in
it. |
int |
MasterInfo.getNumberOfFiles(String path)
Get the number of files at a given path.
|
int |
MasterInfo.getRawTableId(String path)
Get the id of the table at the given path.
|
List<Integer> |
MasterInfo.listFiles(String path,
boolean recursive)
Get the id of the file at the given path.
|
List<ClientFileInfo> |
MasterServiceHandler.liststatus(String path) |
List<String> |
MasterInfo.ls(String path,
boolean recursive)
Get the names of the sub-directories at the given path.
|
boolean |
MasterInfo.mkdir(String path)
Create a directory at the given path.
|
boolean |
MasterInfo.rename(int fileId,
String dstPath)
Rename a file to the given path.
|
boolean |
MasterInfo.rename(String srcPath,
String dstPath)
Rename a file to the given path.
|
int |
MasterServiceHandler.user_createDependency(List<String> parents,
List<String> children,
String commandPrefix,
List<ByteBuffer> data,
String comment,
String framework,
String frameworkVersion,
int dependencyType,
long childrenBlockSizeByte) |
int |
MasterServiceHandler.user_createFile(String path,
long blockSizeByte) |
int |
MasterServiceHandler.user_createFileOnCheckpoint(String path,
String checkpointPath) |
int |
MasterServiceHandler.user_createRawTable(String path,
int columns,
ByteBuffer metadata) |
ClientFileInfo |
MasterServiceHandler.user_getClientFileInfoByPath(String path) |
ClientRawTableInfo |
MasterServiceHandler.user_getClientRawTableInfoByPath(String path) |
List<ClientBlockInfo> |
MasterServiceHandler.user_getFileBlocksByPath(String path) |
int |
MasterServiceHandler.user_getFileId(String filePath) |
int |
MasterServiceHandler.user_getNumberOfFiles(String path) |
int |
MasterServiceHandler.user_getRawTableId(String path) |
List<Integer> |
MasterServiceHandler.user_listFiles(String path,
boolean recursive) |
List<String> |
MasterServiceHandler.user_ls(String path,
boolean recursive) |
boolean |
MasterServiceHandler.user_mkdir(String path) |
boolean |
MasterServiceHandler.user_rename(String srcPath,
String dstPath) |
void |
MasterServiceHandler.user_renameTo(int fileId,
String dstPath) |
Modifier and Type | Field and Description |
---|---|
InvalidPathException |
MasterService.user_getFileId_result.e |
InvalidPathException |
MasterService.user_getRawTableId_result.e |
InvalidPathException |
MasterService.liststatus_result.eI |
InvalidPathException |
MasterService.user_createDependency_result.eI |
InvalidPathException |
MasterService.user_createFile_result.eI |
InvalidPathException |
MasterService.user_createFileOnCheckpoint_result.eI |
InvalidPathException |
MasterService.user_getClientFileInfoByPath_result.eI |
InvalidPathException |
MasterService.user_getFileBlocksByPath_result.eI |
InvalidPathException |
MasterService.user_listFiles_result.eI |
InvalidPathException |
MasterService.user_ls_result.eI |
InvalidPathException |
MasterService.user_rename_result.eI |
InvalidPathException |
MasterService.user_renameTo_result.eI |
InvalidPathException |
MasterService.user_mkdir_result.eI |
InvalidPathException |
MasterService.user_createRawTable_result.eI |
InvalidPathException |
MasterService.user_getClientRawTableInfoByPath_result.eI |
InvalidPathException |
MasterService.user_getNumberOfFiles_result.eI |
Modifier and Type | Method and Description |
---|---|
InvalidPathException |
InvalidPathException.deepCopy() |
InvalidPathException |
MasterService.user_getFileId_result.getE() |
InvalidPathException |
MasterService.user_getRawTableId_result.getE() |
InvalidPathException |
MasterService.liststatus_result.getEI() |
InvalidPathException |
MasterService.user_createDependency_result.getEI() |
InvalidPathException |
MasterService.user_createFile_result.getEI() |
InvalidPathException |
MasterService.user_createFileOnCheckpoint_result.getEI() |
InvalidPathException |
MasterService.user_getClientFileInfoByPath_result.getEI() |
InvalidPathException |
MasterService.user_getFileBlocksByPath_result.getEI() |
InvalidPathException |
MasterService.user_listFiles_result.getEI() |
InvalidPathException |
MasterService.user_ls_result.getEI() |
InvalidPathException |
MasterService.user_rename_result.getEI() |
InvalidPathException |
MasterService.user_renameTo_result.getEI() |
InvalidPathException |
MasterService.user_mkdir_result.getEI() |
InvalidPathException |
MasterService.user_createRawTable_result.getEI() |
InvalidPathException |
MasterService.user_getClientRawTableInfoByPath_result.getEI() |
InvalidPathException |
MasterService.user_getNumberOfFiles_result.getEI() |
InvalidPathException |
InvalidPathException.setMessage(String message) |
Modifier and Type | Method and Description |
---|---|
List<ClientFileInfo> |
MasterService.AsyncClient.liststatus_call.getResult() |
int |
MasterService.AsyncClient.user_createDependency_call.getResult() |
int |
MasterService.AsyncClient.user_createFile_call.getResult() |
int |
MasterService.AsyncClient.user_createFileOnCheckpoint_call.getResult() |
int |
MasterService.AsyncClient.user_getFileId_call.getResult() |
ClientFileInfo |
MasterService.AsyncClient.user_getClientFileInfoByPath_call.getResult() |
List<ClientBlockInfo> |
MasterService.AsyncClient.user_getFileBlocksByPath_call.getResult() |
List<Integer> |
MasterService.AsyncClient.user_listFiles_call.getResult() |
List<String> |
MasterService.AsyncClient.user_ls_call.getResult() |
boolean |
MasterService.AsyncClient.user_rename_call.getResult() |
void |
MasterService.AsyncClient.user_renameTo_call.getResult() |
boolean |
MasterService.AsyncClient.user_mkdir_call.getResult() |
int |
MasterService.AsyncClient.user_createRawTable_call.getResult() |
int |
MasterService.AsyncClient.user_getRawTableId_call.getResult() |
ClientRawTableInfo |
MasterService.AsyncClient.user_getClientRawTableInfoByPath_call.getResult() |
int |
MasterService.AsyncClient.user_getNumberOfFiles_call.getResult() |
List<ClientFileInfo> |
MasterService.Iface.liststatus(String path) |
List<ClientFileInfo> |
MasterService.Client.liststatus(String path) |
List<ClientFileInfo> |
MasterService.Client.recv_liststatus() |
int |
MasterService.Client.recv_user_createDependency() |
int |
MasterService.Client.recv_user_createFile() |
int |
MasterService.Client.recv_user_createFileOnCheckpoint() |
int |
MasterService.Client.recv_user_createRawTable() |
ClientFileInfo |
MasterService.Client.recv_user_getClientFileInfoByPath() |
ClientRawTableInfo |
MasterService.Client.recv_user_getClientRawTableInfoByPath() |
List<ClientBlockInfo> |
MasterService.Client.recv_user_getFileBlocksByPath() |
int |
MasterService.Client.recv_user_getFileId() |
int |
MasterService.Client.recv_user_getNumberOfFiles() |
int |
MasterService.Client.recv_user_getRawTableId() |
List<Integer> |
MasterService.Client.recv_user_listFiles() |
List<String> |
MasterService.Client.recv_user_ls() |
boolean |
MasterService.Client.recv_user_mkdir() |
boolean |
MasterService.Client.recv_user_rename() |
void |
MasterService.Client.recv_user_renameTo() |
int |
MasterService.Iface.user_createDependency(List<String> parents,
List<String> children,
String commandPrefix,
List<ByteBuffer> data,
String comment,
String framework,
String frameworkVersion,
int dependencyType,
long childrenBlockSizeByte) |
int |
MasterService.Client.user_createDependency(List<String> parents,
List<String> children,
String commandPrefix,
List<ByteBuffer> data,
String comment,
String framework,
String frameworkVersion,
int dependencyType,
long childrenBlockSizeByte) |
int |
MasterService.Iface.user_createFile(String path,
long blockSizeByte) |
int |
MasterService.Client.user_createFile(String path,
long blockSizeByte) |
int |
MasterService.Iface.user_createFileOnCheckpoint(String path,
String checkpointPath) |
int |
MasterService.Client.user_createFileOnCheckpoint(String path,
String checkpointPath) |
int |
MasterService.Iface.user_createRawTable(String path,
int columns,
ByteBuffer metadata) |
int |
MasterService.Client.user_createRawTable(String path,
int columns,
ByteBuffer metadata) |
ClientFileInfo |
MasterService.Iface.user_getClientFileInfoByPath(String path) |
ClientFileInfo |
MasterService.Client.user_getClientFileInfoByPath(String path) |
ClientRawTableInfo |
MasterService.Iface.user_getClientRawTableInfoByPath(String tablePath)
Get Table info by path
|
ClientRawTableInfo |
MasterService.Client.user_getClientRawTableInfoByPath(String tablePath) |
List<ClientBlockInfo> |
MasterService.Iface.user_getFileBlocksByPath(String path)
Get file locations by path
|
List<ClientBlockInfo> |
MasterService.Client.user_getFileBlocksByPath(String path) |
int |
MasterService.Iface.user_getFileId(String path)
Return -1 if does not contain the file, return fileId if it exists.
|
int |
MasterService.Client.user_getFileId(String path) |
int |
MasterService.Iface.user_getNumberOfFiles(String path) |
int |
MasterService.Client.user_getNumberOfFiles(String path) |
int |
MasterService.Iface.user_getRawTableId(String path)
Return 0 if does not contain the Table, return fileId if it exists.
|
int |
MasterService.Client.user_getRawTableId(String path) |
List<Integer> |
MasterService.Iface.user_listFiles(String path,
boolean recursive) |
List<Integer> |
MasterService.Client.user_listFiles(String path,
boolean recursive) |
List<String> |
MasterService.Iface.user_ls(String path,
boolean recursive) |
List<String> |
MasterService.Client.user_ls(String path,
boolean recursive) |
boolean |
MasterService.Iface.user_mkdir(String path) |
boolean |
MasterService.Client.user_mkdir(String path) |
boolean |
MasterService.Iface.user_rename(String srcPath,
String dstPath) |
boolean |
MasterService.Client.user_rename(String srcPath,
String dstPath) |
void |
MasterService.Iface.user_renameTo(int fileId,
String dstPath) |
void |
MasterService.Client.user_renameTo(int fileId,
String dstPath) |
Modifier and Type | Method and Description |
---|---|
static String |
CommonUtils.cleanPath(String path)
Checks and normalizes the given path
|
static String |
CommonUtils.getName(String path)
Get the name of the file at a path.
|
static String |
CommonUtils.getParent(String path)
Get the parent of the file at a path.
|
static String[] |
CommonUtils.getPathComponents(String path)
Get the path components of the given path.
|
static boolean |
CommonUtils.isRoot(String path)
Check if the given path is the root.
|
static void |
CommonUtils.validatePath(String path)
Check if the given path is properly formed
|
Copyright © 2014. All rights reserved.