public class MySQLSource extends JDBCSource
Subclass of JDBCSource
.
Modifier and Type | Class and Description |
---|---|
static class |
MySQLSource.Builder |
Modifier and Type | Method and Description |
---|---|
static MySQLSource.Builder |
builder(java.lang.String hostname,
java.lang.String username,
java.lang.String password,
int port,
java.util.Map<java.lang.String,java.util.List<java.lang.String>> allowedTables) |
com.google.cloud.datastream.v1.MysqlSourceConfig |
config() |
org.apache.beam.it.gcp.datastream.JDBCSource.SourceType |
type() |
allowedTables, hostname, password, port, username
public org.apache.beam.it.gcp.datastream.JDBCSource.SourceType type()
type
in class JDBCSource
public com.google.cloud.datastream.v1.MysqlSourceConfig config()
config
in class JDBCSource
public static MySQLSource.Builder builder(java.lang.String hostname, java.lang.String username, java.lang.String password, int port, java.util.Map<java.lang.String,java.util.List<java.lang.String>> allowedTables)