cgl.narada.service.storage.file
Class BuildDB

java.lang.Object
  extended by cgl.narada.service.storage.file.BuildDB

public class BuildDB
extends Object

This class allocate and create database data and index files.


Field Summary
static String DB_SUFFIX
           
static String dir
          Directory in which all the database data and index files are contained.
static com.coyotegulch.jisp.IndexedObjectDatabase entDB
           
static com.coyotegulch.jisp.BTreeIndex entIndex
           
static com.coyotegulch.jisp.IndexedObjectDatabase entInvDB
           
static com.coyotegulch.jisp.BTreeIndex entInvIndex
           
static String ENTITY
           
static String ENTITY_DB
           
static String ENTITY_INDEX
           
static String ENTITY_INVENTORY_DB
           
static String ENTITY_INVENTORY_INDEX
           
static String ENTITY_TEMPLATE_DB
           
static String ENTITY_TEMPLATE_INDEX
           
static com.coyotegulch.jisp.IndexedObjectDatabase entTempDB
           
static com.coyotegulch.jisp.BTreeIndex entTempIndex
           
static String INDEX_SUFFIX
           
static com.coyotegulch.jisp.IndexedObjectDatabase invDB
           
static String INVENTORY
           
static String INVENTORY_DB
           
static String INVENTORY_INDEX
           
static String INVENTORY2_INDEX
           
static com.coyotegulch.jisp.BTreeIndex invIndex
           
static com.coyotegulch.jisp.BTreeIndex invIndex2
           
static com.coyotegulch.jisp.IndexedObjectDatabase profDB
           
static String PROFILE
           
static String PROFILE_DB
           
static String PROFILE_INDEX
           
static com.coyotegulch.jisp.BTreeIndex profIndex
           
static String sep
           
static com.coyotegulch.jisp.IndexedObjectDatabase tempDB
           
static com.coyotegulch.jisp.BTreeIndex tempIndex
           
static String TEMPLATE
           
static String TEMPLATE_DB
           
static String TEMPLATE_INDEX
           
 
Constructor Summary
BuildDB()
           
 
Method Summary
 boolean build()
           
 void setProperties(Properties props)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sep

public static final String sep

dir

public static String dir
Directory in which all the database data and index files are contained.


DB_SUFFIX

public static final String DB_SUFFIX
See Also:
Constant Field Values

INDEX_SUFFIX

public static final String INDEX_SUFFIX
See Also:
Constant Field Values

ENTITY

public static final String ENTITY
See Also:
Constant Field Values

PROFILE

public static final String PROFILE
See Also:
Constant Field Values

TEMPLATE

public static final String TEMPLATE
See Also:
Constant Field Values

INVENTORY

public static final String INVENTORY
See Also:
Constant Field Values

ENTITY_DB

public static String ENTITY_DB

PROFILE_DB

public static String PROFILE_DB

TEMPLATE_DB

public static String TEMPLATE_DB

INVENTORY_DB

public static String INVENTORY_DB

ENTITY_INVENTORY_DB

public static String ENTITY_INVENTORY_DB

ENTITY_TEMPLATE_DB

public static String ENTITY_TEMPLATE_DB

ENTITY_INDEX

public static String ENTITY_INDEX

PROFILE_INDEX

public static String PROFILE_INDEX

TEMPLATE_INDEX

public static String TEMPLATE_INDEX

INVENTORY_INDEX

public static String INVENTORY_INDEX

INVENTORY2_INDEX

public static String INVENTORY2_INDEX

ENTITY_TEMPLATE_INDEX

public static String ENTITY_TEMPLATE_INDEX

ENTITY_INVENTORY_INDEX

public static String ENTITY_INVENTORY_INDEX

invDB

public static com.coyotegulch.jisp.IndexedObjectDatabase invDB

entDB

public static com.coyotegulch.jisp.IndexedObjectDatabase entDB

profDB

public static com.coyotegulch.jisp.IndexedObjectDatabase profDB

tempDB

public static com.coyotegulch.jisp.IndexedObjectDatabase tempDB

entTempDB

public static com.coyotegulch.jisp.IndexedObjectDatabase entTempDB

entInvDB

public static com.coyotegulch.jisp.IndexedObjectDatabase entInvDB

invIndex

public static com.coyotegulch.jisp.BTreeIndex invIndex

invIndex2

public static com.coyotegulch.jisp.BTreeIndex invIndex2

entIndex

public static com.coyotegulch.jisp.BTreeIndex entIndex

profIndex

public static com.coyotegulch.jisp.BTreeIndex profIndex

tempIndex

public static com.coyotegulch.jisp.BTreeIndex tempIndex

entTempIndex

public static com.coyotegulch.jisp.BTreeIndex entTempIndex

entInvIndex

public static com.coyotegulch.jisp.BTreeIndex entInvIndex
Constructor Detail

BuildDB

public BuildDB()
Method Detail

build

public boolean build()

setProperties

public void setProperties(Properties props)


For comments and suggestions please send e-mail to The NaradaBrokering Project