Uses of Class
com.clickhouse.client.ClickHouseFile
-
Packages that use ClickHouseFile Package Description com.clickhouse.client Provides necessary classes to communicate with ClickHouse server.com.clickhouse.client.data Provides necessary classes to handle different format or type of data.com.clickhouse.client.stream -
-
Uses of ClickHouseFile in com.clickhouse.client
Fields in com.clickhouse.client declared as ClickHouseFile Modifier and Type Field Description protected ClickHouseFileClickHouseInputStream. fileUnderlying file.protected ClickHouseFileClickHouseOutputStream. filestatic ClickHouseFileClickHouseFile. NULLNull file which has no compression and format.Methods in com.clickhouse.client that return ClickHouseFile Modifier and Type Method Description ClickHouseFileClickHouseInputStream. getUnderlyingFile()Gets underlying file.ClickHouseFileClickHouseOutputStream. getUnderlyingFile()Gets underlying file.static ClickHouseFileClickHouseFile. of(File file)static ClickHouseFileClickHouseFile. of(File file, ClickHouseCompression compression, int compressionLevel, ClickHouseFormat format)static ClickHouseFileClickHouseFile. of(String file)static ClickHouseFileClickHouseFile. of(String file, ClickHouseCompression compression, int compressionLevel, ClickHouseFormat format)static ClickHouseFileClickHouseFile. of(Path path)Methods in com.clickhouse.client with parameters of type ClickHouseFile Modifier and Type Method Description ClickHouseRequest.MutationClickHouseRequest.Mutation. data(ClickHouseFile file)Loads data from given file which may or may not be compressed.static CompletableFuture<ClickHouseResponseSummary>ClickHouseClient. dump(ClickHouseNode server, String tableOrQuery, ClickHouseFile file)Dumps a table or query result from server into a file.static CompletableFuture<ClickHouseResponseSummary>ClickHouseClient. load(ClickHouseNode server, String table, ClickHouseFile file)Loads data from given file into a table.static ClickHouseInputStreamClickHouseInputStream. of(ClickHouseFile file, int bufferSize, Runnable postCloseAction)Wraps the given file as input stream.static ClickHouseOutputStreamClickHouseOutputStream. of(ClickHouseFile file, int bufferSize, Runnable postCloseAction)Wraps the given file as output stream.SelfTClickHouseRequest. output(ClickHouseFile file)Sets output file, to which response will be redirected.static ClickHouseInputStreamClickHouseInputStream. wrap(ClickHouseFile file, InputStream input, int bufferSize, Runnable postCloseAction, ClickHouseCompression compression, int compressionLevel)Wraps the given input stream.Constructors in com.clickhouse.client with parameters of type ClickHouseFile Constructor Description ClickHouseInputStream(ClickHouseFile file, OutputStream copyTo, Runnable postCloseAction)ClickHouseOutputStream(ClickHouseFile file, Runnable postCloseAction) -
Uses of ClickHouseFile in com.clickhouse.client.data
Methods in com.clickhouse.client.data that return ClickHouseFile Modifier and Type Method Description ClickHouseFileClickHouseExternalTable. getFile()Methods in com.clickhouse.client.data with parameters of type ClickHouseFile Modifier and Type Method Description ClickHouseExternalTable.BuilderClickHouseExternalTable.Builder. content(ClickHouseFile file)Constructors in com.clickhouse.client.data with parameters of type ClickHouseFile Constructor Description ClickHouseExternalTable(String name, ClickHouseFile file, ClickHouseDeferredValue<InputStream> content, ClickHouseCompression compression, ClickHouseFormat format, Collection<ClickHouseColumn> columns, boolean asTempTable) -
Uses of ClickHouseFile in com.clickhouse.client.stream
Constructors in com.clickhouse.client.stream with parameters of type ClickHouseFile Constructor Description AbstractByteArrayInputStream(ClickHouseFile file, OutputStream copyTo, Runnable postCloseAction)AbstractByteArrayOutputStream(ClickHouseFile file, int bufferSize, Runnable postCloseAction)AbstractByteBufferInputStream(ClickHouseFile file, OutputStream copyTo, Runnable postCloseAction)Lz4InputStream(ClickHouseFile file, InputStream stream, Runnable postCloseAction)Lz4OutputStream(ClickHouseFile file, OutputStream stream, int maxCompressBlockSize, Runnable postCloseAction)WrappedInputStream(ClickHouseFile file, InputStream input, int bufferSize, Runnable postCloseAction)WrappedOutputStream(ClickHouseFile file, OutputStream stream, int bufferSize, Runnable postCloseAction)
-