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

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
All Implemented Interfaces:
Operation, UpdateOperation
Direct Known Subclasses:
ParameterizedNvpUpdateOperation

public class ParameterizedUpdateOperation
extends AbstractParameterizedUpdateOperation

A parameterized update operation that runs against a remote service via HTTP

Author:
rvesse

Constructor Summary
ParameterizedUpdateOperation(String sparqlString, Collection<Binding> parameters, String name)
          Creates a new parameterized update operation
 
Method Summary
<T extends Options>
boolean
canRun(Runner<T> runner, T options)
          Report whether the operation can run based on the available options
 String getType()
          Gets a descriptive type string for the operation e.g.
 
Methods inherited from class net.sf.sparql.benchmarking.operations.parameterized.AbstractParameterizedUpdateOperation
createCallable, 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

ParameterizedUpdateOperation

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

Parameters:
sparqlString - SPARQL String
parameters - Parameters
name - Name
Method Detail

canRun

public <T extends Options> boolean canRun(Runner<T> runner,
                                          T options)
Description copied from interface: Operation
Report whether the operation can run based on the available options

Parameters:
runner - Runner
options - Options
Returns:
True if the operation can run, false otherwise

getType

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

Returns:
Type string


Copyright © 2014. All Rights Reserved.