public class CassandraAnalyticsFileSystem extends Object implements org.wso2.carbon.analytics.datasource.core.fs.AnalyticsFileSystem
AnalyticsFileSystem.org.wso2.carbon.analytics.datasource.core.fs.AnalyticsFileSystem.DataInput| Constructor and Description |
|---|
CassandraAnalyticsFileSystem() |
| Modifier and Type | Method and Description |
|---|---|
org.wso2.carbon.analytics.datasource.core.fs.AnalyticsFileSystem.DataInput |
createInput(String path) |
OutputStream |
createOutput(String path) |
void |
delete(String path) |
void |
destroy() |
boolean |
exists(String path) |
void |
init(Map<String,String> properties) |
long |
length(String path) |
List<String> |
list(String path) |
void |
mkdir(String path) |
void |
renameFileInDirectory(String dirPath,
String nameFrom,
String nameTo) |
void |
setLength(String path,
long length) |
void |
sync(String path) |
public void init(Map<String,String> properties) throws org.wso2.carbon.analytics.datasource.commons.exception.AnalyticsException
init in interface org.wso2.carbon.analytics.datasource.core.fs.AnalyticsFileSystemorg.wso2.carbon.analytics.datasource.commons.exception.AnalyticsExceptionpublic org.wso2.carbon.analytics.datasource.core.fs.AnalyticsFileSystem.DataInput createInput(String path) throws IOException
createInput in interface org.wso2.carbon.analytics.datasource.core.fs.AnalyticsFileSystemIOExceptionpublic OutputStream createOutput(String path) throws IOException
createOutput in interface org.wso2.carbon.analytics.datasource.core.fs.AnalyticsFileSystemIOExceptionpublic void delete(String path) throws IOException
delete in interface org.wso2.carbon.analytics.datasource.core.fs.AnalyticsFileSystemIOExceptionpublic void destroy()
throws IOException
destroy in interface org.wso2.carbon.analytics.datasource.core.fs.AnalyticsFileSystemIOExceptionpublic boolean exists(String path) throws IOException
exists in interface org.wso2.carbon.analytics.datasource.core.fs.AnalyticsFileSystemIOExceptionpublic long length(String path) throws IOException
length in interface org.wso2.carbon.analytics.datasource.core.fs.AnalyticsFileSystemIOExceptionpublic void setLength(String path, long length) throws IOException
IOExceptionpublic List<String> list(String path) throws IOException
list in interface org.wso2.carbon.analytics.datasource.core.fs.AnalyticsFileSystemIOExceptionpublic void mkdir(String path) throws IOException
mkdir in interface org.wso2.carbon.analytics.datasource.core.fs.AnalyticsFileSystemIOExceptionpublic void renameFileInDirectory(String dirPath, String nameFrom, String nameTo) throws IOException
renameFileInDirectory in interface org.wso2.carbon.analytics.datasource.core.fs.AnalyticsFileSystemIOExceptionpublic void sync(String path) throws IOException
sync in interface org.wso2.carbon.analytics.datasource.core.fs.AnalyticsFileSystemIOExceptionCopyright © 2015 WSO2. All rights reserved.