public interface Data
Modifier and Type | Method and Description |
---|---|
CodecRegistry |
codecRegistry()
Returns the registry of all the codecs currently available to convert values for this instance.
|
ProtocolVersion |
protocolVersion()
Returns the protocol version that is currently used to convert values for this instance.
|
@NonNull CodecRegistry codecRegistry()
If you obtained this object from the driver, this will be set automatically. If you created
it manually, or just deserialized it, it is set to CodecRegistry.DEFAULT
. You can
reattach this object to an existing driver instance to use its codec registry.
Detachable
@NonNull ProtocolVersion protocolVersion()
If you obtained this object from the driver, this will be set automatically. If you created
it manually, or just deserialized it, it is set to ProtocolVersion.DEFAULT
. You
can reattach this object to an existing driver instance to use its protocol version.
Detachable
Copyright © 2017–2024. All rights reserved.