Package com.zendesk.maxwell.schema
Class SchemaCapturer
- java.lang.Object
-
- com.zendesk.maxwell.schema.SchemaCapturer
-
- All Implemented Interfaces:
AutoCloseable
public class SchemaCapturer extends Object implements AutoCloseable
-
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>
IGNORED_DATABASES
-
Constructor Summary
Constructors Constructor Description SchemaCapturer(Connection c, CaseSensitivity sensitivity)
SchemaCapturer(Connection c, CaseSensitivity sensitivity, String dbName)
SchemaCapturer(Connection c, CaseSensitivity sensitivity, String dbName, String tblName)
-
-
-
Constructor Detail
-
SchemaCapturer
public SchemaCapturer(Connection c, CaseSensitivity sensitivity) throws SQLException
- Throws:
SQLException
-
SchemaCapturer
public SchemaCapturer(Connection c, CaseSensitivity sensitivity, String dbName) throws SQLException
- Throws:
SQLException
-
SchemaCapturer
public SchemaCapturer(Connection c, CaseSensitivity sensitivity, String dbName, String tblName) throws SQLException
- Throws:
SQLException
-
-
Method Detail
-
capture
public Schema capture() throws SQLException
- Throws:
SQLException
-
close
public void close() throws SQLException
- Specified by:
close
in interfaceAutoCloseable
- Throws:
SQLException
-
-