public ArrayValue readNested(ClickHouseColumn column) throws IOException {
        int len = readVarInt(input);
        if (len == 0) {
            return new ArrayValue(Object[].class, 0);
        }

        ArrayValue array;
        array = new ArrayValue(Object[].class, len);
        for (int i = 0; i < len; i++) {
            int tupleLen = column.getNestedColumns().size();
            Object[] tuple = new Object[tupleLen];
            for (int j = 0; j < tupleLen; j++) {
                tuple[j] = readValue(column.getNestedColumns().get(j));
            }

            array.set(i, tuple);
        }

        return array;
    }
Reads a nested into an ArrayValue object.
@param column - column information
@return array value
@throws IOException when IO error occurs
client-v2/src/main/java/com/clickhouse/client/api/data_formats/internal/BinaryStreamReader.java