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

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

The newest version!
package com.turbospaces.spark;

import java.util.Map;

import org.apache.spark.sql.connector.read.Scan;
import org.apache.spark.sql.types.StructType;

public abstract class AbstractEbeanScan implements Scan {
    protected final StructType schema;
    protected final Map properties;

    public AbstractEbeanScan(StructType schema, Map properties) {
        this.schema = schema;
        this.properties = properties;
    }
    @Override
    public StructType readSchema() {
        return schema;
    }
    @Override
    public String description() {
        return "Ebean Query";
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy