com.github.housepower.jdbc.protocol.EOFStreamResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of clickhouse-native-jdbc Show documentation
Show all versions of clickhouse-native-jdbc Show documentation
ClickHouse Native Protocol JDBC implementation
package com.github.housepower.jdbc.protocol;
import java.io.IOException;
import com.github.housepower.jdbc.serializer.BinaryDeserializer;
import com.github.housepower.jdbc.serializer.BinarySerializer;
public class EOFStreamResponse extends RequestOrResponse {
EOFStreamResponse() {
super(ProtocolType.RESPONSE_EndOfStream);
}
@Override
public void writeImpl(BinarySerializer serializer) throws IOException {
throw new UnsupportedOperationException("EndOfStreamResponse Cannot write to Server.");
}
public static RequestOrResponse readFrom(BinaryDeserializer deserializer) {
return new EOFStreamResponse();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy