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

ru.yandex.clickhouse.ClickHouseExternalData Maven / Gradle / Ivy

package ru.yandex.clickhouse;

import java.io.InputStream;

/**
 * @author zgmnkv
 */
public class ClickHouseExternalData {

    private String name;
    private InputStream content;
    private String format;
    private String types;
    private String structure;

    public ClickHouseExternalData() {
    }

    public ClickHouseExternalData(String name, InputStream content) {
        this.name = name;
        this.content = content;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public InputStream getContent() {
        return content;
    }

    public void setContent(InputStream content) {
        this.content = content;
    }

    public String getFormat() {
        return format;
    }

    public void setFormat(String format) {
        this.format = format;
    }

    public String getTypes() {
        return types;
    }

    public void setTypes(String types) {
        this.types = types;
    }

    public String getStructure() {
        return structure;
    }

    public void setStructure(String structure) {
        this.structure = structure;
    }

    public ClickHouseExternalData withName(String name) {
        this.name = name;
        return this;
    }

    public ClickHouseExternalData withContent(InputStream content) {
        this.content = content;
        return this;
    }

    public ClickHouseExternalData withFormat(String format) {
        this.format = format;
        return this;
    }

    public ClickHouseExternalData withTypes(String types) {
        this.types = types;
        return this;
    }

    public ClickHouseExternalData withStructure(String structure) {
        this.structure = structure;
        return this;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy