@Override
    public RegisteredService findServiceById(final long id) {
        val holder = cassandraSessionFactory.getCassandraTemplate()
            .selectOneById(id, CassandraRegisteredServiceHolder.class);
        if (holder != null) {
            return serializer.from(holder.getData());
        }
        return null;
    }
This is {@link CassandraServiceRegistry}.

@author Misagh Moayyed
@since 6.1.0
support/cas-server-support-cassandra-service-registry/src/main/java/org/apereo/cas/services/cassandra/CassandraServiceRegistry.java