public ProfileWrapper(final QueryProfile profile, boolean debug) { this.profile = profile; this.id = QueryIdHelper.getQueryId(profile.getId());
@Override public Object next() { QueryProfile profile = iter.next(); return new QueryInfo(profile.getForeman().getAddress(), profile.getUser(), QueryIdHelper.getQueryId(profile.getId()), profile.getQuery(), new Timestamp(profile.getStart())); }
public Builder mergeFrom(com.dremio.exec.proto.UserBitShared.QueryProfile other) { if (other == com.dremio.exec.proto.UserBitShared.QueryProfile.getDefaultInstance()) return this; if (other.hasId()) { mergeId(other.getId());
public void writeTo(io.protostuff.Output output, com.dremio.exec.proto.UserBitShared.QueryProfile message) throws java.io.IOException output.writeObject(1, message.getId(), com.dremio.exec.proto.SchemaUserBitShared.QueryId.WRITE, false);