org.apache.accumulo.server.tabletserver
Class InMemoryMap

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

public class InMemoryMap
extends Object


Constructor Summary
InMemoryMap(AccumuloConfiguration config)
           
InMemoryMap(boolean useNativeMap, String memDumpDir)
           
 
Method Summary
 SortedKeyValueIterator<Key,Value> compactionIterator()
           
 void delete(long waitTime)
           
 long estimatedSizeInBytes()
          Returns a long representing the size of the InMemoryMap
 long getNumEntries()
           
 void mutate(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,
                   String memDumpDir)

InMemoryMap

public InMemoryMap(AccumuloConfiguration config)
Method Detail

mutate

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


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()

compactionIterator

public SortedKeyValueIterator<Key,Value> compactionIterator()

delete

public void delete(long waitTime)


Copyright © 2013 Apache Accumulo Project. All Rights Reserved.