Package com.clickhouse.client.data
Class ClickHouseExternalTable
- java.lang.Object
-
- com.clickhouse.client.data.ClickHouseExternalTable
-
public class ClickHouseExternalTable extends Object
"Attached" temporary table.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ClickHouseExternalTable.Builder
-
Constructor Summary
Constructors Modifier Constructor Description protected
ClickHouseExternalTable(String name, ClickHouseFile file, ClickHouseDeferredValue<InputStream> content, ClickHouseCompression compression, ClickHouseFormat format, Collection<ClickHouseColumn> columns, boolean asTempTable)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ClickHouseExternalTable.Builder
builder()
List<ClickHouseColumn>
getColumns()
Optional<ClickHouseCompression>
getCompression()
InputStream
getContent()
ClickHouseFile
getFile()
ClickHouseFormat
getFormat()
String
getName()
String
getStructure()
boolean
hasName()
boolean
isTempTable()
-
-
-
Constructor Detail
-
ClickHouseExternalTable
protected ClickHouseExternalTable(String name, ClickHouseFile file, ClickHouseDeferredValue<InputStream> content, ClickHouseCompression compression, ClickHouseFormat format, Collection<ClickHouseColumn> columns, boolean asTempTable)
-
-
Method Detail
-
builder
public static ClickHouseExternalTable.Builder builder()
-
hasName
public boolean hasName()
-
getName
public String getName()
-
getFile
public ClickHouseFile getFile()
-
getContent
public InputStream getContent()
-
getCompression
public Optional<ClickHouseCompression> getCompression()
-
getFormat
public ClickHouseFormat getFormat()
-
getColumns
public List<ClickHouseColumn> getColumns()
-
isTempTable
public boolean isTempTable()
-
getStructure
public String getStructure()
-
-