Class SchemaReader.Options

java.lang.Object
org.ivoa.dm.tapschema.utils.SchemaReader.Options
Enclosing class:
SchemaReader

public static final class SchemaReader.Options extends Object
Options controlling metadata harvesting. This class gives some control over the schema that are harvested and the types of tables that are included. The options are designed to be fluent, so that they can be easily chained together. For example:
   new SchemaReader(connection).translate(new SchemaReader.Options()
     .setIncludeSystemSchemas(true)
     .setIncludeSchemas(Set.of("PUBLIC", "ASTRO"))
     .setTableTypes("TABLE", "VIEW"));