Package org.apache.jena.query.text
Class TextQueryFuncs
- java.lang.Object
-
- org.apache.jena.query.text.TextQueryFuncs
-
public class TextQueryFuncs extends java.lang.ObjectFunctions relating to text query
-
-
Constructor Summary
Constructors Constructor Description TextQueryFuncs()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EntityentityFromQuad(EntityDefinition defn, Node g, Node s, Node p, Node o)Create an Entity from a quad (as g/s/p/o).static EntityentityFromQuad(EntityDefinition defn, Quad quad)Create an Entity from a quad.static java.lang.StringgraphNodeToString(Node g)Create a string to put in a Lucene index for a graph nodestatic NodestringToNode(java.lang.String v)Recover a Node from a stored Lucene stringstatic java.lang.StringsubjectToString(Node s)Create a string to put in a Lucene index for the subject node
-
-
-
Method Detail
-
subjectToString
public static java.lang.String subjectToString(Node s)
Create a string to put in a Lucene index for the subject node
-
graphNodeToString
public static java.lang.String graphNodeToString(Node g)
Create a string to put in a Lucene index for a graph node
-
stringToNode
public static Node stringToNode(java.lang.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.
-
-