Class JdbcProtocolContext
- java.lang.Object
-
- org.apache.ignite.internal.processors.odbc.jdbc.JdbcProtocolContext
-
public class JdbcProtocolContext extends Object
Protocol context for JDBC protocol. Holds protocol version and supported features.
-
-
Constructor Summary
Constructors Constructor Description JdbcProtocolContext(ClientListenerProtocolVersion ver, EnumSet<JdbcThinFeature> features, boolean keepBinary)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisAffinityAwarenessSupported()booleanisAutoCommitSupported()booleanisFeatureSupported(JdbcThinFeature feature)booleanisStreamingSupported()booleanisTableTypesSupported()booleankeepBinary()
-
-
-
Constructor Detail
-
JdbcProtocolContext
public JdbcProtocolContext(ClientListenerProtocolVersion ver, EnumSet<JdbcThinFeature> features, boolean keepBinary)
- Parameters:
ver- Protocol version.features- Supported features.keepBinary- Wether to keep objects in binary form.
-
-
Method Detail
-
isStreamingSupported
public boolean isStreamingSupported()
- Returns:
trueif JDBC streaming supported.
-
isAutoCommitSupported
public boolean isAutoCommitSupported()
- Returns:
trueif JDBC streaming supported.
-
isTableTypesSupported
public boolean isTableTypesSupported()
- Returns:
trueif JDBC streaming supported.
-
isAffinityAwarenessSupported
public boolean isAffinityAwarenessSupported()
- Returns:
trueif JDBC streaming supported.
-
isFeatureSupported
public boolean isFeatureSupported(JdbcThinFeature feature)
- Parameters:
feature-trueif given feature supported.
-
keepBinary
public boolean keepBinary()
- Returns:
trueif binary should not be deserialized.
-
-