hash = (53 * hash) + getTimeZone();
result = result && (getTimeZone() == other.getTimeZone());
public void writeTo(io.protostuff.Output output, com.dremio.exec.proto.CoordExecRPC.QueryContextInformation message) throws java.io.IOException { if(message.hasQueryStartTime()) output.writeInt64(1, message.getQueryStartTime(), false); if(message.hasTimeZone()) output.writeInt32(2, message.getTimeZone(), false); if(message.hasDefaultSchemaName()) output.writeString(3, message.getDefaultSchemaName(), false); if(message.hasPriority()) output.writeObject(4, message.getPriority(), com.dremio.exec.proto.SchemaCoordExecRPC.FragmentPriority.WRITE, false); if(message.hasQueryMaxAllocation()) output.writeInt64(5, message.getQueryMaxAllocation(), false); if(message.hasExtra()) output.writeByteArray(6, message.getExtra().toByteArray(), false); } public boolean isInitialized(com.dremio.exec.proto.CoordExecRPC.QueryContextInformation message)
public Builder mergeFrom(com.dremio.exec.proto.CoordExecRPC.QueryContextInformation other) { if (other == com.dremio.exec.proto.CoordExecRPC.QueryContextInformation.getDefaultInstance()) return this; if (other.hasQueryStartTime()) { setQueryStartTime(other.getQueryStartTime()); } if (other.hasTimeZone()) { setTimeZone(other.getTimeZone()); } if (other.hasDefaultSchemaName()) { bitField0_ |= 0x00000004; defaultSchemaName_ = other.defaultSchemaName_; onChanged(); } if (other.hasPriority()) { mergePriority(other.getPriority()); } if (other.hasQueryMaxAllocation()) { setQueryMaxAllocation(other.getQueryMaxAllocation()); } if (other.hasExtra()) { setExtra(other.getExtra()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
public ContextInformationImpl(final UserCredentials userCredentials, final QueryContextInformation queryContextInfo) { this.queryUser = userCredentials.getUserName(); this.currentDefaultSchema = queryContextInfo.getDefaultSchemaName(); this.queryStartTime = queryContextInfo.getQueryStartTime(); this.rootFragmentTimeZone = queryContextInfo.getTimeZone(); }