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(Node s)
      Create a string to put in a Lucene index for the subject node
    • graphNodeToString

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

      public static Node stringToNode(String v)
      Recover a Node from a stored Lucene string
    • entityFromQuad

      public static Entity entityFromQuad(EntityDefinition defn, 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, Node g, Node s, Node p, Node o)
      Create an Entity from a quad (as g/s/p/o). Returns null if the quad is not a candidate for indexing.