org.apache.accumulo.core.file
public abstract class FileOperations extends Object
Constructor and Description |
---|
FileOperations() |
Modifier and Type | Method and Description |
---|---|
abstract long |
getFileSize(String file,
org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.conf.Configuration conf,
AccumuloConfiguration acuconf) |
static FileOperations |
getInstance() |
static String |
getNewFileExtension(AccumuloConfiguration acuconf) |
static Set<String> |
getValidExtensions() |
abstract FileSKVIterator |
openIndex(String file,
org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.conf.Configuration conf,
AccumuloConfiguration acuconf) |
abstract FileSKVIterator |
openIndex(String file,
org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.conf.Configuration conf,
AccumuloConfiguration acuconf,
BlockCache dCache,
BlockCache iCache) |
abstract 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.
|
abstract FileSKVIterator |
openReader(String file,
boolean seekToBeginning,
org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.conf.Configuration conf,
AccumuloConfiguration acuconf,
BlockCache dataCache,
BlockCache indexCache) |
abstract 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.
|
abstract 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) |
abstract FileSKVWriter |
openWriter(String file,
org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.conf.Configuration conf,
AccumuloConfiguration acuconf) |
public static String getNewFileExtension(AccumuloConfiguration acuconf)
public static FileOperations getInstance()
public abstract 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
IOException
public abstract 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
IOException
public abstract FileSKVIterator openReader(String file, boolean seekToBeginning, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.conf.Configuration conf, AccumuloConfiguration acuconf) throws IOException
IOException
public abstract 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
IOException
public abstract FileSKVWriter openWriter(String file, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.conf.Configuration conf, AccumuloConfiguration acuconf) throws IOException
IOException
public abstract FileSKVIterator openIndex(String file, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.conf.Configuration conf, AccumuloConfiguration acuconf) throws IOException
IOException
public abstract FileSKVIterator openIndex(String file, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.conf.Configuration conf, AccumuloConfiguration acuconf, BlockCache dCache, BlockCache iCache) throws IOException
IOException
public abstract long getFileSize(String file, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.conf.Configuration conf, AccumuloConfiguration acuconf) throws IOException
IOException
Copyright © 2011-2015 The Apache Software Foundation. All Rights Reserved.