com.clickzetta.platform.client.RequestStreamObserver 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;
import io.grpc.ManagedChannel;
import io.grpc.stub.StreamObserver;
public interface RequestStreamObserver {
/**
* streamObserver get & set interface.
*/
void replaceWithNew(RequestStreamObserver newStreamObserver);
StreamObserver getRequestStreamObserver();
ResponseProxyStreamObserver> getResponseProxyStreamObserver();
/**
* stream observer interface.
*/
int refCnt();
RequestStreamObserver retain();
ManagedChannel getChannel();
void onNext(V var1);
void onError(Throwable var1);
default void onCompleted() {
long wait_time_ms = 5 * 1000;
onCompleted(wait_time_ms);
}
void onCompleted(long wait_time_ms);
default void onCancel() {
long wait_time_ms = 5 * 1000;
onCancel(wait_time_ms);
}
void onCancel(long wait_time_ms);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy