cc.blynk.clickhouse.ClickHouseExternalData Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of clickhouse4j Show documentation
Show all versions of clickhouse4j Show documentation
Light and fast JDBC driver for ClickHouse
package cc.blynk.clickhouse;
import java.io.InputStream;
/**
* @author zgmnkv
*/
public final 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;
}
}