java.lang.Object
org.apache.jena.query.text.TextQueryFuncs
Functions relating to text query
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic 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).static Entity
entityFromQuad
(EntityDefinition defn, org.apache.jena.sparql.core.Quad quad) Create an Entity from a quad.static String
graphNodeToString
(org.apache.jena.graph.Node g) Create a string to put in a Lucene index for a graph nodestatic org.apache.jena.graph.Node
Recover a Node from a stored Lucene stringstatic String
subjectToString
(org.apache.jena.graph.Node s) Create a string to put in a Lucene index for the subject node
-
Constructor Details
-
TextQueryFuncs
public TextQueryFuncs()
-
-
Method Details
-
subjectToString
Create a string to put in a Lucene index for the subject node -
graphNodeToString
Create a string to put in a Lucene index for a graph node -
stringToNode
Recover a Node from a stored Lucene string -
entityFromQuad
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.
-