Package org.apache.storm.hdfs.blobstore
Class HdfsBlobStoreFile
java.lang.Object
org.apache.storm.blobstore.BlobStoreFile
org.apache.storm.hdfs.blobstore.HdfsBlobStoreFile
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final org.apache.hadoop.fs.permission.FsPermissionFields inherited from class org.apache.storm.blobstore.BlobStoreFileBLOBSTORE_DATA_FILE, TMP_EXT, TMP_NAME_PATTERN
- 
Constructor SummaryConstructorsConstructorDescriptionHdfsBlobStoreFile(org.apache.hadoop.fs.Path base, boolean isTmp, boolean mustBeNew, org.apache.hadoop.conf.Configuration hconf) HdfsBlobStoreFile(org.apache.hadoop.fs.Path base, String name, org.apache.hadoop.conf.Configuration hconf) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidcancel()voidcommit()voiddelete()longgetKey()longbooleanisTmp()voidsetMetadata(SettableBlobMeta meta) toString()Methods inherited from class org.apache.storm.blobstore.BlobStoreFilegetVersion
- 
Field Details- 
BLOBSTORE_FILE_PERMISSIONpublic static final org.apache.hadoop.fs.permission.FsPermission BLOBSTORE_FILE_PERMISSION
 
- 
- 
Constructor Details- 
HdfsBlobStoreFilepublic HdfsBlobStoreFile(org.apache.hadoop.fs.Path base, String name, org.apache.hadoop.conf.Configuration hconf) 
- 
HdfsBlobStoreFilepublic HdfsBlobStoreFile(org.apache.hadoop.fs.Path base, boolean isTmp, boolean mustBeNew, org.apache.hadoop.conf.Configuration hconf) 
 
- 
- 
Method Details- 
delete- Specified by:
- deletein class- BlobStoreFile
- Throws:
- IOException
 
- 
isTmppublic boolean isTmp()- Specified by:
- isTmpin class- BlobStoreFile
 
- 
getKey- Specified by:
- getKeyin class- BlobStoreFile
 
- 
getModTime- Specified by:
- getModTimein class- BlobStoreFile
- Throws:
- IOException
 
- 
getInputStream- Specified by:
- getInputStreamin class- BlobStoreFile
- Throws:
- IOException
 
- 
getOutputStream- Specified by:
- getOutputStreamin class- BlobStoreFile
- Throws:
- IOException
 
- 
commit- Specified by:
- commitin class- BlobStoreFile
- Throws:
- IOException
 
- 
cancel- Specified by:
- cancelin class- BlobStoreFile
- Throws:
- IOException
 
- 
toString
- 
getFileLength- Specified by:
- getFileLengthin class- BlobStoreFile
- Throws:
- IOException
 
- 
getMetadata- Specified by:
- getMetadatain class- BlobStoreFile
 
- 
setMetadata- Specified by:
- setMetadatain class- BlobStoreFile
 
 
-