phoenix5-spark/src/main/java/org/apache/phoenix/spark/datasource/v2/writer/PhoenixDataSourceWriteOptions.java [25:80]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
class PhoenixDataSourceWriteOptions implements Serializable {

    private final String tableName;
    private final String jdbcUrl;
    private final String tenantId;
    private final String scn;
    private final StructType schema;
    private final boolean skipNormalizingIdentifier;
    private final Properties overriddenProps;

    private PhoenixDataSourceWriteOptions(String tableName, String jdbcUrl, String scn,
            String tenantId, StructType schema, boolean skipNormalizingIdentifier,
            Properties overriddenProps) {
        if (tableName == null) {
            throw new IllegalArgumentException("tableName must not be null");
        }
        if (jdbcUrl == null) {
            throw new IllegalArgumentException("jdbcUrl must not be null");
        }
        if (schema == null) {
            throw new IllegalArgumentException("schema must not be null");
        }
        if (overriddenProps == null) {
            throw new IllegalArgumentException("overriddenProps must not be null");
        }
        this.tableName = tableName;
        this.jdbcUrl = jdbcUrl;
        this.scn = scn;
        this.tenantId = tenantId;
        this.schema = schema;
        this.skipNormalizingIdentifier = skipNormalizingIdentifier;
        this.overriddenProps = overriddenProps;
    }

    String getScn() {
        return scn;
    }

    String getJdbcUrl() {
        return jdbcUrl;
    }

    String getTenantId() {
        return tenantId;
    }

    StructType getSchema() {
        return schema;
    }

    String getTableName() {
        return tableName;
    }

    boolean skipNormalizingIdentifier() {
        return skipNormalizingIdentifier;
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



phoenix5-spark3/src/main/java/org/apache/phoenix/spark/sql/connector/writer/PhoenixDataSourceWriteOptions.java [28:83]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
class PhoenixDataSourceWriteOptions implements Serializable {

    private final String tableName;
    private final String jdbcUrl;
    private final String tenantId;
    private final String scn;
    private final StructType schema;
    private final boolean skipNormalizingIdentifier;
    private final Properties overriddenProps;

    private PhoenixDataSourceWriteOptions(String tableName, String jdbcUrl, String scn,
                                          String tenantId, StructType schema, boolean skipNormalizingIdentifier,
                                          Properties overriddenProps) {
        if (tableName == null) {
            throw new IllegalArgumentException("tableName must not be null");
        }
        if (jdbcUrl == null) {
            throw new IllegalArgumentException("jdbcUrl must not be null");
        }
        if (schema == null) {
            throw new IllegalArgumentException("schema must not be null");
        }
        if (overriddenProps == null) {
            throw new IllegalArgumentException("overriddenProps must not be null");
        }
        this.tableName = tableName;
        this.jdbcUrl = jdbcUrl;
        this.scn = scn;
        this.tenantId = tenantId;
        this.schema = schema;
        this.skipNormalizingIdentifier = skipNormalizingIdentifier;
        this.overriddenProps = overriddenProps;
    }

    String getScn() {
        return scn;
    }

    String getJdbcUrl() {
        return jdbcUrl;
    }

    String getTenantId() {
        return tenantId;
    }

    StructType getSchema() {
        return schema;
    }

    String getTableName() {
        return tableName;
    }

    boolean skipNormalizingIdentifier() {
        return skipNormalizingIdentifier;
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



