public SchemaCrawlerOptionsBuilder includeTables(final InclusionRule tableInclusionRule) { if (tableInclusionRule == null) { this.tableInclusionRule = new IncludeAll(); } else { this.tableInclusionRule = tableInclusionRule; } return this; }
public SchemaCrawlerOptionsBuilder includeColumns(final InclusionRule columnInclusionRule) { if (columnInclusionRule == null) { this.columnInclusionRule = new IncludeAll(); } else { this.columnInclusionRule = columnInclusionRule; } return this; }
public SchemaCrawlerOptionsBuilder includeTables(final InclusionRule tableInclusionRule) { if (tableInclusionRule == null) { this.tableInclusionRule = new IncludeAll(); } else { this.tableInclusionRule = tableInclusionRule; } return this; }
public SchemaCrawlerOptionsBuilder includeColumns(final InclusionRule columnInclusionRule) { if (columnInclusionRule == null) { this.columnInclusionRule = new IncludeAll(); } else { this.columnInclusionRule = columnInclusionRule; } return this; }
public SchemaCrawlerOptionsBuilder includeSchemas(final InclusionRule schemaInclusionRule) { if (schemaInclusionRule == null) { this.schemaInclusionRule = new IncludeAll(); } else { this.schemaInclusionRule = schemaInclusionRule; } return this; }
public SchemaCrawlerOptionsBuilder includeRoutineColumns(final InclusionRule routineColumnInclusionRule) { if (routineColumnInclusionRule == null) { this.routineColumnInclusionRule = new IncludeAll(); } else { this.routineColumnInclusionRule = routineColumnInclusionRule; } return this; }
public SchemaCrawlerOptionsBuilder includeRoutineColumns(final InclusionRule routineColumnInclusionRule) { if (routineColumnInclusionRule == null) { this.routineColumnInclusionRule = new IncludeAll(); } else { this.routineColumnInclusionRule = routineColumnInclusionRule; } return this; }
public SchemaCrawlerOptionsBuilder includeSchemas(final InclusionRule schemaInclusionRule) { if (schemaInclusionRule == null) { this.schemaInclusionRule = new IncludeAll(); } else { this.schemaInclusionRule = schemaInclusionRule; } return this; }
DatabaseObjectFilter(final SchemaCrawlerOptions options, final InclusionRule databaseObjectInclusionRule) { if (options != null) { schemaInclusionRule = options.getSchemaInclusionRule(); } else { schemaInclusionRule = new IncludeAll(); } if (databaseObjectInclusionRule != null) { this.databaseObjectInclusionRule = databaseObjectInclusionRule; } else { this.databaseObjectInclusionRule = new IncludeAll(); } }
DatabaseObjectFilter(final SchemaCrawlerOptions options, final InclusionRule databaseObjectInclusionRule) { if (options != null) { schemaInclusionRule = options.getSchemaInclusionRule(); } else { schemaInclusionRule = new IncludeAll(); } if (databaseObjectInclusionRule != null) { this.databaseObjectInclusionRule = databaseObjectInclusionRule; } else { this.databaseObjectInclusionRule = new IncludeAll(); } }
public SchemaCrawlerOptionsBuilder includeAllSynonyms() { includeSynonyms(new IncludeAll()); return this; }
public SchemaCrawlerOptionsBuilder includeAllRoutines() { includeRoutines(new IncludeAll()); return this; }
public SchemaCrawlerOptionsBuilder includeAllRoutines() { includeRoutines(new IncludeAll()); return this; }
public SchemaCrawlerOptionsBuilder includeAllSynonyms() { includeSynonyms(new IncludeAll()); return this; }
public SchemaCrawlerOptionsBuilder includeAllSequences() { includeSequences(new IncludeAll()); return this; }
public SchemaCrawlerOptionsBuilder includeAllSequences() { includeSequences(new IncludeAll()); return this; }
/** * Creates an exclusion rule, which includes everything, and then * excludes a pattern. If no pattern is provided, include everything, * since there are no excludes specified. * * @param optionName * Option to look up. * @return Inclusion rule. */ public InclusionRule getExclusionRule(final String optionName) { return getInclusionRuleWithDefault(null, optionName, () -> new IncludeAll()); }
/** * Creates an exclusion rule, which includes everything, and then * excludes a pattern. If no pattern is provided, include everything, * since there are no excludes specified. * * @param optionName * Option to look up. * @return Inclusion rule. */ public InclusionRule getExclusionRule(final String optionName) { return getInclusionRuleWithDefault(null, optionName, () -> new IncludeAll()); }
/** * Set include pattern. Exclude nothing. * * @param patternInclude * Inclusion pattern. If null, includes everything. */ public RegularExpressionInclusionRule(final Pattern patternInclude) { if (patternInclude == null) { inclusionRule = new IncludeAll(); } else { inclusionRule = new RegularExpressionRule(patternInclude, null); } }
/** * Set include pattern. Exclude nothing. * * @param patternInclude * Inclusion pattern. If null, includes everything. */ public RegularExpressionInclusionRule(final Pattern patternInclude) { if (patternInclude == null) { inclusionRule = new IncludeAll(); } else { inclusionRule = new RegularExpressionRule(patternInclude, null); } }