com.clickzetta.platform.flusher.Buffer 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.flusher;
import com.clickzetta.platform.client.api.multi.TableIdentifier;
import com.clickzetta.platform.operator.WriteOperation;
import java.util.List;
import java.util.Map;
public interface Buffer {
enum Type {
DEFAULT,
MULTI,
}
interface Callback {
void call(Buffer buffer);
}
void addOperation(WriteOperation operation);
boolean isEmpty();
boolean isFull(int byteSize);
List getOperations();
Map> getOperationMaps();
List getPooledOperationIndex();
int getCurrentLines();
int getCurrentBytes();
boolean registerCallback(Callback callback);
void reset();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy