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

com.clickzetta.platform.client.message.arrow.ArrowRequestMessage Maven / Gradle / Ivy

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