private void readComplexColumn(ColumnDefinition column, DataInputPlus in, SerializationHeader header, SerializationHelper helper, boolean hasComplexDeletion, Row.Builder builder, LivenessInfo rowLiveness) throws IOException { if (helper.includes(column)) { helper.startOfComplexColumn(column); if (hasComplexDeletion) { DeletionTime complexDeletion = header.readDeletionTime(in); if (!helper.isDroppedComplexDeletion(complexDeletion)) builder.addComplexDeletion(column, complexDeletion); } int count = (int) in.readUnsignedVInt(); while (--count >= 0) { Cell cell = Cell.serializer.deserialize(in, rowLiveness, column, header, helper); if (helper.includes(cell, rowLiveness) && !helper.isDropped(cell, true)) builder.addCell(cell); } helper.endOfComplexColumn(); } else { skipComplexColumn(in, column, header, hasComplexDeletion); } }
private void readComplexColumn(ColumnDefinition column, DataInputPlus in, SerializationHeader header, SerializationHelper helper, boolean hasComplexDeletion, Row.Builder builder, LivenessInfo rowLiveness) throws IOException { if (helper.includes(column)) { helper.startOfComplexColumn(column); if (hasComplexDeletion) { DeletionTime complexDeletion = header.readDeletionTime(in); if (!helper.isDroppedComplexDeletion(complexDeletion)) builder.addComplexDeletion(column, complexDeletion); } int count = (int) in.readUnsignedVInt(); while (--count >= 0) { Cell cell = Cell.serializer.deserialize(in, rowLiveness, column, header, helper); if (helper.includes(cell, rowLiveness) && !helper.isDropped(cell, true)) builder.addCell(cell); } helper.endOfComplexColumn(); } else { skipComplexColumn(in, column, header, hasComplexDeletion); } }
private void readComplexColumn(ColumnDefinition column, DataInputPlus in, SerializationHeader header, SerializationHelper helper, boolean hasComplexDeletion, Row.Builder builder, LivenessInfo rowLiveness) throws IOException { if (helper.includes(column)) { helper.startOfComplexColumn(column); if (hasComplexDeletion) { DeletionTime complexDeletion = header.readDeletionTime(in); if (!helper.isDroppedComplexDeletion(complexDeletion)) builder.addComplexDeletion(column, complexDeletion); } int count = (int) in.readUnsignedVInt(); while (--count >= 0) { Cell cell = Cell.serializer.deserialize(in, rowLiveness, column, header, helper); if (helper.includes(cell, rowLiveness) && !helper.isDropped(cell, true)) builder.addCell(cell); } helper.endOfComplexColumn(); } else { skipComplexColumn(in, column, header, hasComplexDeletion); } }
private void readComplexColumn(ColumnDefinition column, DataInputPlus in, SerializationHeader header, SerializationHelper helper, boolean hasComplexDeletion, Row.Builder builder, LivenessInfo rowLiveness) throws IOException { if (helper.includes(column)) { helper.startOfComplexColumn(column); if (hasComplexDeletion) { DeletionTime complexDeletion = header.readDeletionTime(in); if (!helper.isDroppedComplexDeletion(complexDeletion)) builder.addComplexDeletion(column, complexDeletion); } int count = (int) in.readUnsignedVInt(); while (--count >= 0) { Cell cell = Cell.serializer.deserialize(in, rowLiveness, column, header, helper); if (helper.includes(cell, rowLiveness) && !helper.isDropped(cell, true)) builder.addCell(cell); } helper.endOfComplexColumn(); } else { skipComplexColumn(in, column, header, hasComplexDeletion); } }
private void readSimpleColumn(ColumnDefinition column, DataInputPlus in, SerializationHeader header, SerializationHelper helper, Row.Builder builder, LivenessInfo rowLiveness) throws IOException { if (helper.includes(column)) { Cell cell = Cell.serializer.deserialize(in, rowLiveness, column, header, helper); if (helper.includes(cell, rowLiveness) && !helper.isDropped(cell, false)) builder.addCell(cell); } else { Cell.serializer.skip(in, column, header); } }
private void readSimpleColumn(ColumnDefinition column, DataInputPlus in, SerializationHeader header, SerializationHelper helper, Row.Builder builder, LivenessInfo rowLiveness) throws IOException { if (helper.includes(column)) { Cell cell = Cell.serializer.deserialize(in, rowLiveness, column, header, helper); if (helper.includes(cell, rowLiveness) && !helper.isDropped(cell, false)) builder.addCell(cell); } else { Cell.serializer.skip(in, column, header); } }
private void readSimpleColumn(ColumnDefinition column, DataInputPlus in, SerializationHeader header, SerializationHelper helper, Row.Builder builder, LivenessInfo rowLiveness) throws IOException { if (helper.includes(column)) { Cell cell = Cell.serializer.deserialize(in, rowLiveness, column, header, helper); if (helper.includes(cell, rowLiveness) && !helper.isDropped(cell, false)) builder.addCell(cell); } else { Cell.serializer.skip(in, column, header); } }
private void readSimpleColumn(ColumnDefinition column, DataInputPlus in, SerializationHeader header, SerializationHelper helper, Row.Builder builder, LivenessInfo rowLiveness) throws IOException { if (helper.includes(column)) { Cell cell = Cell.serializer.deserialize(in, rowLiveness, column, header, helper); if (helper.includes(cell, rowLiveness) && !helper.isDropped(cell, false)) builder.addCell(cell); } else { Cell.serializer.skip(in, column, header); } }