@Override public void toData(DataOutput out) throws IOException { final long beginTime = this.timeStatsEnabled ? XPLAINUtil .recordTiming(ser_deser_time == 0 ? ser_deser_time = -1 /*record*/ : -2 /*ignore nested call*/) : 0; super.toData(out); // write the projection if (this.hasProjection) { writeUIntArray(this.projectionFixedColumns, out); writeUIntArray(this.projectionVarColumns, out); writeUIntArray(this.projectionLobColumns, out); out.writeByte(this.targetFormatOffsetBytes); } // NOTE: this could have been part of flags, but someone added as a separate // boolean increasing payload unnecessarily; not changing this now to // avoid rolling upgrade version checks but any new flags should be added // in flags like HAS_PROJECTION above; if they have been exhausted then // make the boolean below as a byte having bitmasks (with 0x1 for // QUERY_HDFS) so then 7 more flags will be available out.writeBoolean(this.queryHDFS); if (beginTime != 0) { this.ser_deser_time = XPLAINUtil.recordTiming(beginTime); } }
@Override public void toData(DataOutput out) throws IOException { final long beginTime = this.timeStatsEnabled ? XPLAINUtil .recordTiming(ser_deser_time == 0 ? ser_deser_time = -1 /*record*/ : -2 /*ignore nested call*/) : 0; super.toData(out); // write the projection if (this.hasProjection) { writeUIntArray(this.projectionFixedColumns, out); writeUIntArray(this.projectionVarColumns, out); writeUIntArray(this.projectionLobColumns, out); out.writeByte(this.targetFormatOffsetBytes); } // NOTE: this could have been part of flags, but someone added as a separate // boolean increasing payload unnecessarily; not changing this now to // avoid rolling upgrade version checks but any new flags should be added // in flags like HAS_PROJECTION above; if they have been exhausted then // make the boolean below as a byte having bitmasks (with 0x1 for // QUERY_HDFS) so then 7 more flags will be available out.writeBoolean(this.queryHDFS); if (beginTime != 0) { this.ser_deser_time = XPLAINUtil.recordTiming(beginTime); } }
@Override public void toData(DataOutput out) throws IOException { final long beginTime = this.timeStatsEnabled ? XPLAINUtil .recordTiming(ser_deser_time == 0 ? ser_deser_time = -1 /*record*/ : -2 /*ignore nested call*/) : 0; super.toData(out); // write the projection if (this.hasProjection) { writeUIntArray(this.projectionFixedColumns, out); writeUIntArray(this.projectionVarColumns, out); writeUIntArray(this.projectionLobColumns, out); out.writeByte(this.targetFormatOffsetBytes); } // NOTE: this could have been part of flags, but someone added as a separate // boolean increasing payload unnecessarily; not changing this now to // avoid rolling upgrade version checks but any new flags should be added // in flags like HAS_PROJECTION above; if they have been exhausted then // make the boolean below as a byte having bitmasks (with 0x1 for // QUERY_HDFS) so then 7 more flags will be available out.writeBoolean(this.queryHDFS); if (beginTime != 0) { this.ser_deser_time = XPLAINUtil.recordTiming(beginTime); } }
@Override public void toData(DataOutput out) throws IOException { final long begintime = this.timeStatsEnabled ? XPLAINUtil .recordTiming(ser_deser_time == 0 ? ser_deser_time = -1 /*record*/ : -2/*ignore nested call*/) : 0; super.toData(out); // write the region ID or path if (this.prId >= 0) { InternalDataSerializer.writeUnsignedVL(this.prId, out); } else { DataSerializer.writeString(this.regionPath, out); } InternalDataSerializer.writeObject(this.membersToKeys, out); if (this.commonCallbackArg != null) { InternalDataSerializer.writeObject(this.commonCallbackArg, out); } // write the projection if (this.hasProjection) { GetExecutorMessage.writeUIntArray(this.projectionFixedColumns, out); GetExecutorMessage.writeUIntArray(this.projectionVarColumns, out); GetExecutorMessage.writeUIntArray(this.projectionLobColumns, out); out.writeByte(this.targetFormatOffsetBytes); } if (begintime != 0) { this.ser_deser_time = XPLAINUtil.recordTiming(begintime); } }
@Override public void toData(DataOutput out) throws IOException { final long begintime = this.timeStatsEnabled ? XPLAINUtil .recordTiming(ser_deser_time == 0 ? ser_deser_time = -1 /*record*/ : -2/*ignore nested call*/) : 0; super.toData(out); // write the region ID or path if (this.prId >= 0) { InternalDataSerializer.writeUnsignedVL(this.prId, out); } else { DataSerializer.writeString(this.regionPath, out); } InternalDataSerializer.writeObject(this.membersToKeys, out); if (this.commonCallbackArg != null) { InternalDataSerializer.writeObject(this.commonCallbackArg, out); } // write the projection if (this.hasProjection) { GetExecutorMessage.writeUIntArray(this.projectionFixedColumns, out); GetExecutorMessage.writeUIntArray(this.projectionVarColumns, out); GetExecutorMessage.writeUIntArray(this.projectionLobColumns, out); out.writeByte(this.targetFormatOffsetBytes); } if (begintime != 0) { this.ser_deser_time = XPLAINUtil.recordTiming(begintime); } }
@Override public void toData(DataOutput out) throws IOException { final long begintime = this.timeStatsEnabled ? XPLAINUtil .recordTiming(ser_deser_time == 0 ? ser_deser_time = -1 /*record*/ : -2/*ignore nested call*/) : 0; super.toData(out); // write the region ID or path if (this.prId >= 0) { InternalDataSerializer.writeUnsignedVL(this.prId, out); } else { DataSerializer.writeString(this.regionPath, out); } InternalDataSerializer.writeObject(this.membersToKeys, out); if (this.commonCallbackArg != null) { InternalDataSerializer.writeObject(this.commonCallbackArg, out); } // write the projection if (this.hasProjection) { GetExecutorMessage.writeUIntArray(this.projectionFixedColumns, out); GetExecutorMessage.writeUIntArray(this.projectionVarColumns, out); GetExecutorMessage.writeUIntArray(this.projectionLobColumns, out); out.writeByte(this.targetFormatOffsetBytes); } if (begintime != 0) { this.ser_deser_time = XPLAINUtil.recordTiming(begintime); } }