net.sf.sparql.benchmarking.operations.parameterized
Class AbstractParameterizedSparqlOperation
java.lang.Object
net.sf.sparql.benchmarking.operations.AbstractOperation
net.sf.sparql.benchmarking.operations.parameterized.AbstractParameterizedSparqlOperation
- All Implemented Interfaces:
- Operation
- Direct Known Subclasses:
- AbstractParameterizedQueryOperation, AbstractParameterizedUpdateOperation
public abstract class AbstractParameterizedSparqlOperation
- extends AbstractOperation
Abstract parameterized SPARQL operation
- Author:
- rvesse
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractParameterizedSparqlOperation
public AbstractParameterizedSparqlOperation(String sparqlString,
Collection<Binding> parameters,
String name)
- Creates a new parameterized SPARQL operation
- Parameters:
sparqlString
- SPARQL stringparameters
- Parameters to inject, each binding represents a single set of
parametersname
- Name
getParameterizedSparql
protected final ParameterizedSparqlString getParameterizedSparql()
- Gets the parameterized SPARQL with a random set of parameters injected
- Returns:
- Parameterized SPARQL string
getContentString
public String getContentString()
- Description copied from interface:
Operation
- Gets a string that shows the content of the operation e.g. SPARQL Query
string, SPARQL Update string etc.
- Returns:
- Content string
Copyright © 2014. All Rights Reserved.