public interface DatastoreConfigProperties extends ConfigPropertySet, DataContextBound
Modifier and Type | Interface and Description |
---|---|
static class |
DatastoreConfigProperties.DatastoreConfigPropertiesImpl
Default implementation
|
ConfigPropertySet.Builder<C extends ConfigPropertySet>, ConfigPropertySet.ConfigurationException
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_NAME
Configuration property set default name
|
static ConfigProperty<String> |
DIALECT
The fully qualified class name of the dialect to use, if the concrete
Datastore supports
dialects. |
static ConfigProperty<Boolean> |
TRACE
Enable datastore operations tracing (for example, logging the concrete query definitions)
|
Modifier and Type | Method and Description |
---|---|
static ConfigPropertySet.Builder<DatastoreConfigProperties> |
builder()
Builder to create property set instances bound to a property data source, without data context id specification.
|
static ConfigPropertySet.Builder<DatastoreConfigProperties> |
builder(String dataContextId)
Builder to create property set instances bound to a property data source.
|
default String |
getDialect()
Get the dialect class name.
|
default boolean |
isTrace()
Gets whether datastore operations tracing is enabled.
|
getConfigPropertyName, getConfigPropertyValue, getConfigPropertyValue, getConfigPropertyValueOrElse, getName, getSubPropertiesUsingPrefix, hasConfigProperty
getDataContextId
static final String DEFAULT_NAME
static final ConfigProperty<Boolean> TRACE
static final ConfigProperty<String> DIALECT
Datastore
supports
dialects.default boolean isTrace()
true
if datastore operations tracing is enabled, false
otherwisedefault String getDialect()
null
if not availablestatic ConfigPropertySet.Builder<DatastoreConfigProperties> builder(String dataContextId)
dataContextId
- Optional data context id to which Datastore
is boundstatic ConfigPropertySet.Builder<DatastoreConfigProperties> builder()
Copyright © 2019 The Holon Platform. All rights reserved.