org.apache.accumulo.server.tabletserver
Class InMemoryMap

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

public class InMemoryMap
extends java.lang.Object


Constructor Summary
InMemoryMap()
           
InMemoryMap(boolean useNativeMap)
           
 
Method Summary
 void delete(long waitTime)
           
 long estimatedSizeInBytes()
          Returns a long representing the size of the InMemoryMap
 long getNumEntries()
           
 MetadataTable.DataFileValue minorCompact(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.fs.FileSystem fs, java.lang.String dirname, KeyExtent extent)
          Writes the InMemoryMap to a file
 void mutate(java.util.List<Mutation> mutations)
          Applies changes to a row in the InMemoryMap
 org.apache.accumulo.server.tabletserver.InMemoryMap.MemoryIterator skvIterator()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InMemoryMap

public InMemoryMap(boolean useNativeMap)

InMemoryMap

public InMemoryMap()
Method Detail

mutate

public void mutate(java.util.List<Mutation> mutations)
Applies changes to a row in the InMemoryMap


minorCompact

public MetadataTable.DataFileValue minorCompact(org.apache.hadoop.conf.Configuration conf,
                                                org.apache.hadoop.fs.FileSystem fs,
                                                java.lang.String dirname,
                                                KeyExtent extent)
Writes the InMemoryMap to a file


estimatedSizeInBytes

public long estimatedSizeInBytes()
Returns a long representing the size of the InMemoryMap

Returns:
bytesInMemory

getNumEntries

public long getNumEntries()

skvIterator

public org.apache.accumulo.server.tabletserver.InMemoryMap.MemoryIterator skvIterator()

delete

public void delete(long waitTime)


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