/** * Writes blob to specified field in pipe * calls selectStruct(id) only after setting all the object fields * @param assoc field association showing where to write * @return channelWriter */ public ChannelWriter writeBlob(Object assoc) { assert(DataOutputBlobWriter.getStructType(channelWriter)<=0) : "call selectStruct(id) only after setting all the object fields."; storeAssocAndPosition(assoc); return channelWriter; }
/** * Writes blob to specified field in pipe * calls selectStruct(id) only after setting all the object fields * @param assoc field association showing where to write * @return channelWriter */ public ChannelWriter writeBlob(Object assoc) { assert(DataOutputBlobWriter.getStructType(channelWriter)<=0) : "call selectStruct(id) only after setting all the object fields."; storeAssocAndPosition(assoc); return channelWriter; }
/** * Writes boolean to specified field in pipe * calls selectStruct(id) only after setting all the object fields * @param assoc field association showing where to write * @param value true or false */ public void writeBoolean(Object assoc, boolean value) { assert(DataOutputBlobWriter.getStructType(channelWriter)<=0) : "call selectStruct(id) only after setting all the object fields."; storeAssocAndPosition(assoc); channelWriter.writeBoolean(value); }
/** * Writes null to specified field in pipe * calls selectStruct(id) only after setting all the object fields * @param assoc field association showing where to write */ public void writeInt(Object assoc) { assert(DataOutputBlobWriter.getStructType(channelWriter)<=0) : "call selectStruct(id) only after setting all the object fields."; storeAssocAndPosition(assoc); channelWriter.writePackedNull(); }
/** * Writes rational to specified field in pipe * calls selectStruct(id) only after setting all the object fields * @param assoc field association showing where to write * @param numerator of rational to be written * @param denominator of rational to be written */ public void writeRational(Object assoc, long numerator, long denominator) { assert(DataOutputBlobWriter.getStructType(channelWriter)<=0) : "call selectStruct(id) only after setting all the object fields."; storeAssocAndPosition(assoc); channelWriter.writeRational(numerator, denominator); }
/** * Writes null to specified field in pipe * calls selectStruct(id) only after setting all the object fields * @param assoc field association showing where to write */ public void writeShort(Object assoc) { assert(DataOutputBlobWriter.getStructType(channelWriter)<=0) : "call selectStruct(id) only after setting all the object fields."; storeAssocAndPosition(assoc); channelWriter.writePackedNull(); }
/** * Writes boolean to specified field in pipe * calls selectStruct(id) only after setting all the object fields * @param assoc field association showing where to write * @param value true or false */ public void writeBoolean(Object assoc, boolean value) { assert(DataOutputBlobWriter.getStructType(channelWriter)<=0) : "call selectStruct(id) only after setting all the object fields."; storeAssocAndPosition(assoc); channelWriter.writeBoolean(value); }
/** * Writes int to specified field in pipe * calls selectStruct(id) only after setting all the object fields * @param assoc field association showing where to write * @param value int to be written */ public void writeInt(Object assoc, int value) { assert(DataOutputBlobWriter.getStructType(channelWriter)<=0) : "call selectStruct(id) only after setting all the object fields."; storeAssocAndPosition(assoc); channelWriter.writePackedInt(value); }
/** * Writes short to specified field in pipe * calls selectStruct(id) only after setting all the object fields * @param assoc field association showing where to write * @param value short to be written */ public void writeShort(Object assoc, short value) { assert(DataOutputBlobWriter.getStructType(channelWriter)<=0) : "call selectStruct(id) only after setting all the object fields."; storeAssocAndPosition(assoc); channelWriter.writePackedInt(value); }
/** * Writes long null to specified field in pipe * calls selectStruct(id) only after setting all the object fields * @param assoc field association showing where to write */ public void writeLongNull(Object assoc) { assert(DataOutputBlobWriter.getStructType(channelWriter)<=0) : "call selectStruct(id) only after setting all the object fields."; storeAssocAndPosition(assoc); channelWriter.writePackedNull(); }
/** * Writes rational to specified field in pipe * calls selectStruct(id) only after setting all the object fields * @param assoc field association showing where to write * @param numerator of rational to be written * @param denominator of rational to be written */ public void writeRational(Object assoc, long numerator, long denominator) { assert(DataOutputBlobWriter.getStructType(channelWriter)<=0) : "call selectStruct(id) only after setting all the object fields."; storeAssocAndPosition(assoc); channelWriter.writeRational(numerator, denominator); }
/** * Writes decimal to specified field in pipe * calls selectStruct(id) only after setting all the object fields * @param assoc field association showing where to write * @param m long to be written * @param e byte to be written */ public void writeDecimal(Object assoc, long m, byte e) { assert(DataOutputBlobWriter.getStructType(channelWriter)<=0) : "call selectStruct(id) only after setting all the object fields."; storeAssocAndPosition(assoc); channelWriter.writeDecimal(m, e); }
/** * Writes short to specified field in pipe * calls selectStruct(id) only after setting all the object fields * @param assoc field association showing where to write * @param value short to be written */ public void writeShort(Object assoc, short value) { assert(DataOutputBlobWriter.getStructType(channelWriter)<=0) : "call selectStruct(id) only after setting all the object fields."; storeAssocAndPosition(assoc); channelWriter.writePackedInt(value); }
/** * Writes long to specified field in pipe * calls selectStruct(id) only after setting all the object fields * @param assoc field association showing where to write * @param value long to be written */ public void writeLong(Object assoc, long value) { assert(DataOutputBlobWriter.getStructType(channelWriter)<=0) : "call selectStruct(id) only after setting all the object fields."; storeAssocAndPosition(assoc); channelWriter.writePackedLong(value); }
/** * Writes long null to specified field in pipe * calls selectStruct(id) only after setting all the object fields * @param assoc field association showing where to write */ public void writeLongNull(Object assoc) { assert(DataOutputBlobWriter.getStructType(channelWriter)<=0) : "call selectStruct(id) only after setting all the object fields."; storeAssocAndPosition(assoc); channelWriter.writePackedNull(); }
/** * Writes null to specified field in pipe * calls selectStruct(id) only after setting all the object fields * @param assoc field association showing where to write */ public void writeShort(Object assoc) { assert(DataOutputBlobWriter.getStructType(channelWriter)<=0) : "call selectStruct(id) only after setting all the object fields."; storeAssocAndPosition(assoc); channelWriter.writePackedNull(); }
/** * Writes byte to specified field in pipe * calls selectStruct(id) only after setting all the object fields * @param assoc field association showing where to write * @param value byte to be written */ public void writeByte(Object assoc, byte value) { assert(DataOutputBlobWriter.getStructType(channelWriter)<=0) : "call selectStruct(id) only after setting all the object fields."; storeAssocAndPosition(assoc); channelWriter.write(value); }
/** * Writes long null to specified field in pipe * calls selectStruct(id) only after setting all the object fields * @param assoc field association showing where to write */ public void writeLongNull(Object assoc) { assert(DataOutputBlobWriter.getStructType(channelWriter)<=0) : "call selectStruct(id) only after setting all the object fields."; storeAssocAndPosition(assoc); channelWriter.writePackedNull(); }
/** * Writes decimal to specified field in pipe * calls selectStruct(id) only after setting all the object fields * @param assoc field association showing where to write * @param m long to be written * @param e byte to be written */ public void writeDecimal(Object assoc, long m, byte e) { assert(DataOutputBlobWriter.getStructType(channelWriter)<=0) : "call selectStruct(id) only after setting all the object fields."; storeAssocAndPosition(assoc); channelWriter.writeDecimal(m, e); }
/** * Writes long to specified field in pipe * calls selectStruct(id) only after setting all the object fields * @param assoc field association showing where to write * @param value long to be written */ public void writeLong(Object assoc, long value) { assert(DataOutputBlobWriter.getStructType(channelWriter)<=0) : "call selectStruct(id) only after setting all the object fields."; storeAssocAndPosition(assoc); channelWriter.writePackedLong(value); }