package io.anyway.sherlock.spring;

public interface Constants {
	
	final public static String DATA_SOURCE_PARTITIONS=  "data-source-partitions";
	final public static String DATA_SOURCE_PARTITION=  "data-source-partition";
	final public static String MASTER_DATA_SOURCE=  "master-data-source";
	final public static String SLAVE_DATA_SOURCE=  "slave-data-source";
	final public static String DATA_BASE_TYPE= "database-type";
	final public static String POOL_SIZE= "pool-size";
	final public static String TIME_OUT= "timeout";
	final public static String READ_STRATEGY= "read-strategy";
	final public static String DATABASE_ROUTER= "database-router";
	final public static String SHARDING_CACHE= "sharding-cache";
	final public static String DATA_SOURCE_NAME= "name";
	final public static String DATA_SOURCE_REF= "ref";
	final public static String DATA_SOURCE_WEIGHT= "weight";
	
	final public static String TABLES= "tables";
	final public static String GLOBAL_TABLE= "global-table";
	final public static String LOGIC_TABLE= "logic-table";
	final public static String LOGIC_CHILD_TABLE= "logic-child-table";
	final public static String TABLE_NAME= "name";
	final public static String PARTITION_DATA_SOURCE_NAMES= "data-sources";
	final public static String PRIMARY_KEY= "primary-key";
	final public static String FOREIGN_KEY= "foreign-key";
	final public static String TABLE_STRATEGY= "table-strategy";
	final public static String DATA_BASE_STRATEGY= "database-strategy";
	final public static String TABLE_POSTFIXES= "table-postfixes";
}
