Class SingletonBindingSet
- java.lang.Object
-
- org.eclipse.rdf4j.sail.shacl.ast.planNodes.SingletonBindingSet
-
- All Implemented Interfaces:
Serializable,Iterable<org.eclipse.rdf4j.query.Binding>,org.eclipse.rdf4j.query.BindingSet
public class SingletonBindingSet extends Object implements org.eclipse.rdf4j.query.BindingSet
A simple binding set tuned for the use case that the ShaclSail has.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SingletonBindingSet(String bindingName, org.eclipse.rdf4j.model.Value value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object other)org.eclipse.rdf4j.query.BindinggetBinding(String bindingName)Set<String>getBindingNames()org.eclipse.rdf4j.model.ValuegetValue(String bindingName)booleanhasBinding(String bindingName)inthashCode()booleanisEmpty()Iterator<org.eclipse.rdf4j.query.Binding>iterator()intsize()StringtoString()-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Constructor Detail
-
SingletonBindingSet
public SingletonBindingSet(String bindingName, org.eclipse.rdf4j.model.Value value)
-
-
Method Detail
-
iterator
public Iterator<org.eclipse.rdf4j.query.Binding> iterator()
-
getBindingNames
public Set<String> getBindingNames()
- Specified by:
getBindingNamesin interfaceorg.eclipse.rdf4j.query.BindingSet
-
getBinding
public org.eclipse.rdf4j.query.Binding getBinding(String bindingName)
- Specified by:
getBindingin interfaceorg.eclipse.rdf4j.query.BindingSet
-
hasBinding
public boolean hasBinding(String bindingName)
- Specified by:
hasBindingin interfaceorg.eclipse.rdf4j.query.BindingSet
-
getValue
public org.eclipse.rdf4j.model.Value getValue(String bindingName)
- Specified by:
getValuein interfaceorg.eclipse.rdf4j.query.BindingSet
-
size
public int size()
- Specified by:
sizein interfaceorg.eclipse.rdf4j.query.BindingSet
-
hashCode
public int hashCode()
-
equals
public boolean equals(Object other)
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfaceorg.eclipse.rdf4j.query.BindingSet
-
-