Package io.debezium.connector.oracle
Interface StreamingAdapter
-
- All Known Implementing Classes:
AbstractStreamingAdapter,LogMinerAdapter,XStreamAdapter
public interface StreamingAdapterContract that defines unique behavior for each possibleconnection.adapter.- Author:
- Chris Cranford
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classStreamingAdapter.TableNameCaseSensitivityControls whether table names are viewed as case-sensitive or not.
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description HistoryRecordComparatorgetHistoryRecordComparator()OffsetContext.Loader<OracleOffsetContext>getOffsetContextLoader()StreamingChangeEventSource<OracleOffsetContext>getSource(OracleConnection connection, EventDispatcher<TableId> dispatcher, ErrorHandler errorHandler, Clock clock, OracleDatabaseSchema schema, OracleTaskContext taskContext, Configuration jdbcConfig, OracleStreamingChangeEventSourceMetrics streamingMetrics)default StreamingAdapter.TableNameCaseSensitivitygetTableNameCaseSensitivity(OracleConnection connection)Returns whether table names are case sensitive.StringgetType()
-
-
-
Method Detail
-
getType
String getType()
-
getHistoryRecordComparator
HistoryRecordComparator getHistoryRecordComparator()
-
getOffsetContextLoader
OffsetContext.Loader<OracleOffsetContext> getOffsetContextLoader()
-
getSource
StreamingChangeEventSource<OracleOffsetContext> getSource(OracleConnection connection, EventDispatcher<TableId> dispatcher, ErrorHandler errorHandler, Clock clock, OracleDatabaseSchema schema, OracleTaskContext taskContext, Configuration jdbcConfig, OracleStreamingChangeEventSourceMetrics streamingMetrics)
-
getTableNameCaseSensitivity
default StreamingAdapter.TableNameCaseSensitivity getTableNameCaseSensitivity(OracleConnection connection)
Returns 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
-
-