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, Node g, Node s, Node p, Node o) Create an Entity from a quad (as g/s/p/o).static Entity
entityFromQuad
(EntityDefinition defn, Quad quad) Create an Entity from a quad.static String
Create a string to put in a Lucene index for a graph nodestatic Node
Recover a Node from a stored Lucene stringstatic String
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
Create an Entity from a quad (as g/s/p/o). Returns null if the quad is not a candidate for indexing.
-