net.sf.sparql.benchmarking.operations.query
Class FixedQueryOperation

java.lang.Object
  extended by net.sf.sparql.benchmarking.operations.AbstractOperation
      extended by net.sf.sparql.benchmarking.operations.query.AbstractQueryOperation
          extended by net.sf.sparql.benchmarking.operations.query.AbstractRemoteQueryOperation
              extended by net.sf.sparql.benchmarking.operations.query.FixedQueryOperation
All Implemented Interfaces:
Operation, QueryOperation
Direct Known Subclasses:
FixedNvpQueryOperation

public class FixedQueryOperation
extends AbstractRemoteQueryOperation

Represents a query operation that always uses the same fixed query

Author:
rvesse

Constructor Summary
FixedQueryOperation(String name, String queryString)
          Creates a new Query
 
Method Summary
 Query getQuery()
          Gets the actual Query
 String getQueryString()
          Gets the Query String used to create this Query
 String getType()
          Gets a descriptive type string for the operation e.g.
 
Methods inherited from class net.sf.sparql.benchmarking.operations.query.AbstractRemoteQueryOperation
canRun, createCallable
 
Methods inherited from class net.sf.sparql.benchmarking.operations.query.AbstractQueryOperation
createErrorInformation, getContentString, toString
 
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, wait, wait, wait
 
Methods inherited from interface net.sf.sparql.benchmarking.operations.Operation
getId, getName, getStats, setId
 

Constructor Detail

FixedQueryOperation

public FixedQueryOperation(String name,
                           String queryString)
Creates a new Query

Parameters:
name - Name of the query
queryString - Query string
Method Detail

getQuery

public Query getQuery()
Description copied from interface: QueryOperation
Gets the actual Query

Returns:
Query

getQueryString

public String getQueryString()
Description copied from interface: QueryOperation
Gets the Query String used to create this Query

Returns:
Query as a string

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.