public class CoreFile extends CoreNode implements CrailFile, CrailKeyValue
| Constructor and Description |
|---|
CoreFile(CoreDataStore fs,
FileInfo fileInfo,
String path) |
| Modifier and Type | Method and Description |
|---|---|
CoreFile |
asFile() |
CoreFile |
asKeyValue() |
CrailInputStream |
getDirectInputStream(long readHint) |
CrailOutputStream |
getDirectOutputStream(long writeHint) |
long |
getToken() |
boolean |
tokenFree() |
asContainer, asDirectory, asMultiFile, asTable, create, getBlockLocations, getCapacity, getFd, getFileSystem, getInputStream, getModificationTime, getPath, getType, syncDirclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBufferedInputStream, getBufferedOutputStream, getFdasContainer, asDirectory, asMultiFile, asTable, getBlockLocations, getCapacity, getFileSystem, getModificationTime, getPath, getType, syncDirpublic CoreFile(CoreDataStore fs, FileInfo fileInfo, String path)
public CrailInputStream getDirectInputStream(long readHint) throws Exception
getDirectInputStream in interface CrailFileExceptionpublic CrailOutputStream getDirectOutputStream(long writeHint) throws Exception
getDirectOutputStream in interface CrailFileExceptionpublic boolean tokenFree()
public CoreFile asKeyValue() throws Exception
asKeyValue in interface CrailNodeasKeyValue in class CoreNodeExceptionCopyright © 2018 The Apache Software Foundation. All rights reserved.