Class FacetedBrowsingSessionImpl

java.lang.Object
org.aksw.jena_sparql_api.data_query.impl.FacetedBrowsingSessionImpl

public class FacetedBrowsingSessionImpl extends Object
  • Field Details

    • conn

      protected org.apache.jena.rdfconnection.RDFConnection conn
    • root

      protected SPath root
    • focus

      protected SPath focus
    • queryGenerator

      protected FacetedQueryGenerator<SPath> queryGenerator
  • Constructor Details

    • FacetedBrowsingSessionImpl

      public FacetedBrowsingSessionImpl(org.apache.jena.rdfconnection.RDFConnection conn)
  • Method Details

    • getRoot

      public SPath getRoot()
    • createQueryFacetsAndCounts

      public Fragment2 createQueryFacetsAndCounts(SPath path, boolean isReverse, Fragment1 pConstraint)
      Returns a flow of mappings from predicate to count. If the count is known, the range will include a single element, otherwise it may be created with .atLeast() or .atMost();
      Parameters:
      path -
      isReverse -
      Returns:
    • getFacetValues

      public io.reactivex.rxjava3.core.Flowable<com.google.common.collect.Table.Cell<org.apache.jena.graph.Node,org.apache.jena.graph.Node,com.google.common.collect.Range<Long>>> getFacetValues(SPath facetPath, boolean isReverse, Fragment1 pFilter, Fragment1 oFilter)
    • createQueryFacetValues

      public Fragment3 createQueryFacetValues(SPath facetPath, boolean isReverse, Fragment1 pFilter, Fragment1 oFilter)