public interface Scope
The scope of the various objects contained in this type (e.g.
configuration()
, settings()
, etc.) are implementation
dependent and will be specified by the concrete subtype of Scope
.
Modifier and Type | Method and Description |
---|---|
Configuration |
configuration()
The configuration of the current scope.
|
java.util.Map<java.lang.Object,java.lang.Object> |
data()
Get all custom data from this
Scope . |
java.lang.Object |
data(java.lang.Object key)
Get some custom data from this
Scope . |
java.lang.Object |
data(java.lang.Object key,
java.lang.Object value)
Set some custom data to this
Scope . |
SQLDialect |
dialect()
The
SQLDialect wrapped by this context. |
SQLDialect |
family()
The
SQLDialect.family() wrapped by this context. |
Settings |
settings()
The settings wrapped by this context.
|
Configuration configuration()
Settings settings()
This method is a convenient way of accessing
configuration().settings()
.
SQLDialect dialect()
SQLDialect
wrapped by this context.
This method is a convenient way of accessing
configuration().dialect()
.
SQLDialect family()
SQLDialect.family()
wrapped by this context.
This method is a convenient way of accessing
configuration().dialect().family()
.
java.util.Map<java.lang.Object,java.lang.Object> data()
Scope
.
This is custom data that was previously set to the context using
data(Object, Object)
. Use custom data if you want to pass data
to QueryPart
objects for a given Scope
.
null
java.lang.Object data(java.lang.Object key)
Scope
.
This is custom data that was previously set to the context using
data(Object, Object)
. Use custom data if you want to pass data
to QueryPart
objects for a given Scope
key
- A key to identify the custom datanull
if no such data is contained
in this Scope
java.lang.Object data(java.lang.Object key, java.lang.Object value)
Scope
.
This is custom data that was previously set to the context using
data(Object, Object)
. Use custom data if you want to pass data
to QueryPart
objects for a given Scope
.
key
- A key to identify the custom datavalue
- The custom datanull
if no data
was previously set for the given keyCopyright © 2014. All Rights Reserved.