org.apache.accumulo.core.file.rfile
public class RFileOperations extends FileOperations
Constructor and Description |
---|
RFileOperations() |
Modifier and Type | Method and Description |
---|---|
long |
getFileSize(String file,
org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.conf.Configuration conf,
AccumuloConfiguration acuconf) |
FileSKVIterator |
openIndex(String file,
org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.conf.Configuration conf,
AccumuloConfiguration acuconf) |
FileSKVIterator |
openIndex(String file,
org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.conf.Configuration conf,
AccumuloConfiguration acuconf,
BlockCache dataCache,
BlockCache indexCache) |
FileSKVIterator |
openReader(String file,
boolean seekToBeginning,
org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.conf.Configuration conf,
AccumuloConfiguration acuconf)
Open a reader that fully support seeking and also enable any optimizations related to seeking, like bloom filters.
|
FileSKVIterator |
openReader(String file,
boolean seekToBeginning,
org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.conf.Configuration conf,
AccumuloConfiguration acuconf,
BlockCache dataCache,
BlockCache indexCache) |
FileSKVIterator |
openReader(String file,
Range range,
Set<ByteSequence> columnFamilies,
boolean inclusive,
org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.conf.Configuration conf,
AccumuloConfiguration tableConf)
Open a reader that will not be seeked giving an initial seek location.
|
FileSKVIterator |
openReader(String file,
Range range,
Set<ByteSequence> columnFamilies,
boolean inclusive,
org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.conf.Configuration conf,
AccumuloConfiguration tableConf,
BlockCache dataCache,
BlockCache indexCache) |
FileSKVWriter |
openWriter(String file,
org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.conf.Configuration conf,
AccumuloConfiguration acuconf) |
getInstance, getNewFileExtension, getValidExtensions
public long getFileSize(String file, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.conf.Configuration conf, AccumuloConfiguration acuconf) throws IOException
getFileSize
in class FileOperations
IOException
public FileSKVIterator openIndex(String file, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.conf.Configuration conf, AccumuloConfiguration acuconf) throws IOException
openIndex
in class FileOperations
IOException
public FileSKVIterator openIndex(String file, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.conf.Configuration conf, AccumuloConfiguration acuconf, BlockCache dataCache, BlockCache indexCache) throws IOException
openIndex
in class FileOperations
IOException
public FileSKVIterator openReader(String file, boolean seekToBeginning, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.conf.Configuration conf, AccumuloConfiguration acuconf) throws IOException
FileOperations
openReader
in class FileOperations
IOException
public FileSKVIterator openReader(String file, boolean seekToBeginning, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.conf.Configuration conf, AccumuloConfiguration acuconf, BlockCache dataCache, BlockCache indexCache) throws IOException
openReader
in class FileOperations
IOException
public FileSKVIterator openReader(String file, Range range, Set<ByteSequence> columnFamilies, boolean inclusive, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.conf.Configuration conf, AccumuloConfiguration tableConf) throws IOException
FileOperations
openReader
in class FileOperations
IOException
public FileSKVIterator openReader(String file, Range range, Set<ByteSequence> columnFamilies, boolean inclusive, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.conf.Configuration conf, AccumuloConfiguration tableConf, BlockCache dataCache, BlockCache indexCache) throws IOException
openReader
in class FileOperations
IOException
public FileSKVWriter openWriter(String file, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.conf.Configuration conf, AccumuloConfiguration acuconf) throws IOException
openWriter
in class FileOperations
IOException
Copyright © 2014 Apache Accumulo Project. All Rights Reserved.