public void mergeFrom(io.protostuff.Input input, com.dremio.exec.proto.CoordExecRPC.NodePhaseStatus.Builder builder) throws java.io.IOException { for(int number = input.readFieldNumber(this);; number = input.readFieldNumber(this)) { switch(number) { case 0: return; case 1: builder.setMajorFragmentId(input.readInt32()); break; case 2: builder.setMaxMemoryUsed(input.readInt64()); break; default: input.handleUnknownField(number, this); } } } public boolean isInitialized(com.dremio.exec.proto.CoordExecRPC.NodePhaseStatus.Builder builder)
/** * Return the status of the query's phase tracked by this ticket, on this node. */ NodePhaseStatus getStatus() { return NodePhaseStatus.newBuilder() .setMajorFragmentId(majorFragmentId) .setMaxMemoryUsed(getAllocator().getPeakMemoryAllocation()) .build(); } }
public Builder mergeFrom(com.dremio.exec.proto.CoordExecRPC.NodePhaseStatus other) { if (other == com.dremio.exec.proto.CoordExecRPC.NodePhaseStatus.getDefaultInstance()) return this; if (other.hasMajorFragmentId()) { setMajorFragmentId(other.getMajorFragmentId()); } if (other.hasMaxMemoryUsed()) { setMaxMemoryUsed(other.getMaxMemoryUsed()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }