java.lang.Object
org.apache.jena.sparql.service.enhancer.impl.ServiceResultSizeCache

public class ServiceResultSizeCache extends Object
A mapping of service IRIs to result set size limits. A flag indicates whether the limit is a lower bound or exact.
  • Constructor Details

    • ServiceResultSizeCache

      public ServiceResultSizeCache()
  • Method Details

    • getLimit

      public Estimate<Long> getLimit(org.apache.jena.graph.Node service)
    • updateLimit

      public void updateLimit(org.apache.jena.graph.Node service, Estimate<Long> estimate)
    • invalidateAll

      public void invalidateAll()
    • get

      public static ServiceResultSizeCache get()
      Return the global instance (if any) in ARQ.getContex()
    • get

      public static ServiceResultSizeCache get(org.apache.jena.sparql.util.Context cxt)
    • set

      public static void set(org.apache.jena.sparql.util.Context cxt, ServiceResultSizeCache cache)