org.apache.accumulo.core.file.map
Class MapFileUtil
java.lang.Object
org.apache.accumulo.core.file.map.MapFileUtil
public class MapFileUtil
- extends Object
Method Summary |
static boolean |
attemptToFixMapFile(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.FileSystem fs,
String dirName)
Deprecated. since 1.4 |
static MySequenceFile.Reader |
openIndex(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path mapFile)
|
static MyMapFile.Reader |
openMapFile(AccumuloConfiguration acuconf,
org.apache.hadoop.fs.FileSystem fs,
String dirName,
org.apache.hadoop.conf.Configuration conf)
|
static MyMapFile.Writer |
openMapFileWriter(AccumuloConfiguration acuTableConf,
org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.FileSystem fs,
String dirname)
Deprecated. since 1.4 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MapFileUtil
public MapFileUtil()
attemptToFixMapFile
public static boolean attemptToFixMapFile(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.FileSystem fs,
String dirName)
- Deprecated. since 1.4
- Parameters:
conf
- fs
- dirName
-
- Returns:
- true if the attempt was successful, false otherwise
openMapFile
public static MyMapFile.Reader openMapFile(AccumuloConfiguration acuconf,
org.apache.hadoop.fs.FileSystem fs,
String dirName,
org.apache.hadoop.conf.Configuration conf)
throws IOException
- Throws:
IOException
openIndex
public static MySequenceFile.Reader openIndex(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path mapFile)
throws IOException
- Throws:
IOException
openMapFileWriter
public static MyMapFile.Writer openMapFileWriter(AccumuloConfiguration acuTableConf,
org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.FileSystem fs,
String dirname)
throws IOException
- Deprecated. since 1.4
- Parameters:
acuTableConf
- conf
- fs
- dirname
-
- Returns:
- a MapFile writer
- Throws:
IOException
Copyright © 2013 The Apache Software Foundation. All Rights Reserved.