All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.openmetadata.schema.metadataIngestion.DatabaseServiceMetadataPipeline Maven / Gradle / Ivy

There is a newer version: 1.6.0-rc1
Show newest version

package org.openmetadata.schema.metadataIngestion;

import java.util.HashMap;
import java.util.Map;
import javax.annotation.processing.Generated;
import javax.validation.Valid;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyDescription;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.fasterxml.jackson.annotation.JsonValue;


/**
 * DatabaseServiceMetadataPipeline
 * 

* DatabaseService Metadata Pipeline Configuration. * */ @JsonInclude(JsonInclude.Include.NON_NULL) @JsonPropertyOrder({ "type", "markDeletedTables", "markDeletedStoredProcedures", "includeTables", "includeViews", "includeTags", "includeOwners", "includeStoredProcedures", "includeDDL", "overrideMetadata", "overrideViewLineage", "queryLogDuration", "queryParsingTimeoutLimit", "useFqnForFiltering", "schemaFilterPattern", "tableFilterPattern", "databaseFilterPattern", "threads", "incremental" }) @Generated("jsonschema2pojo") public class DatabaseServiceMetadataPipeline { /** * Database Source Config Metadata Pipeline type * */ @JsonProperty("type") @JsonPropertyDescription("Database Source Config Metadata Pipeline type") private DatabaseServiceMetadataPipeline.DatabaseMetadataConfigType type = DatabaseServiceMetadataPipeline.DatabaseMetadataConfigType.fromValue("DatabaseMetadata"); /** * Mark Deleted Tables *

* This is an optional configuration for enabling soft deletion of tables. When this option is enabled, only tables that have been deleted from the source will be soft deleted, and this will apply solely to the schema that is currently being ingested via the pipeline. Any related entities such as test suites or lineage information that were associated with those tables will also be deleted. * */ @JsonProperty("markDeletedTables") @JsonPropertyDescription("This is an optional configuration for enabling soft deletion of tables. When this option is enabled, only tables that have been deleted from the source will be soft deleted, and this will apply solely to the schema that is currently being ingested via the pipeline. Any related entities such as test suites or lineage information that were associated with those tables will also be deleted.") private Boolean markDeletedTables = true; /** * Mark Deleted Stored Procedures *

* Optional configuration to soft delete stored procedures in OpenMetadata if the source stored procedures are deleted. Also, if the stored procedures is deleted, all the associated entities like lineage, etc., with that stored procedures will be deleted * */ @JsonProperty("markDeletedStoredProcedures") @JsonPropertyDescription("Optional configuration to soft delete stored procedures in OpenMetadata if the source stored procedures are deleted. Also, if the stored procedures is deleted, all the associated entities like lineage, etc., with that stored procedures will be deleted") private Boolean markDeletedStoredProcedures = true; /** * Include Tables *

* Optional configuration to turn off fetching metadata for tables. * */ @JsonProperty("includeTables") @JsonPropertyDescription("Optional configuration to turn off fetching metadata for tables.") private Boolean includeTables = true; /** * Include Views *

* Optional configuration to turn off fetching metadata for views. * */ @JsonProperty("includeViews") @JsonPropertyDescription("Optional configuration to turn off fetching metadata for views.") private Boolean includeViews = true; /** * Include Tags *

* Optional configuration to toggle the tags ingestion. * */ @JsonProperty("includeTags") @JsonPropertyDescription("Optional configuration to toggle the tags ingestion.") private Boolean includeTags = true; /** * Include Owners *

* Set the 'Include Owners' toggle to control whether to include owners to the ingested entity if the owner email matches with a user stored in the OM server as part of metadata ingestion. If the ingested entity already exists and has an owner, the owner will not be overwritten. * */ @JsonProperty("includeOwners") @JsonPropertyDescription("Set the 'Include Owners' toggle to control whether to include owners to the ingested entity if the owner email matches with a user stored in the OM server as part of metadata ingestion. If the ingested entity already exists and has an owner, the owner will not be overwritten.") private Boolean includeOwners = false; /** * Include Stored Procedures *

* Optional configuration to toggle the Stored Procedures ingestion. * */ @JsonProperty("includeStoredProcedures") @JsonPropertyDescription("Optional configuration to toggle the Stored Procedures ingestion.") private Boolean includeStoredProcedures = true; /** * Include DDL Statements *

* Optional configuration to toggle the DDL Statements ingestion. * */ @JsonProperty("includeDDL") @JsonPropertyDescription("Optional configuration to toggle the DDL Statements ingestion.") private Boolean includeDDL = false; /** * Override Metadata *

* Set the 'Override Metadata' toggle to control whether to override the existing metadata in the OpenMetadata server with the metadata fetched from the source. If the toggle is set to true, the metadata fetched from the source will override the existing metadata in the OpenMetadata server. If the toggle is set to false, the metadata fetched from the source will not override the existing metadata in the OpenMetadata server. This is applicable for fields like description, tags, owner and displayName * */ @JsonProperty("overrideMetadata") @JsonPropertyDescription("Set the 'Override Metadata' toggle to control whether to override the existing metadata in the OpenMetadata server with the metadata fetched from the source. If the toggle is set to true, the metadata fetched from the source will override the existing metadata in the OpenMetadata server. If the toggle is set to false, the metadata fetched from the source will not override the existing metadata in the OpenMetadata server. This is applicable for fields like description, tags, owner and displayName") private Boolean overrideMetadata = false; /** * Override View Lineage *

* Set the 'Override View Lineage' toggle to control whether to override the existing view lineage. * */ @JsonProperty("overrideViewLineage") @JsonPropertyDescription("Set the 'Override View Lineage' toggle to control whether to override the existing view lineage.") private Boolean overrideViewLineage = false; /** * Query Log Duration *

* Configuration to tune how far we want to look back in query logs to process Stored Procedures results. * */ @JsonProperty("queryLogDuration") @JsonPropertyDescription("Configuration to tune how far we want to look back in query logs to process Stored Procedures results.") private Integer queryLogDuration = 1; /** * Query Parsing Timeout Limit *

* Configuration to set the timeout for parsing the query in seconds. * */ @JsonProperty("queryParsingTimeoutLimit") @JsonPropertyDescription("Configuration to set the timeout for parsing the query in seconds.") private Integer queryParsingTimeoutLimit = 300; /** * Use FQN For Filtering *

* Regex will be applied on fully qualified name (e.g service_name.db_name.schema_name.table_name) instead of raw name (e.g. table_name) * */ @JsonProperty("useFqnForFiltering") @JsonPropertyDescription("Regex will be applied on fully qualified name (e.g service_name.db_name.schema_name.table_name) instead of raw name (e.g. table_name)") private Boolean useFqnForFiltering = false; /** * Regex to only fetch dashboards or charts that matches the pattern. * */ @JsonProperty("schemaFilterPattern") @JsonPropertyDescription("Regex to only fetch dashboards or charts that matches the pattern.") @Valid private FilterPattern schemaFilterPattern; /** * Regex to only fetch dashboards or charts that matches the pattern. * */ @JsonProperty("tableFilterPattern") @JsonPropertyDescription("Regex to only fetch dashboards or charts that matches the pattern.") @Valid private FilterPattern tableFilterPattern; /** * Regex to only fetch dashboards or charts that matches the pattern. * */ @JsonProperty("databaseFilterPattern") @JsonPropertyDescription("Regex to only fetch dashboards or charts that matches the pattern.") @Valid private FilterPattern databaseFilterPattern; /** * Number of Threads *

* Number of Threads to use in order to parallelize Table ingestion. * */ @JsonProperty("threads") @JsonPropertyDescription("Number of Threads to use in order to parallelize Table ingestion.") private Integer threads = 1; /** * Incremental Metadata Extraction Configuration *

* Use incremental Metadata extraction after the first execution. This is commonly done by getting the changes from Audit tables on the supporting databases. * */ @JsonProperty("incremental") @JsonPropertyDescription("Use incremental Metadata extraction after the first execution. This is commonly done by getting the changes from Audit tables on the supporting databases.") @Valid private Incremental incremental; /** * Database Source Config Metadata Pipeline type * */ @JsonProperty("type") public DatabaseServiceMetadataPipeline.DatabaseMetadataConfigType getType() { return type; } /** * Database Source Config Metadata Pipeline type * */ @JsonProperty("type") public void setType(DatabaseServiceMetadataPipeline.DatabaseMetadataConfigType type) { this.type = type; } public DatabaseServiceMetadataPipeline withType(DatabaseServiceMetadataPipeline.DatabaseMetadataConfigType type) { this.type = type; return this; } /** * Mark Deleted Tables *

* This is an optional configuration for enabling soft deletion of tables. When this option is enabled, only tables that have been deleted from the source will be soft deleted, and this will apply solely to the schema that is currently being ingested via the pipeline. Any related entities such as test suites or lineage information that were associated with those tables will also be deleted. * */ @JsonProperty("markDeletedTables") public Boolean getMarkDeletedTables() { return markDeletedTables; } /** * Mark Deleted Tables *

* This is an optional configuration for enabling soft deletion of tables. When this option is enabled, only tables that have been deleted from the source will be soft deleted, and this will apply solely to the schema that is currently being ingested via the pipeline. Any related entities such as test suites or lineage information that were associated with those tables will also be deleted. * */ @JsonProperty("markDeletedTables") public void setMarkDeletedTables(Boolean markDeletedTables) { this.markDeletedTables = markDeletedTables; } public DatabaseServiceMetadataPipeline withMarkDeletedTables(Boolean markDeletedTables) { this.markDeletedTables = markDeletedTables; return this; } /** * Mark Deleted Stored Procedures *

* Optional configuration to soft delete stored procedures in OpenMetadata if the source stored procedures are deleted. Also, if the stored procedures is deleted, all the associated entities like lineage, etc., with that stored procedures will be deleted * */ @JsonProperty("markDeletedStoredProcedures") public Boolean getMarkDeletedStoredProcedures() { return markDeletedStoredProcedures; } /** * Mark Deleted Stored Procedures *

* Optional configuration to soft delete stored procedures in OpenMetadata if the source stored procedures are deleted. Also, if the stored procedures is deleted, all the associated entities like lineage, etc., with that stored procedures will be deleted * */ @JsonProperty("markDeletedStoredProcedures") public void setMarkDeletedStoredProcedures(Boolean markDeletedStoredProcedures) { this.markDeletedStoredProcedures = markDeletedStoredProcedures; } public DatabaseServiceMetadataPipeline withMarkDeletedStoredProcedures(Boolean markDeletedStoredProcedures) { this.markDeletedStoredProcedures = markDeletedStoredProcedures; return this; } /** * Include Tables *

* Optional configuration to turn off fetching metadata for tables. * */ @JsonProperty("includeTables") public Boolean getIncludeTables() { return includeTables; } /** * Include Tables *

* Optional configuration to turn off fetching metadata for tables. * */ @JsonProperty("includeTables") public void setIncludeTables(Boolean includeTables) { this.includeTables = includeTables; } public DatabaseServiceMetadataPipeline withIncludeTables(Boolean includeTables) { this.includeTables = includeTables; return this; } /** * Include Views *

* Optional configuration to turn off fetching metadata for views. * */ @JsonProperty("includeViews") public Boolean getIncludeViews() { return includeViews; } /** * Include Views *

* Optional configuration to turn off fetching metadata for views. * */ @JsonProperty("includeViews") public void setIncludeViews(Boolean includeViews) { this.includeViews = includeViews; } public DatabaseServiceMetadataPipeline withIncludeViews(Boolean includeViews) { this.includeViews = includeViews; return this; } /** * Include Tags *

* Optional configuration to toggle the tags ingestion. * */ @JsonProperty("includeTags") public Boolean getIncludeTags() { return includeTags; } /** * Include Tags *

* Optional configuration to toggle the tags ingestion. * */ @JsonProperty("includeTags") public void setIncludeTags(Boolean includeTags) { this.includeTags = includeTags; } public DatabaseServiceMetadataPipeline withIncludeTags(Boolean includeTags) { this.includeTags = includeTags; return this; } /** * Include Owners *

* Set the 'Include Owners' toggle to control whether to include owners to the ingested entity if the owner email matches with a user stored in the OM server as part of metadata ingestion. If the ingested entity already exists and has an owner, the owner will not be overwritten. * */ @JsonProperty("includeOwners") public Boolean getIncludeOwners() { return includeOwners; } /** * Include Owners *

* Set the 'Include Owners' toggle to control whether to include owners to the ingested entity if the owner email matches with a user stored in the OM server as part of metadata ingestion. If the ingested entity already exists and has an owner, the owner will not be overwritten. * */ @JsonProperty("includeOwners") public void setIncludeOwners(Boolean includeOwners) { this.includeOwners = includeOwners; } public DatabaseServiceMetadataPipeline withIncludeOwners(Boolean includeOwners) { this.includeOwners = includeOwners; return this; } /** * Include Stored Procedures *

* Optional configuration to toggle the Stored Procedures ingestion. * */ @JsonProperty("includeStoredProcedures") public Boolean getIncludeStoredProcedures() { return includeStoredProcedures; } /** * Include Stored Procedures *

* Optional configuration to toggle the Stored Procedures ingestion. * */ @JsonProperty("includeStoredProcedures") public void setIncludeStoredProcedures(Boolean includeStoredProcedures) { this.includeStoredProcedures = includeStoredProcedures; } public DatabaseServiceMetadataPipeline withIncludeStoredProcedures(Boolean includeStoredProcedures) { this.includeStoredProcedures = includeStoredProcedures; return this; } /** * Include DDL Statements *

* Optional configuration to toggle the DDL Statements ingestion. * */ @JsonProperty("includeDDL") public Boolean getIncludeDDL() { return includeDDL; } /** * Include DDL Statements *

* Optional configuration to toggle the DDL Statements ingestion. * */ @JsonProperty("includeDDL") public void setIncludeDDL(Boolean includeDDL) { this.includeDDL = includeDDL; } public DatabaseServiceMetadataPipeline withIncludeDDL(Boolean includeDDL) { this.includeDDL = includeDDL; return this; } /** * Override Metadata *

* Set the 'Override Metadata' toggle to control whether to override the existing metadata in the OpenMetadata server with the metadata fetched from the source. If the toggle is set to true, the metadata fetched from the source will override the existing metadata in the OpenMetadata server. If the toggle is set to false, the metadata fetched from the source will not override the existing metadata in the OpenMetadata server. This is applicable for fields like description, tags, owner and displayName * */ @JsonProperty("overrideMetadata") public Boolean getOverrideMetadata() { return overrideMetadata; } /** * Override Metadata *

* Set the 'Override Metadata' toggle to control whether to override the existing metadata in the OpenMetadata server with the metadata fetched from the source. If the toggle is set to true, the metadata fetched from the source will override the existing metadata in the OpenMetadata server. If the toggle is set to false, the metadata fetched from the source will not override the existing metadata in the OpenMetadata server. This is applicable for fields like description, tags, owner and displayName * */ @JsonProperty("overrideMetadata") public void setOverrideMetadata(Boolean overrideMetadata) { this.overrideMetadata = overrideMetadata; } public DatabaseServiceMetadataPipeline withOverrideMetadata(Boolean overrideMetadata) { this.overrideMetadata = overrideMetadata; return this; } /** * Override View Lineage *

* Set the 'Override View Lineage' toggle to control whether to override the existing view lineage. * */ @JsonProperty("overrideViewLineage") public Boolean getOverrideViewLineage() { return overrideViewLineage; } /** * Override View Lineage *

* Set the 'Override View Lineage' toggle to control whether to override the existing view lineage. * */ @JsonProperty("overrideViewLineage") public void setOverrideViewLineage(Boolean overrideViewLineage) { this.overrideViewLineage = overrideViewLineage; } public DatabaseServiceMetadataPipeline withOverrideViewLineage(Boolean overrideViewLineage) { this.overrideViewLineage = overrideViewLineage; return this; } /** * Query Log Duration *

* Configuration to tune how far we want to look back in query logs to process Stored Procedures results. * */ @JsonProperty("queryLogDuration") public Integer getQueryLogDuration() { return queryLogDuration; } /** * Query Log Duration *

* Configuration to tune how far we want to look back in query logs to process Stored Procedures results. * */ @JsonProperty("queryLogDuration") public void setQueryLogDuration(Integer queryLogDuration) { this.queryLogDuration = queryLogDuration; } public DatabaseServiceMetadataPipeline withQueryLogDuration(Integer queryLogDuration) { this.queryLogDuration = queryLogDuration; return this; } /** * Query Parsing Timeout Limit *

* Configuration to set the timeout for parsing the query in seconds. * */ @JsonProperty("queryParsingTimeoutLimit") public Integer getQueryParsingTimeoutLimit() { return queryParsingTimeoutLimit; } /** * Query Parsing Timeout Limit *

* Configuration to set the timeout for parsing the query in seconds. * */ @JsonProperty("queryParsingTimeoutLimit") public void setQueryParsingTimeoutLimit(Integer queryParsingTimeoutLimit) { this.queryParsingTimeoutLimit = queryParsingTimeoutLimit; } public DatabaseServiceMetadataPipeline withQueryParsingTimeoutLimit(Integer queryParsingTimeoutLimit) { this.queryParsingTimeoutLimit = queryParsingTimeoutLimit; return this; } /** * Use FQN For Filtering *

* Regex will be applied on fully qualified name (e.g service_name.db_name.schema_name.table_name) instead of raw name (e.g. table_name) * */ @JsonProperty("useFqnForFiltering") public Boolean getUseFqnForFiltering() { return useFqnForFiltering; } /** * Use FQN For Filtering *

* Regex will be applied on fully qualified name (e.g service_name.db_name.schema_name.table_name) instead of raw name (e.g. table_name) * */ @JsonProperty("useFqnForFiltering") public void setUseFqnForFiltering(Boolean useFqnForFiltering) { this.useFqnForFiltering = useFqnForFiltering; } public DatabaseServiceMetadataPipeline withUseFqnForFiltering(Boolean useFqnForFiltering) { this.useFqnForFiltering = useFqnForFiltering; return this; } /** * Regex to only fetch dashboards or charts that matches the pattern. * */ @JsonProperty("schemaFilterPattern") public FilterPattern getSchemaFilterPattern() { return schemaFilterPattern; } /** * Regex to only fetch dashboards or charts that matches the pattern. * */ @JsonProperty("schemaFilterPattern") public void setSchemaFilterPattern(FilterPattern schemaFilterPattern) { this.schemaFilterPattern = schemaFilterPattern; } public DatabaseServiceMetadataPipeline withSchemaFilterPattern(FilterPattern schemaFilterPattern) { this.schemaFilterPattern = schemaFilterPattern; return this; } /** * Regex to only fetch dashboards or charts that matches the pattern. * */ @JsonProperty("tableFilterPattern") public FilterPattern getTableFilterPattern() { return tableFilterPattern; } /** * Regex to only fetch dashboards or charts that matches the pattern. * */ @JsonProperty("tableFilterPattern") public void setTableFilterPattern(FilterPattern tableFilterPattern) { this.tableFilterPattern = tableFilterPattern; } public DatabaseServiceMetadataPipeline withTableFilterPattern(FilterPattern tableFilterPattern) { this.tableFilterPattern = tableFilterPattern; return this; } /** * Regex to only fetch dashboards or charts that matches the pattern. * */ @JsonProperty("databaseFilterPattern") public FilterPattern getDatabaseFilterPattern() { return databaseFilterPattern; } /** * Regex to only fetch dashboards or charts that matches the pattern. * */ @JsonProperty("databaseFilterPattern") public void setDatabaseFilterPattern(FilterPattern databaseFilterPattern) { this.databaseFilterPattern = databaseFilterPattern; } public DatabaseServiceMetadataPipeline withDatabaseFilterPattern(FilterPattern databaseFilterPattern) { this.databaseFilterPattern = databaseFilterPattern; return this; } /** * Number of Threads *

* Number of Threads to use in order to parallelize Table ingestion. * */ @JsonProperty("threads") public Integer getThreads() { return threads; } /** * Number of Threads *

* Number of Threads to use in order to parallelize Table ingestion. * */ @JsonProperty("threads") public void setThreads(Integer threads) { this.threads = threads; } public DatabaseServiceMetadataPipeline withThreads(Integer threads) { this.threads = threads; return this; } /** * Incremental Metadata Extraction Configuration *

* Use incremental Metadata extraction after the first execution. This is commonly done by getting the changes from Audit tables on the supporting databases. * */ @JsonProperty("incremental") public Incremental getIncremental() { return incremental; } /** * Incremental Metadata Extraction Configuration *

* Use incremental Metadata extraction after the first execution. This is commonly done by getting the changes from Audit tables on the supporting databases. * */ @JsonProperty("incremental") public void setIncremental(Incremental incremental) { this.incremental = incremental; } public DatabaseServiceMetadataPipeline withIncremental(Incremental incremental) { this.incremental = incremental; return this; } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append(DatabaseServiceMetadataPipeline.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); sb.append("type"); sb.append('='); sb.append(((this.type == null)?"":this.type)); sb.append(','); sb.append("markDeletedTables"); sb.append('='); sb.append(((this.markDeletedTables == null)?"":this.markDeletedTables)); sb.append(','); sb.append("markDeletedStoredProcedures"); sb.append('='); sb.append(((this.markDeletedStoredProcedures == null)?"":this.markDeletedStoredProcedures)); sb.append(','); sb.append("includeTables"); sb.append('='); sb.append(((this.includeTables == null)?"":this.includeTables)); sb.append(','); sb.append("includeViews"); sb.append('='); sb.append(((this.includeViews == null)?"":this.includeViews)); sb.append(','); sb.append("includeTags"); sb.append('='); sb.append(((this.includeTags == null)?"":this.includeTags)); sb.append(','); sb.append("includeOwners"); sb.append('='); sb.append(((this.includeOwners == null)?"":this.includeOwners)); sb.append(','); sb.append("includeStoredProcedures"); sb.append('='); sb.append(((this.includeStoredProcedures == null)?"":this.includeStoredProcedures)); sb.append(','); sb.append("includeDDL"); sb.append('='); sb.append(((this.includeDDL == null)?"":this.includeDDL)); sb.append(','); sb.append("overrideMetadata"); sb.append('='); sb.append(((this.overrideMetadata == null)?"":this.overrideMetadata)); sb.append(','); sb.append("overrideViewLineage"); sb.append('='); sb.append(((this.overrideViewLineage == null)?"":this.overrideViewLineage)); sb.append(','); sb.append("queryLogDuration"); sb.append('='); sb.append(((this.queryLogDuration == null)?"":this.queryLogDuration)); sb.append(','); sb.append("queryParsingTimeoutLimit"); sb.append('='); sb.append(((this.queryParsingTimeoutLimit == null)?"":this.queryParsingTimeoutLimit)); sb.append(','); sb.append("useFqnForFiltering"); sb.append('='); sb.append(((this.useFqnForFiltering == null)?"":this.useFqnForFiltering)); sb.append(','); sb.append("schemaFilterPattern"); sb.append('='); sb.append(((this.schemaFilterPattern == null)?"":this.schemaFilterPattern)); sb.append(','); sb.append("tableFilterPattern"); sb.append('='); sb.append(((this.tableFilterPattern == null)?"":this.tableFilterPattern)); sb.append(','); sb.append("databaseFilterPattern"); sb.append('='); sb.append(((this.databaseFilterPattern == null)?"":this.databaseFilterPattern)); sb.append(','); sb.append("threads"); sb.append('='); sb.append(((this.threads == null)?"":this.threads)); sb.append(','); sb.append("incremental"); sb.append('='); sb.append(((this.incremental == null)?"":this.incremental)); sb.append(','); if (sb.charAt((sb.length()- 1)) == ',') { sb.setCharAt((sb.length()- 1), ']'); } else { sb.append(']'); } return sb.toString(); } @Override public int hashCode() { int result = 1; result = ((result* 31)+((this.includeTables == null)? 0 :this.includeTables.hashCode())); result = ((result* 31)+((this.includeViews == null)? 0 :this.includeViews.hashCode())); result = ((result* 31)+((this.includeStoredProcedures == null)? 0 :this.includeStoredProcedures.hashCode())); result = ((result* 31)+((this.tableFilterPattern == null)? 0 :this.tableFilterPattern.hashCode())); result = ((result* 31)+((this.includeTags == null)? 0 :this.includeTags.hashCode())); result = ((result* 31)+((this.overrideMetadata == null)? 0 :this.overrideMetadata.hashCode())); result = ((result* 31)+((this.includeOwners == null)? 0 :this.includeOwners.hashCode())); result = ((result* 31)+((this.useFqnForFiltering == null)? 0 :this.useFqnForFiltering.hashCode())); result = ((result* 31)+((this.databaseFilterPattern == null)? 0 :this.databaseFilterPattern.hashCode())); result = ((result* 31)+((this.threads == null)? 0 :this.threads.hashCode())); result = ((result* 31)+((this.incremental == null)? 0 :this.incremental.hashCode())); result = ((result* 31)+((this.type == null)? 0 :this.type.hashCode())); result = ((result* 31)+((this.markDeletedStoredProcedures == null)? 0 :this.markDeletedStoredProcedures.hashCode())); result = ((result* 31)+((this.markDeletedTables == null)? 0 :this.markDeletedTables.hashCode())); result = ((result* 31)+((this.queryLogDuration == null)? 0 :this.queryLogDuration.hashCode())); result = ((result* 31)+((this.schemaFilterPattern == null)? 0 :this.schemaFilterPattern.hashCode())); result = ((result* 31)+((this.queryParsingTimeoutLimit == null)? 0 :this.queryParsingTimeoutLimit.hashCode())); result = ((result* 31)+((this.overrideViewLineage == null)? 0 :this.overrideViewLineage.hashCode())); result = ((result* 31)+((this.includeDDL == null)? 0 :this.includeDDL.hashCode())); return result; } @Override public boolean equals(Object other) { if (other == this) { return true; } if ((other instanceof DatabaseServiceMetadataPipeline) == false) { return false; } DatabaseServiceMetadataPipeline rhs = ((DatabaseServiceMetadataPipeline) other); return ((((((((((((((((((((this.includeTables == rhs.includeTables)||((this.includeTables!= null)&&this.includeTables.equals(rhs.includeTables)))&&((this.includeViews == rhs.includeViews)||((this.includeViews!= null)&&this.includeViews.equals(rhs.includeViews))))&&((this.includeStoredProcedures == rhs.includeStoredProcedures)||((this.includeStoredProcedures!= null)&&this.includeStoredProcedures.equals(rhs.includeStoredProcedures))))&&((this.tableFilterPattern == rhs.tableFilterPattern)||((this.tableFilterPattern!= null)&&this.tableFilterPattern.equals(rhs.tableFilterPattern))))&&((this.includeTags == rhs.includeTags)||((this.includeTags!= null)&&this.includeTags.equals(rhs.includeTags))))&&((this.overrideMetadata == rhs.overrideMetadata)||((this.overrideMetadata!= null)&&this.overrideMetadata.equals(rhs.overrideMetadata))))&&((this.includeOwners == rhs.includeOwners)||((this.includeOwners!= null)&&this.includeOwners.equals(rhs.includeOwners))))&&((this.useFqnForFiltering == rhs.useFqnForFiltering)||((this.useFqnForFiltering!= null)&&this.useFqnForFiltering.equals(rhs.useFqnForFiltering))))&&((this.databaseFilterPattern == rhs.databaseFilterPattern)||((this.databaseFilterPattern!= null)&&this.databaseFilterPattern.equals(rhs.databaseFilterPattern))))&&((this.threads == rhs.threads)||((this.threads!= null)&&this.threads.equals(rhs.threads))))&&((this.incremental == rhs.incremental)||((this.incremental!= null)&&this.incremental.equals(rhs.incremental))))&&((this.type == rhs.type)||((this.type!= null)&&this.type.equals(rhs.type))))&&((this.markDeletedStoredProcedures == rhs.markDeletedStoredProcedures)||((this.markDeletedStoredProcedures!= null)&&this.markDeletedStoredProcedures.equals(rhs.markDeletedStoredProcedures))))&&((this.markDeletedTables == rhs.markDeletedTables)||((this.markDeletedTables!= null)&&this.markDeletedTables.equals(rhs.markDeletedTables))))&&((this.queryLogDuration == rhs.queryLogDuration)||((this.queryLogDuration!= null)&&this.queryLogDuration.equals(rhs.queryLogDuration))))&&((this.schemaFilterPattern == rhs.schemaFilterPattern)||((this.schemaFilterPattern!= null)&&this.schemaFilterPattern.equals(rhs.schemaFilterPattern))))&&((this.queryParsingTimeoutLimit == rhs.queryParsingTimeoutLimit)||((this.queryParsingTimeoutLimit!= null)&&this.queryParsingTimeoutLimit.equals(rhs.queryParsingTimeoutLimit))))&&((this.overrideViewLineage == rhs.overrideViewLineage)||((this.overrideViewLineage!= null)&&this.overrideViewLineage.equals(rhs.overrideViewLineage))))&&((this.includeDDL == rhs.includeDDL)||((this.includeDDL!= null)&&this.includeDDL.equals(rhs.includeDDL)))); } /** * Database Source Config Metadata Pipeline type * */ @Generated("jsonschema2pojo") public enum DatabaseMetadataConfigType { DATABASE_METADATA("DatabaseMetadata"); private final String value; private final static Map CONSTANTS = new HashMap(); static { for (DatabaseServiceMetadataPipeline.DatabaseMetadataConfigType c: values()) { CONSTANTS.put(c.value, c); } } DatabaseMetadataConfigType(String value) { this.value = value; } @Override public String toString() { return this.value; } @JsonValue public String value() { return this.value; } @JsonCreator public static DatabaseServiceMetadataPipeline.DatabaseMetadataConfigType fromValue(String value) { DatabaseServiceMetadataPipeline.DatabaseMetadataConfigType constant = CONSTANTS.get(value); if (constant == null) { throw new IllegalArgumentException(value); } else { return constant; } } } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy