@Override
    @SuppressWarnings("unchecked")
    public <T> T[] asArray(Class<T> clazz) {
        Object[][] v = getValue();
        T[] array = (T[]) Array.newInstance(ClickHouseChecker.nonNull(clazz, ClickHouseValues.TYPE_CLASS), v.length);
        int index = 0;
        for (Object[] o : v) {
            array[index++] = clazz.cast(o);
        }
        return array;
    }
Gets immutable list of nested columns.

@return immutable list of columns
clickhouse-data/src/main/java/com/clickhouse/data/value/ClickHouseNestedValue.java