phoenix5-spark3/src/main/java/org/apache/phoenix/spark/sql/connector/writer/PhoenixDataSourceWriteOptions.java [38:60]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    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;
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



phoenix5-spark/src/main/java/org/apache/phoenix/spark/datasource/v2/writer/PhoenixDataSourceWriteOptions.java [35:57]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    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;
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



