Interface ServerProperties
-
- All Known Implementing Classes:
BufferManager.BufferPropertyObserver
,NanoDBServer
,PropertyRegistry
public interface ServerProperties
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
DEFAULT_BASE_DIRECTORY
This is the default value of the base-directory property, ./datafiles (or .\datafiles on Windows).static int
DEFAULT_PAGE_SIZE
static java.lang.String
DEFAULT_PAGECACHE_POLICY
static int
DEFAULT_PAGECACHE_SIZE
The default page-cache size is 1MiB.static java.lang.String
DEFAULT_PLANNER_CLASS
This class is the default planner used in NanoDB, unless overridden in the configuration.static int
MAX_PAGECACHE_SIZE
This is the maximum page-cache size allowed, 1GiB.static int
MIN_PAGECACHE_SIZE
This is the minimum page-cache size allowed.static java.lang.String[]
PAGECACHE_POLICY_VALUES
static java.lang.String
PROP_BASE_DIRECTORY
The system property that specifies where all of the database's files will be stored.static java.lang.String
PROP_CREATE_INDEXES_ON_KEYS
The name of the property to enable or disable the "create indexes on keys" functionality in "CREATE TABLE ...".static java.lang.String
PROP_ENABLE_INDEXES
The system property that can be used to turn on or off indexes.static java.lang.String
PROP_ENABLE_TRANSACTIONS
The system property that can be used to turn on or off transaction processing.static java.lang.String
PROP_ENFORCE_KEY_CONSTRAINTS
static java.lang.String
PROP_FLUSH_AFTER_CMD
The name of the property to enable or disable the "flush data after each command" functionality.static java.lang.String
PROP_PAGE_SIZE
The system property that can be used to specify the default page-size to use when creating new database files.static java.lang.String
PROP_PAGECACHE_POLICY
static java.lang.String
PROP_PAGECACHE_SIZE
The system property that can be used to specify the size of the page cache in the buffer manager.static java.lang.String
PROP_PLANNER_CLASS
This property can be used to specify a different query-planner class for NanoDB to use.
-
-
-
Field Detail
-
PROP_BASE_DIRECTORY
static final java.lang.String PROP_BASE_DIRECTORY
The system property that specifies where all of the database's files will be stored.- See Also:
- Constant Field Values
-
DEFAULT_BASE_DIRECTORY
static final java.lang.String DEFAULT_BASE_DIRECTORY
This is the default value of the base-directory property, ./datafiles (or .\datafiles on Windows).
-
PROP_PAGECACHE_SIZE
static final java.lang.String PROP_PAGECACHE_SIZE
The system property that can be used to specify the size of the page cache in the buffer manager.- See Also:
- Constant Field Values
-
MIN_PAGECACHE_SIZE
static final int MIN_PAGECACHE_SIZE
This is the minimum page-cache size allowed. While it might be fun to allow smaller cache sizes, we should probably make sure that we can at least hold one page of the maximal size supported by NanoDB.- See Also:
- Constant Field Values
-
MAX_PAGECACHE_SIZE
static final int MAX_PAGECACHE_SIZE
This is the maximum page-cache size allowed, 1GiB.- See Also:
- Constant Field Values
-
DEFAULT_PAGECACHE_SIZE
static final int DEFAULT_PAGECACHE_SIZE
The default page-cache size is 1MiB.- See Also:
- Constant Field Values
-
PROP_PAGECACHE_POLICY
static final java.lang.String PROP_PAGECACHE_POLICY
- See Also:
- Constant Field Values
-
PAGECACHE_POLICY_VALUES
static final java.lang.String[] PAGECACHE_POLICY_VALUES
-
DEFAULT_PAGECACHE_POLICY
static final java.lang.String DEFAULT_PAGECACHE_POLICY
- See Also:
- Constant Field Values
-
PROP_PAGE_SIZE
static final java.lang.String PROP_PAGE_SIZE
The system property that can be used to specify the default page-size to use when creating new database files.- See Also:
- Constant Field Values
-
DEFAULT_PAGE_SIZE
static final int DEFAULT_PAGE_SIZE
- See Also:
- Constant Field Values
-
PROP_ENFORCE_KEY_CONSTRAINTS
static final java.lang.String PROP_ENFORCE_KEY_CONSTRAINTS
- See Also:
- Constant Field Values
-
PROP_ENABLE_INDEXES
static final java.lang.String PROP_ENABLE_INDEXES
The system property that can be used to turn on or off indexes.- See Also:
- Constant Field Values
-
PROP_CREATE_INDEXES_ON_KEYS
static final java.lang.String PROP_CREATE_INDEXES_ON_KEYS
The name of the property to enable or disable the "create indexes on keys" functionality in "CREATE TABLE ...".- See Also:
- Constant Field Values
-
PROP_ENABLE_TRANSACTIONS
static final java.lang.String PROP_ENABLE_TRANSACTIONS
The system property that can be used to turn on or off transaction processing.- See Also:
- Constant Field Values
-
PROP_FLUSH_AFTER_CMD
static final java.lang.String PROP_FLUSH_AFTER_CMD
The name of the property to enable or disable the "flush data after each command" functionality.- See Also:
- Constant Field Values
-
PROP_PLANNER_CLASS
static final java.lang.String PROP_PLANNER_CLASS
This property can be used to specify a different query-planner class for NanoDB to use.- See Also:
- Constant Field Values
-
DEFAULT_PLANNER_CLASS
static final java.lang.String DEFAULT_PLANNER_CLASS
This class is the default planner used in NanoDB, unless overridden in the configuration.- See Also:
- Constant Field Values
-
-