public static interface Meta.ConnectionProperties
Connection properties.
java.lang types are used here so that null can be used to indicate
a value has no been set.
Note: this interface is considered "experimental" and may undergo further changes as this
functionality is extended to other aspects of state management for
Connection, Statement, and ResultSet.
| Modifier and Type | Method and Description |
|---|---|
String |
getCatalog() |
String |
getSchema() |
Integer |
getTransactionIsolation() |
Boolean |
isAutoCommit() |
boolean |
isEmpty() |
Boolean |
isReadOnly() |
Meta.ConnectionProperties |
merge(Meta.ConnectionProperties that)
Overwrite fields in
this with any non-null fields in that |
Meta.ConnectionProperties |
setAutoCommit(boolean val)
Set
autoCommit status. |
Meta.ConnectionProperties |
setCatalog(String val)
Set
catalog. |
Meta.ConnectionProperties |
setReadOnly(boolean val)
Set
readOnly status. |
Meta.ConnectionProperties |
setSchema(String val)
Set
schema. |
Meta.ConnectionProperties |
setTransactionIsolation(int val)
Set
transactionIsolation status. |
org.apache.calcite.avatica.proto.Common.ConnectionProperties |
toProto() |
Meta.ConnectionProperties merge(Meta.ConnectionProperties that)
this with any non-null fields in thatthisboolean isEmpty()
true when no properties have been set, false otherwise.Meta.ConnectionProperties setAutoCommit(boolean val)
autoCommit status.thisBoolean isAutoCommit()
Meta.ConnectionProperties setReadOnly(boolean val)
readOnly status.thisBoolean isReadOnly()
Meta.ConnectionProperties setTransactionIsolation(int val)
transactionIsolation status.thisInteger getTransactionIsolation()
Meta.ConnectionProperties setCatalog(String val)
catalog.thisString getCatalog()
Meta.ConnectionProperties setSchema(String val)
schema.thisString getSchema()
org.apache.calcite.avatica.proto.Common.ConnectionProperties toProto()
Copyright © 2012-2025 Apache Software Foundation. All Rights Reserved.