public SchemaCrawlerOptionsBuilder withSchemaInfoLevel(final SchemaInfoLevelBuilder schemaInfoLevelBuilder) { if (schemaInfoLevelBuilder == null) { this.schemaInfoLevelBuilder = SchemaInfoLevelBuilder.builder() .withInfoLevel(InfoLevel.standard); } else { this.schemaInfoLevelBuilder = schemaInfoLevelBuilder; } return this; }
public SchemaCrawlerOptionsBuilder withSchemaInfoLevel(final SchemaInfoLevelBuilder schemaInfoLevelBuilder) { if (schemaInfoLevelBuilder == null) { this.schemaInfoLevelBuilder = SchemaInfoLevelBuilder.builder() .withInfoLevel(InfoLevel.standard); } else { this.schemaInfoLevelBuilder = schemaInfoLevelBuilder; } return this; }
/** * Creates a new SchemaInfoLevel with settings for standard schema * information. * * @return SchemaInfoLevel standard */ public static SchemaInfoLevel standard() { return builder().withTag("standard").withInfoLevel(InfoLevel.standard) .toOptions(); }
/** * Creates a new SchemaInfoLevel with settings for maximum schema * information. * * @return SchemaInfoLevel maximum */ public static SchemaInfoLevel maximum() { return builder().withTag("maximum").withInfoLevel(InfoLevel.maximum) .toOptions(); }
/** * Creates a new SchemaInfoLevel with settings for maximum schema * information. * * @return SchemaInfoLevel maximum */ public static SchemaInfoLevel maximum() { return builder().withTag("maximum").withInfoLevel(InfoLevel.maximum) .toOptions(); }
/** * Creates a new SchemaInfoLevel with settings for detailed schema * information. * * @return SchemaInfoLevel detailed */ public static SchemaInfoLevel detailed() { return builder().withTag("detailed").withInfoLevel(InfoLevel.detailed) .toOptions(); }
/** * Creates a new SchemaInfoLevel with settings for detailed schema * information. * * @return SchemaInfoLevel detailed */ public static SchemaInfoLevel detailed() { return builder().withTag("detailed").withInfoLevel(InfoLevel.detailed) .toOptions(); }
/** * Creates a new SchemaInfoLevel with settings for minimum schema * information. * * @return SchemaInfoLevel minimum */ public static SchemaInfoLevel minimum() { return builder().withTag("minimum").withInfoLevel(InfoLevel.minimum) .toOptions(); }
/** * Creates a new SchemaInfoLevel with settings for standard schema * information. * * @return SchemaInfoLevel standard */ public static SchemaInfoLevel standard() { return builder().withTag("standard").withInfoLevel(InfoLevel.standard) .toOptions(); }
/** * Creates a new SchemaInfoLevel with settings for minimum schema * information. * * @return SchemaInfoLevel minimum */ public static SchemaInfoLevel minimum() { return builder().withTag("minimum").withInfoLevel(InfoLevel.minimum) .toOptions(); }
/** * Default options. */ private SchemaCrawlerOptionsBuilder() { schemaInfoLevelBuilder = SchemaInfoLevelBuilder.builder() .withInfoLevel(InfoLevel.standard); title = ""; // All schemas are included by default schemaInclusionRule = new IncludeAll(); synonymInclusionRule = new ExcludeAll(); sequenceInclusionRule = new ExcludeAll(); // Note: Of the database objects, only tables are included by // default tableTypes = Optional.of(defaultTableTypes()); tableInclusionRule = new IncludeAll(); columnInclusionRule = new IncludeAll(); routineTypes = Optional.of(allRoutineTypes()); routineInclusionRule = new ExcludeAll(); routineColumnInclusionRule = new ExcludeAll(); grepColumnInclusionRule = Optional.empty(); grepRoutineColumnInclusionRule = Optional.empty(); grepDefinitionInclusionRule = Optional.empty(); }
/** * Default options. */ private SchemaCrawlerOptionsBuilder() { schemaInfoLevelBuilder = SchemaInfoLevelBuilder.builder() .withInfoLevel(InfoLevel.standard); title = ""; // All schemas are included by default schemaInclusionRule = new IncludeAll(); synonymInclusionRule = new ExcludeAll(); sequenceInclusionRule = new ExcludeAll(); // Note: Of the database objects, only tables are included by // default tableTypes = Optional.of(defaultTableTypes()); tableInclusionRule = new IncludeAll(); columnInclusionRule = new IncludeAll(); routineTypes = Optional.of(allRoutineTypes()); routineInclusionRule = new ExcludeAll(); routineColumnInclusionRule = new ExcludeAll(); grepColumnInclusionRule = Optional.empty(); grepRoutineColumnInclusionRule = Optional.empty(); grepDefinitionInclusionRule = Optional.empty(); }
.withInfoLevel(InfoLevel.minimum).setRetrieveSynonymInformation(true) .toOptions();
.withInfoLevel(InfoLevel.minimum).setRetrieveSequenceInformation(true) .toOptions();
/** * Creates a new SchemaInfoLevel with settings for standard schema * information. * * @return SchemaInfoLevel standard */ public static SchemaInfoLevel standard() { return builder().withTag("standard").withInfoLevel(InfoLevel.standard) .toOptions(); }
/** * Creates a new SchemaInfoLevel with settings for maximum schema * information. * * @return SchemaInfoLevel maximum */ public static SchemaInfoLevel maximum() { return builder().withTag("maximum").withInfoLevel(InfoLevel.maximum) .toOptions(); }
/** * Creates a new SchemaInfoLevel with settings for minimum schema * information. * * @return SchemaInfoLevel minimum */ public static SchemaInfoLevel minimum() { return builder().withTag("minimum").withInfoLevel(InfoLevel.minimum) .toOptions(); }
/** * Creates a new SchemaInfoLevel with settings for minimum schema * information. * * @return SchemaInfoLevel minimum */ public static SchemaInfoLevel minimum() { return builder().withTag("minimum").withInfoLevel(InfoLevel.minimum) .toOptions(); }
schemaInfoLevelBuilder.withInfoLevel(infoLevel); consumeOption("infolevel"); schemaInfoLevelBuilder.withInfoLevel(InfoLevel.standard);
schemaInfoLevelBuilder.withInfoLevel(infoLevel); consumeOption("infolevel"); schemaInfoLevelBuilder.withInfoLevel(InfoLevel.standard);