cc.blynk.clickhouse.copy.ReaderInputStream 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.copy;
import java.io.IOException;
import java.io.InputStream;
import java.io.Reader;
final class ReaderInputStream extends InputStream {
private final Reader reader;
ReaderInputStream(Reader reader) {
this.reader = reader;
}
@Override
public int read() throws IOException {
return reader.read();
}
}