hash = (53 * hash) + getArrowRecordBatch().hashCode();
public Builder mergeFrom(com.dremio.exec.proto.ExecRPC.FragmentRecordBatch other) { if (other == com.dremio.exec.proto.ExecRPC.FragmentRecordBatch.getDefaultInstance()) return this; if (other.hasQueryId()) { mergeQueryId(other.getQueryId()); } if (other.hasReceivingMajorFragmentId()) { setReceivingMajorFragmentId(other.getReceivingMajorFragmentId()); } if (!other.receivingMinorFragmentId_.isEmpty()) { if (receivingMinorFragmentId_.isEmpty()) { receivingMinorFragmentId_ = other.receivingMinorFragmentId_; bitField0_ = (bitField0_ & ~0x00000004); } else { ensureReceivingMinorFragmentIdIsMutable(); receivingMinorFragmentId_.addAll(other.receivingMinorFragmentId_); } onChanged(); } if (other.hasSendingMajorFragmentId()) { setSendingMajorFragmentId(other.getSendingMajorFragmentId()); } if (other.hasSendingMinorFragmentId()) { setSendingMinorFragmentId(other.getSendingMinorFragmentId()); } if (other.hasArrowRecordBatch()) { setArrowRecordBatch(other.getArrowRecordBatch()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
result = result && getArrowRecordBatch() .equals(other.getArrowRecordBatch());
int size = 0; try { RecordBatch recordBatch = RecordBatch.getRootAsRecordBatch(batch.getHeader().getArrowRecordBatch().asReadOnlyByteBuffer()); if (batch.getBody() == null) { for (VectorWrapper<?> w : container) {
public void writeTo(io.protostuff.Output output, com.dremio.exec.proto.ExecRPC.FragmentRecordBatch message) throws java.io.IOException { if(message.hasQueryId()) output.writeObject(1, message.getQueryId(), com.dremio.exec.proto.SchemaUserBitShared.QueryId.WRITE, false); if(message.hasReceivingMajorFragmentId()) output.writeInt32(2, message.getReceivingMajorFragmentId(), false); for(int receivingMinorFragmentId : message.getReceivingMinorFragmentIdList()) output.writeInt32(3, receivingMinorFragmentId, true); if(message.hasSendingMajorFragmentId()) output.writeInt32(4, message.getSendingMajorFragmentId(), false); if(message.hasSendingMinorFragmentId()) output.writeInt32(5, message.getSendingMinorFragmentId(), false); if(message.hasArrowRecordBatch()) output.writeByteArray(6, message.getArrowRecordBatch().toByteArray(), false); } public boolean isInitialized(com.dremio.exec.proto.ExecRPC.FragmentRecordBatch message)
/** * <code>optional bytes arrow_record_batch = 6;</code> */ public Builder clearArrowRecordBatch() { bitField0_ = (bitField0_ & ~0x00000020); arrowRecordBatch_ = getDefaultInstance().getArrowRecordBatch(); onChanged(); return this; }