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