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

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.AbstractInMemoryQueryOperation
              extended by net.sf.sparql.benchmarking.operations.query.InMemoryFixedQueryOperation
All Implemented Interfaces:
Operation, QueryOperation

public class InMemoryFixedQueryOperation
extends AbstractInMemoryQueryOperation

Represents a query operation that always uses the same fixed query

Author:
rvesse

Constructor Summary
InMemoryFixedQueryOperation(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.AbstractInMemoryQueryOperation
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

InMemoryFixedQueryOperation

public InMemoryFixedQueryOperation(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.