com.clickzetta.platform.client.api.Stream Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of clickzetta-java Show documentation
Show all versions of clickzetta-java Show documentation
The java SDK for clickzetta's Lakehouse
package com.clickzetta.platform.client.api;
import com.clickzetta.platform.client.BaseStream;
import com.clickzetta.platform.client.SingleRowCreate;
import java.io.IOException;
public interface Stream extends BaseStream, SingleRowCreate {
@Deprecated
enum Operator {
INSERT,
INSERT_IGNORE,
UPDATE,
UPSERT,
DELETE,
DELETE_IGNORE
}
void bindListener(Listener listener);
/**
* apply rows to buffer.
*
* @param rows
*/
void apply(Row... rows) throws IOException;
/**
* flush current rows.
*
* @throws IOException
*/
void flush() throws IOException;
/**
* close current stream.
*/
void close() throws IOException;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy