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 zkUrl;
    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 zkUrl, String scn,
            String tenantId, StructType schema, boolean skipNormalizingIdentifier,
            Properties overriddenProps) {
        if (tableName == null) {
            throw new NullPointerException();
        }
        if (zkUrl == null) {
            throw new NullPointerException();
        }
        if (schema == null) {
            throw new NullPointerException();
        }
        if (overriddenProps == null) {
            throw new NullPointerException();
        }
        this.tableName = tableName;
        this.zkUrl = zkUrl;
        this.scn = scn;
        this.tenantId = tenantId;
        this.schema = schema;
        this.skipNormalizingIdentifier = skipNormalizingIdentifier;
        this.overriddenProps = overriddenProps;
    }

    String getScn() {
        return scn;
    }

    String getZkUrl() {
        return zkUrl;
    }

    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 zkUrl;
    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 zkUrl, String scn,
                                          String tenantId, StructType schema, boolean skipNormalizingIdentifier,
                                          Properties overriddenProps) {
        if (tableName == null) {
            throw new NullPointerException();
        }
        if (zkUrl == null) {
            throw new NullPointerException();
        }
        if (schema == null) {
            throw new NullPointerException();
        }
        if (overriddenProps == null) {
            throw new NullPointerException();
        }
        this.tableName = tableName;
        this.zkUrl = zkUrl;
        this.scn = scn;
        this.tenantId = tenantId;
        this.schema = schema;
        this.skipNormalizingIdentifier = skipNormalizingIdentifier;
        this.overriddenProps = overriddenProps;
    }

    String getScn() {
        return scn;
    }

    String getZkUrl() {
        return zkUrl;
    }

    String getTenantId() {
        return tenantId;
    }

    StructType getSchema() {
        return schema;
    }

    String getTableName() {
        return tableName;
    }

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



