org.gcube.indexmanagement.featureindexlibrary.vafile.algo
Class PopulateIndex

java.lang.Object
  extended by org.gcube.indexmanagement.featureindexlibrary.vafile.algo.PopulateIndex

public class PopulateIndex
extends Object

Populates an index

Author:
UoA

Constructor Summary
PopulateIndex(VAFileParams params, boolean firstcreated)
          Creates a new instance
 
Method Summary
 void close()
          Close population
 void open()
          Open for population
 void populate()
          populate the index
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PopulateIndex

public PopulateIndex(VAFileParams params,
                     boolean firstcreated)
              throws Exception
Creates a new instance

Parameters:
params - The VAFile parameters
firstcreated - wheter or not this index has been previously populated
Throws:
Exception - An error
Method Detail

open

public void open()
          throws Exception
Open for population

Throws:
Exception - An error

populate

public void populate()
              throws Exception
populate the index

Throws:
Exception - An error

close

public void close()
           throws Exception
Close population

Throws:
Exception - An error


Copyright © 2012. All Rights Reserved.