public class HFile extends HPath
BLOCK_REPLICATION_KEY, BLOCK_SIZE_KEY, LENGTH_KEY, MODIFICATION_TIME_KEY
Constructor and Description |
---|
HFile(HDataStorage fs,
org.apache.hadoop.fs.Path path) |
HFile(HDataStorage fs,
org.apache.hadoop.fs.Path parent,
org.apache.hadoop.fs.Path child) |
HFile(HDataStorage fs,
org.apache.hadoop.fs.Path parent,
String child) |
HFile(HDataStorage fs,
String pathString) |
HFile(HDataStorage fs,
String parent,
org.apache.hadoop.fs.Path child) |
HFile(HDataStorage fs,
String parent,
String child) |
Modifier and Type | Method and Description |
---|---|
OutputStream |
create(Properties configuration)
Opens a stream onto which an entity can be written to.
|
InputStream |
open() |
InputStream |
open(Properties configuration)
Open for read a given entity
|
SeekableInputStream |
sopen() |
SeekableInputStream |
sopen(Properties configuration)
Open an element in the Data Storage with support for random access
(seek operations).
|
compareTo, copy, copy, create, delete, equals, exists, getConfiguration, getDataStorage, getHFS, getPath, getStatistics, hashCode, rename, setPermission, systemElement, toString, updateConfiguration
public HFile(HDataStorage fs, org.apache.hadoop.fs.Path parent, org.apache.hadoop.fs.Path child)
public HFile(HDataStorage fs, String parent, String child)
public HFile(HDataStorage fs, org.apache.hadoop.fs.Path parent, String child)
public HFile(HDataStorage fs, String parent, org.apache.hadoop.fs.Path child)
public HFile(HDataStorage fs, String pathString)
public HFile(HDataStorage fs, org.apache.hadoop.fs.Path path)
public OutputStream create(Properties configuration) throws IOException
ElementDescriptor
create
in interface ElementDescriptor
create
in class HPath
configuration
- information at the object levelDataStorageException
IOException
public InputStream open(Properties configuration) throws IOException
ElementDescriptor
IOException
public InputStream open() throws IOException
open
in interface ElementDescriptor
open
in class HPath
IOException
public SeekableInputStream sopen(Properties configuration) throws IOException
ElementDescriptor
DataStorageException
IOException
public SeekableInputStream sopen() throws IOException
sopen
in interface ElementDescriptor
sopen
in class HPath
IOException
Copyright © 2007-2017 The Apache Software Foundation