net.sf.sparql.benchmarking.operations.parameterized
Class InMemoryParameterizedUpdateOperation
java.lang.Object
net.sf.sparql.benchmarking.operations.AbstractOperation
net.sf.sparql.benchmarking.operations.parameterized.AbstractParameterizedSparqlOperation
net.sf.sparql.benchmarking.operations.parameterized.AbstractParameterizedUpdateOperation
net.sf.sparql.benchmarking.operations.parameterized.InMemoryParameterizedUpdateOperation
- All Implemented Interfaces:
- Operation, UpdateOperation
public class InMemoryParameterizedUpdateOperation
- extends AbstractParameterizedUpdateOperation
A parameterized update operation that runs against a local in-memory dataset
- Author:
- rvesse
Method Summary |
|
canRun(Runner<T> runner,
T options)
Report whether the operation can run based on the available options |
|
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InMemoryParameterizedUpdateOperation
public InMemoryParameterizedUpdateOperation(String sparqlString,
Collection<Binding> parameters,
String name)
- Creates a new parameterized update operation
- Parameters:
sparqlString
- SPARQL Stringparameters
- Parametersname
- Name
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
- Runneroptions
- 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
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
- Runneroptions
- Options
- Returns:
- Callable
Copyright © 2014. All Rights Reserved.