@Override
    public Stream<? extends Ticket> stream(final TicketRegistryStreamCriteria criteria) {
        return dbTableService
            .stream()
            .skip(criteria.getFrom())
            .limit(criteria.getCount())
            .map(this::decodeTicket);
    }
This is {@link DynamoDbTicketRegistry}.

@author Misagh Moayyed
@since 5.1.0
support/cas-server-support-dynamodb-ticket-registry/src/main/java/org/apereo/cas/ticket/registry/DynamoDbTicketRegistry.java