net.sf.sparql.benchmarking.operations.parameterized
Class AbstractParameterizedSparqlOperation

java.lang.Object
  extended by net.sf.sparql.benchmarking.operations.AbstractOperation
      extended by 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

Constructor Summary
AbstractParameterizedSparqlOperation(String sparqlString, Collection<Binding> parameters, String name)
          Creates a new parameterized SPARQL operation
 
Method Summary
 String getContentString()
          Gets a string that shows the content of the operation e.g.
protected  ParameterizedSparqlString getParameterizedSparql()
          Gets the parameterized SPARQL with a random set of parameters injected
 
Methods inherited from class net.sf.sparql.benchmarking.operations.AbstractOperation
getId, getName, getStats, setId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.sf.sparql.benchmarking.operations.Operation
canRun, createCallable, createErrorInformation, getType
 

Constructor Detail

AbstractParameterizedSparqlOperation

public AbstractParameterizedSparqlOperation(String sparqlString,
                                            Collection<Binding> parameters,
                                            String name)
Creates a new parameterized SPARQL operation

Parameters:
sparqlString - SPARQL string
parameters - Parameters to inject, each binding represents a single set of parameters
name - Name
Method Detail

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.