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

com.turbospaces.spark.AbstractEbeanQueryScanBuilder Maven / Gradle / Ivy

There is a newer version: 2.0.33
Show newest version
package com.turbospaces.spark;

import java.util.Map;
import java.util.Objects;

import org.apache.spark.sql.connector.read.ScanBuilder;
import org.apache.spark.sql.types.StructType;
import org.apache.spark.sql.util.CaseInsensitiveStringMap;

public abstract class AbstractEbeanQueryScanBuilder implements ScanBuilder {
    protected final StructType schema;
    protected final Map properties;
    protected final CaseInsensitiveStringMap options;

    public AbstractEbeanQueryScanBuilder(StructType schema, Map properties, CaseInsensitiveStringMap options) {
        this.schema = Objects.requireNonNull(schema);
        this.properties = Objects.requireNonNull(properties);
        this.options = Objects.requireNonNull(options);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy