Package com.stardog.stark
Interface Value
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
ArrayLiteral,StatementPattern
Base type for a node in an RDF graph
- Since:
- 1.0
- Version:
- 1.0
- Author:
- Michael Grove
- See Also:
-
Method Summary
-
Method Details
-
lex
Return the lexical value of aValue, which is dependent on the type of the `Value`.Literal-- theLiteral.label()BNode-- theBNode.id()IRI-- theIRI#toString()(ie the plain IRI)
- Parameters:
theValue- the value- Returns:
- the label
-
lexLength
Determine length of lexical value, can be used to estimate memory usage- Parameters:
theValue- value to measure- Returns:
- exact length of the lexical value
-