org.apache.accumulo.server.tabletserver
Class MutationLog

java.lang.Object
  extended by org.apache.accumulo.server.tabletserver.MutationLog

public class MutationLog
extends Object


Field Summary
static byte CLOSE_EVENT
           
static byte MUTATION_EVENT
           
 
Constructor Summary
MutationLog(org.apache.hadoop.fs.Path logfile)
           
 
Method Summary
 void close()
           
 void log(Mutation m)
           
static Iterator<Mutation> replay(org.apache.hadoop.fs.Path logfile, Tablet t, long min_timestamp)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MUTATION_EVENT

public static final byte MUTATION_EVENT
See Also:
Constant Field Values

CLOSE_EVENT

public static final byte CLOSE_EVENT
See Also:
Constant Field Values
Constructor Detail

MutationLog

public MutationLog(org.apache.hadoop.fs.Path logfile)
            throws IOException
Throws:
IOException
Method Detail

log

public void log(Mutation m)
         throws IOException
Throws:
IOException

close

public void close()
           throws IOException
Throws:
IOException

replay

public static Iterator<Mutation> replay(org.apache.hadoop.fs.Path logfile,
                                        Tablet t,
                                        long min_timestamp)
                                 throws IOException
Throws:
IOException


Copyright © 2012 The Apache Software Foundation. All Rights Reserved.