| 限定符和类型 | 方法和说明 |
|---|---|
default Long |
JdbcDialect.approximateRowCntStatement(Connection connection,
JdbcSourceTable table)
Approximate total number of entries in the lookup table.
|
default Object |
JdbcDialect.queryNextChunkMax(Connection connection,
JdbcSourceTable table,
String columnName,
int chunkSize,
Object includedLowerBound)
Query the maximum value of the next chunk, and the next chunk must be greater than or equal
to
includedLowerBound value [min_1, max_1), [min_2, max_2),... |
default Object[] |
JdbcDialect.sampleDataFromColumn(Connection connection,
JdbcSourceTable table,
String columnName,
int samplingRate,
int fetchSize)
Performs a sampling operation on the specified column of a table in a JDBC-connected
database.
|
| 限定符和类型 | 方法和说明 |
|---|---|
Long |
MysqlDialect.approximateRowCntStatement(Connection connection,
JdbcSourceTable table) |
Object[] |
MysqlDialect.sampleDataFromColumn(Connection connection,
JdbcSourceTable table,
String columnName,
int samplingRate,
int fetchSize) |
| 限定符和类型 | 方法和说明 |
|---|---|
Long |
OracleDialect.approximateRowCntStatement(Connection connection,
JdbcSourceTable table) |
Object |
OracleDialect.queryNextChunkMax(Connection connection,
JdbcSourceTable table,
String columnName,
int chunkSize,
Object includedLowerBound) |
| 限定符和类型 | 方法和说明 |
|---|---|
Long |
PostgresDialect.approximateRowCntStatement(Connection connection,
JdbcSourceTable table) |
| 限定符和类型 | 方法和说明 |
|---|---|
Long |
SqlServerDialect.approximateRowCntStatement(Connection connection,
JdbcSourceTable table) |
Object |
SqlServerDialect.queryNextChunkMax(Connection connection,
JdbcSourceTable table,
String columnName,
int chunkSize,
Object includedLowerBound) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected JdbcSourceSplit |
ChunkSplitter.createSingleSplit(JdbcSourceTable table) |
protected Collection<JdbcSourceSplit> |
FixedChunkSplitter.createSplits(JdbcSourceTable table,
SeaTunnelRowType splitKey) |
protected Collection<JdbcSourceSplit> |
DynamicChunkSplitter.createSplits(JdbcSourceTable table,
SeaTunnelRowType splitKey) |
protected abstract Collection<JdbcSourceSplit> |
ChunkSplitter.createSplits(JdbcSourceTable table,
SeaTunnelRowType splitKeyType) |
protected Optional<SeaTunnelRowType> |
ChunkSplitter.findSplitKey(JdbcSourceTable table) |
Collection<JdbcSourceSplit> |
ChunkSplitter.generateSplits(JdbcSourceTable table) |
protected Object |
ChunkSplitter.queryMin(JdbcSourceTable table,
String columnName,
Object excludedLowerBound) |
protected org.apache.commons.lang3.tuple.Pair<Object,Object> |
ChunkSplitter.queryMinMax(JdbcSourceTable table,
String columnName) |
| 构造器和说明 |
|---|
JdbcSourceSplitEnumerator(SourceSplitEnumerator.Context<JdbcSourceSplit> context,
JdbcSourceConfig jdbcSourceConfig,
Map<TablePath,JdbcSourceTable> tables,
JdbcSourceState sourceState) |
| 限定符和类型 | 方法和说明 |
|---|---|
static Map<TablePath,JdbcSourceTable> |
JdbcCatalogUtils.getTables(JdbcConnectionConfig jdbcConnectionConfig,
List<JdbcSourceTableConfig> tablesConfig) |
Copyright © 2024 The Apache Software Foundation. All rights reserved.