Class XStreamAdapter
- java.lang.Object
-
- io.debezium.connector.oracle.AbstractStreamingAdapter
-
- io.debezium.connector.oracle.xstream.XStreamAdapter
-
- All Implemented Interfaces:
StreamingAdapter
public class XStreamAdapter extends AbstractStreamingAdapter
The streaming adapter implementation for Oracle XStream.- Author:
- Chris Cranford
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface io.debezium.connector.oracle.StreamingAdapter
StreamingAdapter.TableNameCaseSensitivity
-
-
Field Summary
Fields Modifier and Type Field Description private static StringTYPE-
Fields inherited from class io.debezium.connector.oracle.AbstractStreamingAdapter
connectorConfig
-
-
Constructor Summary
Constructors Constructor Description XStreamAdapter(OracleConnectorConfig connectorConfig)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HistoryRecordComparatorgetHistoryRecordComparator()OffsetContext.Loader<OracleOffsetContext>getOffsetContextLoader()StreamingChangeEventSource<OraclePartition,OracleOffsetContext>getSource(OracleConnection connection, EventDispatcher<OraclePartition,TableId> dispatcher, ErrorHandler errorHandler, Clock clock, OracleDatabaseSchema schema, OracleTaskContext taskContext, Configuration jdbcConfig, OracleStreamingChangeEventSourceMetrics streamingMetrics)StreamingAdapter.TableNameCaseSensitivitygetTableNameCaseSensitivity(OracleConnection connection)Returns whether table names are case sensitive.StringgetType()-
Methods inherited from class io.debezium.connector.oracle.AbstractStreamingAdapter
resolveScn
-
-
-
-
Field Detail
-
TYPE
private static final String TYPE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
XStreamAdapter
public XStreamAdapter(OracleConnectorConfig connectorConfig)
-
-
Method Detail
-
getType
public String getType()
-
getHistoryRecordComparator
public HistoryRecordComparator getHistoryRecordComparator()
-
getOffsetContextLoader
public OffsetContext.Loader<OracleOffsetContext> getOffsetContextLoader()
-
getSource
public StreamingChangeEventSource<OraclePartition,OracleOffsetContext> getSource(OracleConnection connection, EventDispatcher<OraclePartition,TableId> dispatcher, ErrorHandler errorHandler, Clock clock, OracleDatabaseSchema schema, OracleTaskContext taskContext, Configuration jdbcConfig, OracleStreamingChangeEventSourceMetrics streamingMetrics)
-
getTableNameCaseSensitivity
public StreamingAdapter.TableNameCaseSensitivity getTableNameCaseSensitivity(OracleConnection connection)
Description copied from interface:StreamingAdapterReturns whether table names are case sensitive. By default the Oracle driver returns table names that are case sensitive. The table names will be returned in upper-case by default and will only be returned in lower or mixed case when the table is created using double-quotes to preserve case. The adapter aligns with the driver's behavior and enforces that table names are case sensitive by default.- Parameters:
connection- database connection, should never benull- Returns:
- the case sensitivity setting for table names used by the connector's runtime adapter
-
-