Franz Inc, AllegroGraph

com.franz.agraph.jena
Class AGQueryExecution

java.lang.Object
  extended by com.franz.agraph.jena.AGQueryExecution
All Implemented Interfaces:
Closeable, com.hp.hpl.jena.query.QueryExecution

public class AGQueryExecution
extends Object
implements com.hp.hpl.jena.query.QueryExecution, Closeable

Implements the Jena QueryExecution interface for AllegroGraph.


Constructor Summary
AGQueryExecution(AGQuery query, AGModel model)
           
 
Method Summary
 void abort()
           
 void close()
          Releases system resources associated with the object.
 long countConstruct()
           
 long countSelect()
           
 boolean execAsk()
           
 com.hp.hpl.jena.rdf.model.Model execConstruct()
           
 com.hp.hpl.jena.rdf.model.Model execConstruct(com.hp.hpl.jena.rdf.model.Model m)
           
 Iterator<com.hp.hpl.jena.graph.Triple> execConstructTriples()
           
 com.hp.hpl.jena.rdf.model.Model execDescribe()
           
 com.hp.hpl.jena.rdf.model.Model execDescribe(com.hp.hpl.jena.rdf.model.Model m)
           
 Iterator<com.hp.hpl.jena.graph.Triple> execDescribeTriples()
           
 com.hp.hpl.jena.query.ResultSet execSelect()
           
 void execUpdate()
          Executes SPARQL Update.
 com.hp.hpl.jena.sparql.util.Context getContext()
           
 com.hp.hpl.jena.query.Dataset getDataset()
           
 com.hp.hpl.jena.query.Query getQuery()
           
 void setFileManager(com.hp.hpl.jena.util.FileManager fm)
           
 void setInitialBinding(com.hp.hpl.jena.query.QuerySolution binding)
           
 void setTimeout(long arg0)
           
 void setTimeout(long arg0, long arg1)
           
 void setTimeout(long arg0, TimeUnit arg1)
           
 void setTimeout(long arg0, TimeUnit arg1, long arg2, TimeUnit arg3)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AGQueryExecution

public AGQueryExecution(AGQuery query,
                        AGModel model)
Method Detail

abort

public void abort()
Specified by:
abort in interface com.hp.hpl.jena.query.QueryExecution

close

public void close()
Description copied from interface: Closeable
Releases system resources associated with the object.

Specified by:
close in interface Closeable
Specified by:
close in interface com.hp.hpl.jena.query.QueryExecution
See Also:
Closeable.close()

execAsk

public boolean execAsk()
Specified by:
execAsk in interface com.hp.hpl.jena.query.QueryExecution

execConstruct

public com.hp.hpl.jena.rdf.model.Model execConstruct()
Specified by:
execConstruct in interface com.hp.hpl.jena.query.QueryExecution

execConstruct

public com.hp.hpl.jena.rdf.model.Model execConstruct(com.hp.hpl.jena.rdf.model.Model m)
Specified by:
execConstruct in interface com.hp.hpl.jena.query.QueryExecution

execDescribe

public com.hp.hpl.jena.rdf.model.Model execDescribe()
Specified by:
execDescribe in interface com.hp.hpl.jena.query.QueryExecution

execDescribe

public com.hp.hpl.jena.rdf.model.Model execDescribe(com.hp.hpl.jena.rdf.model.Model m)
Specified by:
execDescribe in interface com.hp.hpl.jena.query.QueryExecution

execSelect

public com.hp.hpl.jena.query.ResultSet execSelect()
Specified by:
execSelect in interface com.hp.hpl.jena.query.QueryExecution

execUpdate

public void execUpdate()
Executes SPARQL Update.

Executes as a SPARQL Update to modify the model/repository.


countSelect

public long countSelect()

countConstruct

public long countConstruct()

getContext

public com.hp.hpl.jena.sparql.util.Context getContext()
Specified by:
getContext in interface com.hp.hpl.jena.query.QueryExecution

getDataset

public com.hp.hpl.jena.query.Dataset getDataset()
Specified by:
getDataset in interface com.hp.hpl.jena.query.QueryExecution

setFileManager

public void setFileManager(com.hp.hpl.jena.util.FileManager fm)
Specified by:
setFileManager in interface com.hp.hpl.jena.query.QueryExecution

setInitialBinding

public void setInitialBinding(com.hp.hpl.jena.query.QuerySolution binding)
Specified by:
setInitialBinding in interface com.hp.hpl.jena.query.QueryExecution

execConstructTriples

public Iterator<com.hp.hpl.jena.graph.Triple> execConstructTriples()
Specified by:
execConstructTriples in interface com.hp.hpl.jena.query.QueryExecution

execDescribeTriples

public Iterator<com.hp.hpl.jena.graph.Triple> execDescribeTriples()
Specified by:
execDescribeTriples in interface com.hp.hpl.jena.query.QueryExecution

getQuery

public com.hp.hpl.jena.query.Query getQuery()
Specified by:
getQuery in interface com.hp.hpl.jena.query.QueryExecution

setTimeout

public void setTimeout(long arg0)
Specified by:
setTimeout in interface com.hp.hpl.jena.query.QueryExecution

setTimeout

public void setTimeout(long arg0,
                       TimeUnit arg1)
Specified by:
setTimeout in interface com.hp.hpl.jena.query.QueryExecution

setTimeout

public void setTimeout(long arg0,
                       long arg1)
Specified by:
setTimeout in interface com.hp.hpl.jena.query.QueryExecution

setTimeout

public void setTimeout(long arg0,
                       TimeUnit arg1,
                       long arg2,
                       TimeUnit arg3)
Specified by:
setTimeout in interface com.hp.hpl.jena.query.QueryExecution

Copyright © 2008-2012 Franz Inc.