Class TextQueryFuncs

java.lang.Object
org.apache.jena.query.text.TextQueryFuncs

public class TextQueryFuncs extends Object
Functions relating to text query
  • Constructor Details

    • TextQueryFuncs

      public TextQueryFuncs()
  • Method Details

    • subjectToString

      public static String subjectToString(org.apache.jena.graph.Node s)
      Create a string to put in a Lucene index for the subject node
    • graphNodeToString

      public static String graphNodeToString(org.apache.jena.graph.Node g)
      Create a string to put in a Lucene index for a graph node
    • stringToNode

      public static org.apache.jena.graph.Node stringToNode(String v)
      Recover a Node from a stored Lucene string
    • entityFromQuad

      public static Entity entityFromQuad(EntityDefinition defn, org.apache.jena.sparql.core.Quad quad)
      Create an Entity from a quad. Returns null if the quad is not a candidate for indexing.
    • entityFromQuad

      public static Entity entityFromQuad(EntityDefinition defn, org.apache.jena.graph.Node g, org.apache.jena.graph.Node s, org.apache.jena.graph.Node p, org.apache.jena.graph.Node o)
      Create an Entity from a quad (as g/s/p/o). Returns null if the quad is not a candidate for indexing.