| Package | Description |
|---|---|
| io.debezium.jdbc | |
| io.debezium.relational | |
| io.debezium.relational.ddl |
| Modifier and Type | Method and Description |
|---|---|
static void |
JdbcConnection.columnsFor(ResultSet resultSet,
Consumer<Column> consumer)
Determine the column definitions for the supplied result set and add each column to the specified consumer.
|
| Modifier and Type | Class and Description |
|---|---|
(package private) class |
ColumnImpl |
| Modifier and Type | Field and Description |
|---|---|
private List<Column> |
TableImpl.columnDefs |
private Map<String,Column> |
TableImpl.columnsByLowercaseName |
private LinkedHashMap<String,Column> |
TableEditorImpl.sortedColumns |
| Modifier and Type | Method and Description |
|---|---|
Column |
TableImpl.columnWithName(String name) |
Column |
TableEditorImpl.columnWithName(String name) |
Column |
TableEditor.columnWithName(String name)
Get the definition for the column in this table with the supplied name.
|
Column |
Table.columnWithName(String name)
Get the definition for the column in this table with the supplied name.
|
Column |
ColumnEditorImpl.create() |
Column |
ColumnEditor.create()
Obtain an immutable column definition representing the current state of this editor.
|
| Modifier and Type | Method and Description |
|---|---|
List<Column> |
TableImpl.columns() |
List<Column> |
TableEditorImpl.columns() |
List<Column> |
TableEditor.columns()
Get the definitions for the columns in this table.
|
List<Column> |
Table.columns()
Get the definitions for the columns in this table, in the same order in which the table defines them.
|
default List<Column> |
Table.filterColumns(Predicate<Column> predicate)
Utility to obtain a copy of a list of the columns that satisfy the specified predicate.
|
default List<Column> |
Table.nonPrimaryKeyColumns()
Get the columns that are not included in the primary key for this table.
|
default List<Column> |
Table.primaryKeyColumns()
Get the columns that make up the primary key for this table.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
TableEditorImpl.add(Column defn) |
default TableEditor |
TableEditor.addColumn(Column column)
Add one columns to this table, regardless of the
position of the supplied
columns. |
TableEditor |
TableEditorImpl.addColumns(Column... columns) |
TableEditor |
TableEditor.addColumns(Column... columns)
Add one or more columns to this table, regardless of the
position of the supplied
columns. |
protected void |
TableSchemaBuilder.addField(org.apache.kafka.connect.data.SchemaBuilder builder,
Column column)
Add to the supplied
SchemaBuilder a field for the column with the given information. |
int |
ColumnEditorImpl.compareTo(Column that) |
default int |
Column.compareTo(Column that) |
protected TableSchemaBuilder.ValueConverter |
TableSchemaBuilder.createValueConverterFor(Column column,
org.apache.kafka.connect.data.Field fieldDefn)
Create a
TableSchemaBuilder.ValueConverter that can be used to convert row values for the given column into the Kafka Connect value
object described by the field definition. |
protected Object |
TableSchemaBuilder.handleUnknownData(Column column,
org.apache.kafka.connect.data.Field fieldDefn,
Object data)
Convert a value object from the specified column to the value type described by the specified Kafka Connect
field. |
TableEditor |
TableEditorImpl.setColumns(Column... columns) |
TableEditor |
TableEditor.setColumns(Column... columns)
Set this table's column definitions.
|
| Modifier and Type | Method and Description |
|---|---|
TableEditor |
TableEditorImpl.addColumns(Iterable<Column> columns) |
TableEditor |
TableEditor.addColumns(Iterable<Column> columns)
Add one or more columns to the end of this table's list of columns, regardless of the
position of the supplied columns. |
protected TableSchemaBuilder.ValueConverter[] |
TableSchemaBuilder.convertersForColumns(org.apache.kafka.connect.data.Schema schema,
List<Column> columns) |
protected Function<Object[],Object> |
TableSchemaBuilder.createKeyGenerator(org.apache.kafka.connect.data.Schema schema,
String columnSetName,
List<Column> columns)
Creates the function that produces a Kafka Connect key object for a row of data.
|
protected Function<Object[],org.apache.kafka.connect.data.Struct> |
TableSchemaBuilder.createValueGenerator(org.apache.kafka.connect.data.Schema schema,
String columnSetName,
List<Column> columns)
Creates the function that produces a Kafka Connect value object for a row of data.
|
protected org.apache.kafka.connect.data.Field[] |
TableSchemaBuilder.fieldsForColumns(org.apache.kafka.connect.data.Schema schema,
List<Column> columns) |
default List<String> |
Table.filterColumnNames(Predicate<Column> predicate)
Utility to obtain a copy of a list of the names of those columns that satisfy the specified predicate.
|
default List<Column> |
Table.filterColumns(Predicate<Column> predicate)
Utility to obtain a copy of a list of the columns that satisfy the specified predicate.
|
protected int[] |
TableSchemaBuilder.indexesForColumns(List<Column> columns) |
Table |
Tables.overwriteTable(TableId tableId,
List<Column> columnDefs,
List<String> primaryKeyColumnNames)
Add or update the definition for the identified table.
|
void |
Tables.TableChanger.rewrite(List<Column> columnDefinitions,
List<String> primaryKeyNames) |
TableEditor |
TableEditorImpl.setColumns(Iterable<Column> columns) |
TableEditor |
TableEditor.setColumns(Iterable<Column> columns)
Set this table's column definitions.
|
| Constructor and Description |
|---|
TableImpl(TableId id,
List<Column> sortedColumns,
List<String> pkColumnNames) |
| Modifier and Type | Method and Description |
|---|---|
protected Column |
DdlParser.createColumnFromConstant(String columnName,
String constantValue) |
| Modifier and Type | Method and Description |
|---|---|
protected Map<String,Column> |
DdlParser.parseColumnsInSelectClause(TokenStream.Marker start)
Parse the column information in the SELECT clause.
|
Copyright © 2016 JBoss by Red Hat. All rights reserved.