Class Queries

java.lang.Object
google.registry.bsa.persistence.Queries

public final class Queries extends Object
Helpers for querying BSA JPA entities.
  • Method Details

    • batchReadBsaLabelText

      public static com.google.common.collect.ImmutableList<String> batchReadBsaLabelText(Optional<String> lastRead, int batchSize)
    • batchReadUnblockableDomains

      public static com.google.common.collect.ImmutableList<UnblockableDomain> batchReadUnblockableDomains(Optional<UnblockableDomain> lastRead, int batchSize)
    • queryUnblockableDomainByLabels

      public static Stream<UnblockableDomain> queryUnblockableDomainByLabels(com.google.common.collect.ImmutableCollection<String> labels)
    • queryMissedRegisteredUnblockables

      public static com.google.common.collect.ImmutableList<Queries.DomainLifeSpan> queryMissedRegisteredUnblockables(String tld, org.joda.time.DateTime now)
      Finds all currently registered domains that match BSA labels but are not recorded as unblockable.
      Returns:
      The missing unblockables and their creation and deletion time.