Class NamedSparqlSupplier
- java.lang.Object
-
- org.eclipse.rdf4j.spring.dao.support.sparql.NamedSparqlSupplier
-
@Experimental public class NamedSparqlSupplier extends Object
Associates a String key with aSupplier
that provides a SPARQL operation.- Since:
- 4.0.0
- Author:
- Florian Kleedorfer
-
-
Constructor Summary
Constructors Constructor Description NamedSparqlSupplier(String name, Supplier<String> sparqlSupplier)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
String
getName()
Supplier<String>
getSparqlSupplier()
int
hashCode()
static NamedSparqlSupplier
of(String key, Supplier<String> generator)
-
-
-
Method Detail
-
getName
public String getName()
-
of
public static NamedSparqlSupplier of(String key, Supplier<String> generator)
-
-