All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.clickzetta.platform.client.message.kudu.KuduRequestMessage Maven / Gradle / Ivy

There is a newer version: 2.0.0
Show newest version
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