public class ConstrainedTriples
extends java.lang.Object
Constructor and Description |
---|
ConstrainedTriples(Triple[] triples,
java.util.Map<java.lang.String,Datum> assignments)
Create an array of constrained triples with assignments to constraint
unknowns.
|
Modifier and Type | Method and Description |
---|---|
Datum |
getAssignment(java.lang.String var)
Get the value assigned to an unknown
|
java.util.Map<java.lang.String,Datum> |
getAssignments() |
Triple[] |
getTriples() |
org.json.simple.JSONObject |
toJsonObject() |
java.lang.String |
toString() |
public Datum getAssignment(java.lang.String var)
var
- an unknownpublic java.util.Map<java.lang.String,Datum> getAssignments()
public Triple[] getTriples()
public java.lang.String toString()
toString
in class java.lang.Object
public org.json.simple.JSONObject toJsonObject() throws SourceConnectorStateException, TripleStoreNonFatalException
SourceConnectorStateException
TripleStoreNonFatalException