net.sf.sparql.benchmarking.operations.parameterized.nvp
Class ParameterizedNvpUpdateOperation

java.lang.Object
  extended by net.sf.sparql.benchmarking.operations.AbstractOperation
      extended by net.sf.sparql.benchmarking.operations.parameterized.AbstractParameterizedSparqlOperation
          extended by net.sf.sparql.benchmarking.operations.parameterized.AbstractParameterizedUpdateOperation
              extended by net.sf.sparql.benchmarking.operations.parameterized.ParameterizedUpdateOperation
                  extended by net.sf.sparql.benchmarking.operations.parameterized.nvp.ParameterizedNvpUpdateOperation
All Implemented Interfaces:
Operation, UpdateOperation

public class ParameterizedNvpUpdateOperation
extends ParameterizedUpdateOperation

An operation that runs a parameterized update with custom NVPs added to the request

Author:
rvesse

Constructor Summary
ParameterizedNvpUpdateOperation(String sparqlString, Collection<Binding> parameters, String name, Map<String,List<String>> nvps)
          Creates a new parameterized query operation
 
Method Summary
<T extends Options>
OperationCallable<T>
createCallable(Runner<T> runner, T options)
          Creates the callable for running the operation in a background thread
 String getType()
          Gets a descriptive type string for the operation e.g.
 
Methods inherited from class net.sf.sparql.benchmarking.operations.parameterized.ParameterizedUpdateOperation
canRun
 
Methods inherited from class net.sf.sparql.benchmarking.operations.parameterized.AbstractParameterizedUpdateOperation
createErrorInformation, getUpdate, getUpdateString
 
Methods inherited from class net.sf.sparql.benchmarking.operations.parameterized.AbstractParameterizedSparqlOperation
getContentString, getParameterizedSparql
 
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
getContentString, getId, getName, getStats, setId
 

Constructor Detail

ParameterizedNvpUpdateOperation

public ParameterizedNvpUpdateOperation(String sparqlString,
                                       Collection<Binding> parameters,
                                       String name,
                                       Map<String,List<String>> nvps)
Creates a new parameterized query operation

Parameters:
sparqlString - Update string
parameters - Parameters
name - Name
nvps - Name value pairs
Method Detail

createCallable

public <T extends Options> OperationCallable<T> createCallable(Runner<T> runner,
                                                               T options)
Description copied from interface: Operation
Creates the callable for running the operation in a background thread

Specified by:
createCallable in interface Operation
Overrides:
createCallable in class AbstractParameterizedUpdateOperation
Parameters:
runner - Runner
options - Options
Returns:
Callable

getType

public String getType()
Description copied from interface: Operation
Gets a descriptive type string for the operation e.g. SPARQL Query

Specified by:
getType in interface Operation
Overrides:
getType in class ParameterizedUpdateOperation
Returns:
Type string


Copyright © 2014. All Rights Reserved.