org.sourceforge.beanindex
Class BeanIndexBuilder

java.lang.Object
  extended byorg.sourceforge.beanindex.BeanIndexBuilder

public class BeanIndexBuilder
extends java.lang.Object

This class writes the index data. This class is not thread safe.

Author:
Sakthivel Muthusamy

Constructor Summary
BeanIndexBuilder(BeanIndexMetaInfo beanInfo)
           
BeanIndexBuilder(BeanIndexMetaInfo beanInfo, boolean useVirtualMemory)
           
 
Method Summary
 void close()
          This method completes the Index Building process
 void write(Index index, java.lang.Object bean)
          This method writes the Objects
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BeanIndexBuilder

public BeanIndexBuilder(BeanIndexMetaInfo beanInfo)
                 throws java.lang.Exception
Parameters:
beanInfo -
Throws:
java.lang.Exception

BeanIndexBuilder

public BeanIndexBuilder(BeanIndexMetaInfo beanInfo,
                        boolean useVirtualMemory)
                 throws java.lang.Exception
Parameters:
beanInfo -
useVirtualMemory -
Throws:
java.lang.Exception
Method Detail

write

public void write(Index index,
                  java.lang.Object bean)
           throws java.lang.Exception
This method writes the Objects

Parameters:
index -
bean -
Throws:
java.lang.Exception

close

public void close()
           throws java.lang.Exception
This method completes the Index Building process

Throws:
java.lang.Exception