net.sf.sparql.benchmarking.operations.update.nvp
Class NvpUpdateCallable<T extends Options>

java.lang.Object
  extended by net.sf.sparql.benchmarking.operations.AbstractOperationCallable<T>
      extended by net.sf.sparql.benchmarking.operations.update.callables.AbstractUpdateCallable<T>
          extended by net.sf.sparql.benchmarking.operations.update.callables.AbstractRemoteUpdateCallable<T>
              extended by net.sf.sparql.benchmarking.operations.update.callables.RemoteUpdateCallable<T>
                  extended by net.sf.sparql.benchmarking.operations.update.nvp.NvpUpdateCallable<T>
Type Parameters:
T - Options type
All Implemented Interfaces:
Callable<OperationRun>, OperationCallable<T>

public class NvpUpdateCallable<T extends Options>
extends RemoteUpdateCallable<T>

An update callable that adds custom NVPs to the request

Author:
rvesse

Constructor Summary
NvpUpdateCallable(UpdateRequest update, Runner<T> runner, T options, Map<String,List<String>> nvps)
          Creates a new callable
 
Method Summary
protected  void customizeRequest(UpdateProcessor processor)
          Provides derived implementations the option to customize the update processor before actually executing the update e.g.
 
Methods inherited from class net.sf.sparql.benchmarking.operations.update.callables.RemoteUpdateCallable
getUpdate
 
Methods inherited from class net.sf.sparql.benchmarking.operations.update.callables.AbstractRemoteUpdateCallable
createUpdateProcessor
 
Methods inherited from class net.sf.sparql.benchmarking.operations.update.callables.AbstractUpdateCallable
call
 
Methods inherited from class net.sf.sparql.benchmarking.operations.AbstractOperationCallable
cancel, getOptions, getRunner, isCancelled
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NvpUpdateCallable

public NvpUpdateCallable(UpdateRequest update,
                         Runner<T> runner,
                         T options,
                         Map<String,List<String>> nvps)
Creates a new callable

Parameters:
update - Update
runner - Runner
options - Options
nvps - Name value pairs
Method Detail

customizeRequest

protected void customizeRequest(UpdateProcessor processor)
Description copied from class: AbstractUpdateCallable
Provides derived implementations the option to customize the update processor before actually executing the update e.g. to add custom parameters

The default implementation does nothing.

Overrides:
customizeRequest in class AbstractUpdateCallable<T extends Options>
Parameters:
processor - Update processor


Copyright © 2014. All Rights Reserved.