com.clickzetta.platform.client.message.kudu.KuduRequestMessage 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.message.kudu;
import com.clickzetta.platform.client.message.RequestMessage;
import cz.proto.ingestion.Ingestion;
public class KuduRequestMessage extends RequestMessage {
public KuduRequestMessage(Ingestion.DataMutateRequest request) {
super(request);
}
@Override
public long getRequestId() {
return t.getBatchId();
}
@Override
public long getTimestamp() {
return t.getWriteTimestamp();
}
@Override
public long getBatchCount() {
return t.getBatchCount();
}
@Override
public long messageSize() {
return t.getRowOperations().getSerializedSize();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy