public class ThriftConvert extends Object
StreamRDF2Thrift
and Thrift2StreamRDF
for ways to convert as streams (they recycle intermediate objects).StreamRDF2Thrift
,
Thrift2StreamRDF
Constructor and Description |
---|
ThriftConvert() |
Modifier and Type | Method and Description |
---|---|
static RDF_Term |
convert(Node node,
boolean allowValues) |
static RDF_Term |
convert(Node node,
PrefixMap pmap,
boolean allowValues) |
static RDF_Quad |
convert(Quad quad,
boolean allowValues) |
static RDF_Quad |
convert(Quad quad,
PrefixMap pmap,
boolean allowValues) |
static Quad |
convert(RDF_Quad quad) |
static Quad |
convert(RDF_Quad rq,
PrefixMap pmap) |
static Node |
convert(RDF_Term term) |
static Node |
convert(RDF_Term term,
PrefixMap pmap) |
static Triple |
convert(RDF_Triple triple) |
static Triple |
convert(RDF_Triple rt,
PrefixMap pmap) |
static RDF_Triple |
convert(Triple triple,
boolean allowValues) |
static RDF_Triple |
convert(Triple triple,
PrefixMap pmap,
boolean allowValues) |
static void |
toThrift(Node node,
PrefixMap pmap,
RDF_Term term,
boolean allowValues) |
static boolean |
toThriftValue(Node node,
RDF_Term term)
Attempt to encode a node by value (integer, decimal, double) into an RDF_term.
|
public static boolean toThriftValue(Node node, RDF_Term term)
node
- term
- public static Triple convert(RDF_Triple triple)
public static Triple convert(RDF_Triple rt, PrefixMap pmap)
public static RDF_Triple convert(Triple triple, boolean allowValues)
public static RDF_Triple convert(Triple triple, PrefixMap pmap, boolean allowValues)
Licenced under the Apache License, Version 2.0