public void mergeFrom(io.protostuff.Input input, com.dremio.exec.proto.CoordExecRPC.NodeQueryStatus.Builder builder) throws java.io.IOException { for(int number = input.readFieldNumber(this);; number = input.readFieldNumber(this)) { switch(number) { case 0: return; case 1: builder.setId(input.mergeObject(com.dremio.exec.proto.UserBitShared.QueryId.newBuilder(), com.dremio.exec.proto.SchemaUserBitShared.QueryId.MERGE)); break; case 2: builder.setEndpoint(input.mergeObject(com.dremio.exec.proto.CoordinationProtos.NodeEndpoint.newBuilder(), com.dremio.exec.proto.SchemaCoordinationProtos.NodeEndpoint.MERGE)); break; case 3: builder.addPhaseStatus(input.mergeObject(com.dremio.exec.proto.CoordExecRPC.NodePhaseStatus.newBuilder(), com.dremio.exec.proto.SchemaCoordExecRPC.NodePhaseStatus.MERGE)); break; case 4: builder.setMaxMemoryUsed(input.readInt64()); break; case 5: builder.setTimeEnqueuedBeforeSubmitMs(input.readInt64()); break; default: input.handleUnknownField(number, this); } } } public boolean isInitialized(com.dremio.exec.proto.CoordExecRPC.NodeQueryStatus.Builder builder)
public Builder toBuilder() { return newBuilder(this); }
public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(com.dremio.exec.proto.CoordExecRPC.NodePhaseStatus prototype) {
public static Builder newBuilder(com.dremio.exec.proto.CoordExecRPC.NodePhaseStatus prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); }
/** * 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 com.dremio.exec.proto.CoordExecRPC.NodePhaseStatus.Builder newMessage() { return com.dremio.exec.proto.CoordExecRPC.NodePhaseStatus.newBuilder(); } public java.lang.String getFieldName(int number)