/** * Writes null boolean to specified field in pipe * @param fieldId field to write to */ public void writeBooleanNull(long fieldId) { assert(Pipe.structRegistry(channelWriter.backingPipe).fieldType(fieldId) == StructType.Boolean); DataOutputBlobWriter.commitBackData(channelWriter, StructRegistry.extractStructId(fieldId)); DataOutputBlobWriter.setIntBackData( channelWriter, channelWriter.position(), StructRegistry.extractFieldPosition(fieldId)); channelWriter.writeBooleanNull(); assert confirmDataDoesNotWriteOverIndex(fieldId) : "Data has written over index data"; }
/** * Writes null boolean to specified field in pipe * @param fieldId field to write to */ public void writeBooleanNull(long fieldId) { assert(Pipe.structRegistry(channelWriter.backingPipe).fieldType(fieldId) == StructType.Boolean); DataOutputBlobWriter.commitBackData(channelWriter, StructRegistry.extractStructId(fieldId)); DataOutputBlobWriter.setIntBackData( channelWriter, channelWriter.position(), StructRegistry.extractFieldPosition(fieldId)); channelWriter.writeBooleanNull(); assert confirmDataDoesNotWriteOverIndex(fieldId) : "Data has written over index data"; }
/** * Writes null boolean to specified field in pipe * @param fieldId field to write to */ public void writeBooleanNull(long fieldId) { assert(Pipe.structRegistry(channelWriter.backingPipe).fieldType(fieldId) == StructType.Boolean); DataOutputBlobWriter.commitBackData(channelWriter, StructRegistry.extractStructId(fieldId)); DataOutputBlobWriter.setIntBackData( channelWriter, channelWriter.position(), StructRegistry.extractFieldPosition(fieldId)); channelWriter.writeBooleanNull(); assert confirmDataDoesNotWriteOverIndex(fieldId) : "Data has written over index data"; }