Package com.impossibl.postgres.system
Class SettingsContext
- java.lang.Object
-
- com.impossibl.postgres.system.AbstractContext
-
- com.impossibl.postgres.system.SettingsContext
-
- All Implemented Interfaces:
Configuration
,Context
public class SettingsContext extends AbstractContext
-
-
Constructor Summary
Constructors Constructor Description SettingsContext(Context context, Map<String,Class<?>> typeMap)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.netty.buffer.ByteBufAllocator
getAllocator()
Charset
getCharset()
NumberFormat
getClientCurrencyFormatter()
DateTimeFormat
getClientDateFormat()
NumberFormat
getClientDecimalFormatter()
NumberFormat
getClientIntegerFormatter()
IntervalFormat
getClientIntervalFormat()
DateTimeFormat
getClientTimeFormat()
DateTimeFormat
getClientTimestampFormat()
Map<String,Class<?>>
getCustomTypeMap()
ServerConnection.KeyData
getKeyData()
Registry
getRegistry()
RequestExecutor
getRequestExecutor()
NumberFormat
getServerCurrencyFormatter()
DateTimeFormat
getServerDateFormat()
ServerInfo
getServerInfo()
IntervalFormat
getServerIntervalFormat()
DateTimeFormat
getServerTimeFormat()
DateTimeFormat
getServerTimestampFormat()
<T> T
getSetting(Setting<T> setting)
TimeZone
getTimeZone()
ZoneId
getTimeZoneId()
<T> void
setSetting(Setting<T> setting, T value)
Context
unwrap()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.impossibl.postgres.system.Configuration
getSetting
-
-
-
-
Method Detail
-
getCustomTypeMap
public Map<String,Class<?>> getCustomTypeMap()
- Specified by:
getCustomTypeMap
in interfaceContext
-
getSetting
public <T> T getSetting(Setting<T> setting)
- Specified by:
getSetting
in interfaceConfiguration
-
setSetting
public <T> void setSetting(Setting<T> setting, T value)
-
getRegistry
public Registry getRegistry()
-
getTimeZone
public TimeZone getTimeZone()
-
getTimeZoneId
public ZoneId getTimeZoneId()
-
getCharset
public Charset getCharset()
-
getServerInfo
public ServerInfo getServerInfo()
-
getKeyData
public ServerConnection.KeyData getKeyData()
-
getServerDateFormat
public DateTimeFormat getServerDateFormat()
-
getClientDateFormat
public DateTimeFormat getClientDateFormat()
-
getServerTimeFormat
public DateTimeFormat getServerTimeFormat()
-
getClientTimeFormat
public DateTimeFormat getClientTimeFormat()
-
getServerIntervalFormat
public IntervalFormat getServerIntervalFormat()
-
getClientIntervalFormat
public IntervalFormat getClientIntervalFormat()
-
getServerTimestampFormat
public DateTimeFormat getServerTimestampFormat()
-
getClientTimestampFormat
public DateTimeFormat getClientTimestampFormat()
-
getClientIntegerFormatter
public NumberFormat getClientIntegerFormatter()
-
getClientDecimalFormatter
public NumberFormat getClientDecimalFormatter()
-
getServerCurrencyFormatter
public NumberFormat getServerCurrencyFormatter()
-
getClientCurrencyFormatter
public NumberFormat getClientCurrencyFormatter()
-
getRequestExecutor
public RequestExecutor getRequestExecutor()
-
getAllocator
public io.netty.buffer.ByteBufAllocator getAllocator()
-
unwrap
public Context unwrap()
-
-