Class FacetPathContext

java.lang.Object
org.aksw.facete.v3.api.FacetPathContext
All Implemented Interfaces:
FacetPathMapping

public class FacetPathContext extends Object implements FacetPathMapping
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected FacetPath
    An absolute path against which to resolve relative paths.
    protected Set<org.apache.jena.sparql.core.Var>
     
    protected org.aksw.commons.collections.generator.Generator<String>
    Generator for names that are used to build variables
    protected com.google.common.collect.BiMap<FacetPath,org.apache.jena.sparql.core.Var>
    So far allocated mappings
    protected org.apache.jena.sparql.core.Var
    The root variable the path started from.
    protected String
    A name used to disambiguate the same variable name at different levels of nesting.
  • Constructor Summary

    Constructors
    Constructor
    Description
    FacetPathContext(String scopeName, org.apache.jena.sparql.core.Var rootVar, FacetPath basePath, Set<org.apache.jena.sparql.core.Var> forbiddenVars)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.jena.sparql.core.Var
    allocate(FacetPath facetPath)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • pathToVar

      protected com.google.common.collect.BiMap<FacetPath,org.apache.jena.sparql.core.Var> pathToVar
      So far allocated mappings
    • scopeName

      protected String scopeName
      A name used to disambiguate the same variable name at different levels of nesting.
    • rootVar

      protected org.apache.jena.sparql.core.Var rootVar
      The root variable the path started from.
    • basePath

      protected FacetPath basePath
      An absolute path against which to resolve relative paths.
    • forbiddenVars

      protected Set<org.apache.jena.sparql.core.Var> forbiddenVars
    • nameGenerator

      protected org.aksw.commons.collections.generator.Generator<String> nameGenerator
      Generator for names that are used to build variables
  • Constructor Details

    • FacetPathContext

      public FacetPathContext(String scopeName, org.apache.jena.sparql.core.Var rootVar, FacetPath basePath, Set<org.apache.jena.sparql.core.Var> forbiddenVars)
  • Method Details