public class TextQueryFuncs extends Object
| Constructor and Description |
|---|
TextQueryFuncs() |
| Modifier and Type | Method and Description |
|---|---|
static Entity |
entityFromQuad(EntityDefinition defn,
com.hp.hpl.jena.graph.Node g,
com.hp.hpl.jena.graph.Node s,
com.hp.hpl.jena.graph.Node p,
com.hp.hpl.jena.graph.Node o)
Create an Entity from a quad (as g/s/p/o).
|
static Entity |
entityFromQuad(EntityDefinition defn,
com.hp.hpl.jena.sparql.core.Quad quad)
Create an Entity from a quad.
|
static String |
graphNodeToString(com.hp.hpl.jena.graph.Node g)
Create a string to put in a Lucene/Solr index for a graph node
|
static com.hp.hpl.jena.graph.Node |
stringToNode(String v)
Recover a Node from a stored Lucene/Solr string
|
static String |
subjectToString(com.hp.hpl.jena.graph.Node s)
Create a string to put in a Lucene/Solr index for the subject node
|
public static String subjectToString(com.hp.hpl.jena.graph.Node s)
public static String graphNodeToString(com.hp.hpl.jena.graph.Node g)
public static com.hp.hpl.jena.graph.Node stringToNode(String v)
public static Entity entityFromQuad(EntityDefinition defn, com.hp.hpl.jena.sparql.core.Quad quad)
public static Entity entityFromQuad(EntityDefinition defn, com.hp.hpl.jena.graph.Node g, com.hp.hpl.jena.graph.Node s, com.hp.hpl.jena.graph.Node p, com.hp.hpl.jena.graph.Node o)
Licenced under the Apache License, Version 2.0