org.apache.labs.bananadb.store.data
Class Metadata.Header

java.lang.Object
  extended by org.apache.labs.bananadb.store.data.FileHandler.Header
      extended by org.apache.labs.bananadb.store.data.Metadata.Header
Enclosing class:
Metadata

public static class Metadata.Header
extends FileHandler.Header


Constructor Summary
Metadata.Header()
           
 
Method Summary
 long decreaseValuePostingsCount(long value)
           
 int getCurrentHashCodesPartition()
           
 int getCurrentHashtableId()
           
 int getCurrentKeysPartition()
           
 int getCurrentValuesPartition()
           
 int getFileFormatVersion()
           
 long getStoreRevision()
           
 long getValuePostingsCount()
           
 long increaseRevision(long value)
           
 long increaseValuePostingsCount(long value)
           
 void setCurrentHashCodesPartition(int currentHashCodesPartition)
           
 void setCurrentHashtableId(int currentHashtableId)
           
 void setCurrentKeysPartition(int currentKeysPartition)
           
 void setCurrentValuesPartition(int currentValuesPartition)
           
 void setFileFormatVersion(int fileFormatVersion)
           
 void setStoreRevision(long storeRevision)
           
 void setValuePostingsCount(long valuePostingsCount)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Metadata.Header

public Metadata.Header()
Method Detail

getCurrentHashCodesPartition

public int getCurrentHashCodesPartition()

setCurrentHashCodesPartition

public void setCurrentHashCodesPartition(int currentHashCodesPartition)

getCurrentKeysPartition

public int getCurrentKeysPartition()

setCurrentKeysPartition

public void setCurrentKeysPartition(int currentKeysPartition)

getCurrentValuesPartition

public int getCurrentValuesPartition()

setCurrentValuesPartition

public void setCurrentValuesPartition(int currentValuesPartition)

getFileFormatVersion

public int getFileFormatVersion()

setFileFormatVersion

public void setFileFormatVersion(int fileFormatVersion)

getCurrentHashtableId

public int getCurrentHashtableId()

setCurrentHashtableId

public void setCurrentHashtableId(int currentHashtableId)

getValuePostingsCount

public long getValuePostingsCount()

setValuePostingsCount

public void setValuePostingsCount(long valuePostingsCount)

getStoreRevision

public long getStoreRevision()

setStoreRevision

public void setStoreRevision(long storeRevision)

increaseRevision

public long increaseRevision(long value)

increaseValuePostingsCount

public long increaseValuePostingsCount(long value)

decreaseValuePostingsCount

public long decreaseValuePostingsCount(long value)


Copyright © 2009 Apache Software Foundation. All Rights Reserved.