Tabnine Logo
SchemaCrawlerOptionsBuilder.parentTableFilterDepth
Code IndexAdd Tabnine to your IDE (free)

How to use
parentTableFilterDepth
method
in
schemacrawler.schemacrawler.SchemaCrawlerOptionsBuilder

Best Java code snippets using schemacrawler.schemacrawler.SchemaCrawlerOptionsBuilder.parentTableFilterDepth (Showing top 5 results out of 315)

origin: schemacrawler/SchemaCrawler

@Test
public void grepColumnsAndIncludeChildTables(final Connection connection)
 throws Exception
{
 SchemaCrawlerOptions schemaCrawlerOptions = SchemaCrawlerOptionsBuilder
  .builder()
  .includeGreppedColumns(new RegularExpressionInclusionRule(".*\\.BOOKAUTHORS\\..*"))
  .toOptions();
 Catalog catalog;
 Schema schema;
 Table table;
 catalog = getCatalog(connection, schemaCrawlerOptions);
 schema = catalog.lookupSchema("PUBLIC.BOOKS").get();
 assertThat("Schema PUBLIC.BOOKS not found", schema, notNullValue());
 assertThat(catalog.getTables(schema), hasSize(1));
 table = catalog.lookupTable(schema, "BOOKAUTHORS").get();
 assertThat("Table BOOKAUTHORS not found", table, notNullValue());
 schemaCrawlerOptions = SchemaCrawlerOptionsBuilder.builder()
  .fromOptions(schemaCrawlerOptions).parentTableFilterDepth(1).toOptions();
 catalog = getCatalog(connection, schemaCrawlerOptions);
 schema = catalog.lookupSchema("PUBLIC.BOOKS").get();
 assertThat("Schema PUBLIC.BOOKS not found", schema, notNullValue());
 assertThat(catalog.getTables(schema).size(), is(3));
 table = catalog.lookupTable(schema, "BOOKAUTHORS").get();
 assertThat("Table BOOKAUTHORS not found", table, notNullValue());
 table = catalog.lookupTable(schema, "BOOKS").get();
 assertThat("Table BOOKS not found", table, notNullValue());
 table = catalog.lookupTable(schema, "AUTHORS").get();
 assertThat("Table AUTHORS not found", table, notNullValue());
}
origin: schemacrawler/SchemaCrawler

optionsBuilder.parentTableFilterDepth(parentTableFilterDepth);
consumeOption("parents");
optionsBuilder.parentTableFilterDepth(0);
origin: schemacrawler/SchemaCrawler

optionsBuilder.parentTableFilterDepth(parentTableFilterDepth);
consumeOption("parents");
optionsBuilder.parentTableFilterDepth(0);
origin: us.fatehi/schemacrawler-commandline

optionsBuilder.parentTableFilterDepth(parentTableFilterDepth);
consumeOption("parents");
optionsBuilder.parentTableFilterDepth(0);
origin: us.fatehi/schemacrawler

optionsBuilder.parentTableFilterDepth(parentTableFilterDepth);
consumeOption("parents");
optionsBuilder.parentTableFilterDepth(0);
schemacrawler.schemacrawlerSchemaCrawlerOptionsBuilderparentTableFilterDepth

Popular methods of SchemaCrawlerOptionsBuilder

  • builder
  • toOptions
  • withSchemaInfoLevel
  • includeRoutines
  • includeSchemas
  • includeTables
  • newSchemaCrawlerOptions
  • includeColumns
  • includeGreppedColumns
  • includeGreppedDefinitions
  • includeGreppedRoutineColumns
  • includeSequences
  • includeGreppedRoutineColumns,
  • includeSequences,
  • includeSynonyms,
  • noEmptyTables,
  • tableTypes,
  • <init>,
  • allRoutineTypes,
  • childTableFilterDepth,
  • defaultTableTypes

Popular in Java

  • Making http post requests using okhttp
  • onRequestPermissionsResult (Fragment)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • findViewById (Activity)
  • GridLayout (java.awt)
    The GridLayout class is a layout manager that lays out a container's components in a rectangular gri
  • String (java.lang)
  • Hashtable (java.util)
    A plug-in replacement for JDK1.5 java.util.Hashtable. This version is based on org.cliffc.high_scale
  • Pattern (java.util.regex)
    Patterns are compiled regular expressions. In many cases, convenience methods such as String#matches
  • Response (javax.ws.rs.core)
    Defines the contract between a returned instance and the runtime when an application needs to provid
  • Project (org.apache.tools.ant)
    Central representation of an Ant project. This class defines an Ant project with all of its targets,
  • Best plugins for Eclipse
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now