/* Copyright (C) 2009  CSE,IIT Bombay  http://www.cse.iitb.ac.in

This file is part of the ConStore open source storage facility for concept-nets.

ConStore is free software and distributed under the 
Creative Commons Attribution-Noncommercial-No Derivative Works 3.0 Unported License;
you can copy, distribute and transmit the work
with the work attribution in the manner specified by the author or licensor.
You may not use this work for commercial purposes and may not alter, 
transform, or build upon this work.

Please refer the legal code of the license, available at
http://creativecommons.org/licenses/by-nc-nd/3.0/legalcode

ConStore is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.  */

package iitb.con.core;

/**
 * Contains the static constants of the project
 * 
 * @author Prathab K
 *
 */
public class ConStoreConstants {


    /** Name of the relations index file for ids */
    public static final String RELATION_ATTR = "_relation_";
    
    /** Name of the relations index file for ids */
    public static final String RELATION_ID_IDX_FILE = "_relation_id";
    
    /** Name of meta model file name */
    public static final String META_FILE = "meta";
    
    /** Name of model (instances) file name */
    public static final String NET_FILE = "net";
    
    /** Name of the instance table file name */
    public static final String NET_FSL_FILE = "nfsl";
    
    /** Name of the instance table file name */
    public static final String INSTANCE_TABLE_FILE = "ntab";
    
    /** Name of the relation table file name */
    public static final String RELATION_TABLE_FILE = "rtab";
    
    /** Name of the meta index for relation table file */
    public static final String RELATION_IDX_FILE = "index/ridx";
    
    /** Name of the properties file name */
    public static final String PROPERTIES_FILE = "prop";
    
    /** Name of the relations index file for names */
    public static final String RELATION_NAME_IDX_FILE = "_relation_name";
    
    /** Instance cache size */
    public static long INSTANCE_CACHE_SIZE = 1024 * 1024; //(default 1MB)
    
    /** Query cache size */
    public static long QUERY_CACHE_SIZE = 1024 * 1024; //(default 1MB)
    
    /** IO Buffer size */
    public static int IO_BUFFER_SIZE = 4 * 1024;  //default (4KB)
}