phoenix5-spark/src/main/java/org/apache/phoenix/spark/datasource/v2/writer/PhoenixDataSourceWriteOptions.java [84:133]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        return overriddenProps;
    }

    static class Builder {
        private String tableName;
        private String zkUrl;
        private String scn;
        private String tenantId;
        private StructType schema;
        private boolean skipNormalizingIdentifier;
        private Properties overriddenProps = new Properties();

        Builder setTableName(String tableName) {
            this.tableName = tableName;
            return this;
        }

        Builder setZkUrl(String zkUrl) {
            this.zkUrl = zkUrl;
            return this;
        }

        Builder setScn(String scn) {
            this.scn = scn;
            return this;
        }

        Builder setTenantId(String tenantId) {
            this.tenantId = tenantId;
            return this;
        }

        Builder setSchema(StructType schema) {
            this.schema = schema;
            return this;
        }

        Builder setSkipNormalizingIdentifier(boolean skipNormalizingIdentifier) {
            this.skipNormalizingIdentifier = skipNormalizingIdentifier;
            return this;
        }

        Builder setOverriddenProps(Properties overriddenProps) {
            this.overriddenProps = overriddenProps;
            return this;
        }

        PhoenixDataSourceWriteOptions build() {
            return new PhoenixDataSourceWriteOptions(tableName, zkUrl, scn, tenantId, schema,
                    skipNormalizingIdentifier, overriddenProps);
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



phoenix5-spark3/src/main/java/org/apache/phoenix/spark/sql/connector/writer/PhoenixDataSourceWriteOptions.java [95:144]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        return overriddenProps;
    }

    static class Builder {
        private String tableName;
        private String zkUrl;
        private String scn;
        private String tenantId;
        private StructType schema;
        private boolean skipNormalizingIdentifier;
        private Properties overriddenProps = new Properties();

        Builder setTableName(String tableName) {
            this.tableName = tableName;
            return this;
        }

        Builder setZkUrl(String zkUrl) {
            this.zkUrl = zkUrl;
            return this;
        }

        Builder setScn(String scn) {
            this.scn = scn;
            return this;
        }

        Builder setTenantId(String tenantId) {
            this.tenantId = tenantId;
            return this;
        }

        Builder setSchema(StructType schema) {
            this.schema = schema;
            return this;
        }

        Builder setSkipNormalizingIdentifier(boolean skipNormalizingIdentifier) {
            this.skipNormalizingIdentifier = skipNormalizingIdentifier;
            return this;
        }

        Builder setOverriddenProps(Properties overriddenProps) {
            this.overriddenProps = overriddenProps;
            return this;
        }

        PhoenixDataSourceWriteOptions build() {
            return new PhoenixDataSourceWriteOptions(tableName, zkUrl, scn, tenantId, schema,
                    skipNormalizingIdentifier, overriddenProps);
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



