private SchemaCrawlerCommand loadCommand() throws SchemaCrawlerException { // NOTE: The daisy chain command may change the provided output // options for each chained command final SchemaCrawlerCommand scCommand = new CommandDaisyChain(command); scCommand.setSchemaCrawlerOptions(schemaCrawlerOptions); scCommand.setOutputOptions(outputOptions); scCommand.setAdditionalConfiguration(additionalConfiguration); scCommand.setIdentifiers(schemaRetrievalOptions.getIdentifiers()); return scCommand; }
@Override public SchemaRetrievalOptionsBuilder fromOptions(final SchemaRetrievalOptions options) { if (options == null) { return this; } dbServerType = options.getDatabaseServerType(); informationSchemaViewsBuilder = InformationSchemaViewsBuilder .builder(options.getInformationSchemaViews()); overridesSupportSchemas = Optional.empty(); overridesSupportsCatalogs = Optional.empty(); supportsCatalogs = options.isSupportsCatalogs(); supportsSchemas = options.isSupportsSchemas(); identifierQuoteString = options.getIdentifierQuoteString(); identifiers = options.getIdentifiers(); tableRetrievalStrategy = options.getTableRetrievalStrategy(); tableColumnRetrievalStrategy = options.getTableColumnRetrievalStrategy(); pkRetrievalStrategy = options.getPrimaryKeyRetrievalStrategy(); indexRetrievalStrategy = options.getIndexRetrievalStrategy(); fkRetrievalStrategy = options.getForeignKeyRetrievalStrategy(); procedureRetrievalStrategy = options.getProcedureRetrievalStrategy(); procedureColumnRetrievalStrategy = options .getProcedureColumnRetrievalStrategy(); functionRetrievalStrategy = options.getFunctionRetrievalStrategy(); functionColumnRetrievalStrategy = options .getFunctionColumnRetrievalStrategy(); overridesTypeMap = Optional.empty(); return this; }
@Override public SchemaRetrievalOptionsBuilder fromOptions(final SchemaRetrievalOptions options) { if (options == null) { return this; } dbServerType = options.getDatabaseServerType(); informationSchemaViewsBuilder = InformationSchemaViewsBuilder .builder(options.getInformationSchemaViews()); overridesSupportSchemas = Optional.empty(); overridesSupportsCatalogs = Optional.empty(); supportsCatalogs = options.isSupportsCatalogs(); supportsSchemas = options.isSupportsSchemas(); identifierQuoteString = options.getIdentifierQuoteString(); identifiers = options.getIdentifiers(); tableRetrievalStrategy = options.getTableRetrievalStrategy(); tableColumnRetrievalStrategy = options.getTableColumnRetrievalStrategy(); pkRetrievalStrategy = options.getPrimaryKeyRetrievalStrategy(); indexRetrievalStrategy = options.getIndexRetrievalStrategy(); fkRetrievalStrategy = options.getForeignKeyRetrievalStrategy(); procedureRetrievalStrategy = options.getProcedureRetrievalStrategy(); procedureColumnRetrievalStrategy = options .getProcedureColumnRetrievalStrategy(); functionRetrievalStrategy = options.getFunctionRetrievalStrategy(); functionColumnRetrievalStrategy = options .getFunctionColumnRetrievalStrategy(); overridesTypeMap = Optional.empty(); return this; }
private SchemaCrawlerCommand loadCommand() throws SchemaCrawlerException { // NOTE: The daisy chain command may change the provided output // options for each chained command final SchemaCrawlerCommand scCommand = new CommandDaisyChain(command); scCommand.setSchemaCrawlerOptions(schemaCrawlerOptions); scCommand.setOutputOptions(outputOptions); scCommand.setAdditionalConfiguration(additionalConfiguration); scCommand.setIdentifiers(schemaRetrievalOptions.getIdentifiers()); return scCommand; }
private SchemaCrawlerCommand loadCommand() throws SchemaCrawlerException { // NOTE: The daisy chain command may change the provided output // options for each chained command final SchemaCrawlerCommand scCommand = new CommandDaisyChain(command); scCommand.setSchemaCrawlerOptions(schemaCrawlerOptions); scCommand.setOutputOptions(outputOptions); scCommand.setAdditionalConfiguration(additionalConfiguration); scCommand.setIdentifiers(schemaRetrievalOptions.getIdentifiers()); return scCommand; }
@Override public SchemaRetrievalOptionsBuilder fromOptions(final SchemaRetrievalOptions options) { if (options == null) { return this; } dbServerType = options.getDatabaseServerType(); informationSchemaViewsBuilder = InformationSchemaViewsBuilder .builder(options.getInformationSchemaViews()); overridesSupportSchemas = Optional.empty(); overridesSupportsCatalogs = Optional.empty(); supportsCatalogs = options.isSupportsCatalogs(); supportsSchemas = options.isSupportsSchemas(); identifierQuoteString = options.getIdentifierQuoteString(); identifiers = options.getIdentifiers(); tableRetrievalStrategy = options.getTableRetrievalStrategy(); tableColumnRetrievalStrategy = options.getTableColumnRetrievalStrategy(); pkRetrievalStrategy = options.getPrimaryKeyRetrievalStrategy(); indexRetrievalStrategy = options.getIndexRetrievalStrategy(); fkRetrievalStrategy = options.getForeignKeyRetrievalStrategy(); procedureRetrievalStrategy = options.getProcedureRetrievalStrategy(); procedureColumnRetrievalStrategy = options .getProcedureColumnRetrievalStrategy(); functionRetrievalStrategy = options.getFunctionRetrievalStrategy(); functionColumnRetrievalStrategy = options .getFunctionColumnRetrievalStrategy(); overridesTypeMap = Optional.empty(); return this; }
@Override public SchemaRetrievalOptionsBuilder fromOptions(final SchemaRetrievalOptions options) { if (options == null) { return this; } dbServerType = options.getDatabaseServerType(); informationSchemaViewsBuilder = InformationSchemaViewsBuilder .builder(options.getInformationSchemaViews()); overridesSupportSchemas = Optional.empty(); overridesSupportsCatalogs = Optional.empty(); supportsCatalogs = options.isSupportsCatalogs(); supportsSchemas = options.isSupportsSchemas(); identifierQuoteString = options.getIdentifierQuoteString(); identifiers = options.getIdentifiers(); tableRetrievalStrategy = options.getTableRetrievalStrategy(); tableColumnRetrievalStrategy = options.getTableColumnRetrievalStrategy(); pkRetrievalStrategy = options.getPrimaryKeyRetrievalStrategy(); indexRetrievalStrategy = options.getIndexRetrievalStrategy(); fkRetrievalStrategy = options.getForeignKeyRetrievalStrategy(); procedureRetrievalStrategy = options.getProcedureRetrievalStrategy(); procedureColumnRetrievalStrategy = options .getProcedureColumnRetrievalStrategy(); functionRetrievalStrategy = options.getFunctionRetrievalStrategy(); functionColumnRetrievalStrategy = options .getFunctionColumnRetrievalStrategy(); overridesTypeMap = Optional.empty(); return this; }