net.sf.sparql.benchmarking.operations.query
Class InMemoryFixedQueryOperation
java.lang.Object
net.sf.sparql.benchmarking.operations.AbstractOperation
net.sf.sparql.benchmarking.operations.query.AbstractQueryOperation
net.sf.sparql.benchmarking.operations.query.AbstractInMemoryQueryOperation
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
InMemoryFixedQueryOperation
public InMemoryFixedQueryOperation(String name,
String queryString)
- Creates a new Query
- Parameters:
name
- Name of the queryqueryString
- Query string
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.