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

ai.databand.schema.DatasetOperationSchema Maven / Gradle / Ivy

There is a newer version: 1.0.26.1
Show newest version
/*
 * © Copyright Databand.ai, an IBM Company 2022
 */

package ai.databand.schema;


import java.util.List;
import java.util.Map;

public class DatasetOperationSchema {

    private final List columns;
    private final Map dtypes;
    private final List shape;
    private static final String SPARK_DATAFRAME_TYPE = "Spark.DataFrame";

    public DatasetOperationSchema(List columns, Map dtypes, List shape) {
        this.columns = columns;
        this.dtypes = dtypes;
        this.shape = shape;
    }

    public List getColumns() {
        return columns;
    }

    public Map getDtypes() {
        return dtypes;
    }

    public List getShape() {
        return shape;
    }

    public String getType() {
        return SPARK_DATAFRAME_TYPE;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy