| Modifier and Type | Field and Description |
|---|---|
protected FileInfo |
fileInfo |
protected CoreDataStore |
fs |
protected String |
path |
| Modifier | Constructor and Description |
|---|---|
protected |
CoreNode(CoreDataStore fs,
FileInfo fileInfo,
String path) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.crail.core.CoreDirectory |
asContainer() |
org.apache.crail.core.CoreDirectory |
asDirectory() |
CoreFile |
asFile() |
CrailKeyValue |
asKeyValue() |
CrailMultiFile |
asMultiFile() |
CrailTable |
asTable() |
static CoreNode |
create(CoreDataStore fs,
FileInfo fileInfo,
String path) |
CrailBlockLocation[] |
getBlockLocations(long start,
long len) |
long |
getCapacity() |
long |
getFd() |
CoreDataStore |
getFileSystem() |
protected CoreInputStream |
getInputStream(long readHint) |
long |
getModificationTime() |
String |
getPath() |
CrailNodeType |
getType() |
CoreNode |
syncDir() |
protected CoreDataStore fs
protected FileInfo fileInfo
protected String path
protected CoreNode(CoreDataStore fs, FileInfo fileInfo, String path)
public static CoreNode create(CoreDataStore fs, FileInfo fileInfo, String path)
public CoreDataStore getFileSystem()
getFileSystem in interface CrailNodepublic long getModificationTime()
getModificationTime in interface CrailNodepublic long getCapacity()
getCapacity in interface CrailNodepublic CrailNodeType getType()
public long getFd()
public org.apache.crail.core.CoreDirectory asContainer()
throws Exception
asContainer in interface CrailNodeExceptionpublic org.apache.crail.core.CoreDirectory asDirectory()
throws Exception
asDirectory in interface CrailNodeExceptionpublic CrailMultiFile asMultiFile() throws Exception
asMultiFile in interface CrailNodeExceptionpublic CrailTable asTable() throws Exception
public CrailKeyValue asKeyValue() throws Exception
asKeyValue in interface CrailNodeExceptionpublic CrailBlockLocation[] getBlockLocations(long start, long len) throws Exception
getBlockLocations in interface CrailNodeExceptionprotected CoreInputStream getInputStream(long readHint) throws Exception
ExceptionCopyright © 2018 The Apache Software Foundation. All rights reserved.