@Override
    public Map<String, List<Object>> getUser(final String uid) {
        val attributes = new HashMap<String, List<Object>>();
        val row = session.execute(bind(selectUserQuery, uid)).one();
        if (row != null) {
            row.getColumnDefinitions().forEach(c -> {
                LOGGER.debug("Located attribute column [{}]", c.getName());
                attributes.put(c.getName().asInternal(), CollectionUtils.toCollection(row.getObject(c.getName()), ArrayList.class));
            });
        }
        return attributes;
    }
This is {@link DefaultCassandraRepository}.

@author Misagh Moayyed
@since 5.2.0
support/cas-server-support-cassandra-authentication/src/main/java/org/apereo/cas/authentication/DefaultCassandraRepository.java