Alignment API and Server 3.5

fr.inrialpes.exmo.queryprocessor
Interface Result


public interface Result

Author:
Arun Sharma

Method Summary
 boolean getAskResult()
           
 RDFGraph getConstructResult()
           
 Collection getSelectResult()
           
 String getSelectResultasXML()
           
 int getType()
           
 

Method Detail

getType

int getType()
Returns:
the type of the result set

getAskResult

boolean getAskResult()
                     throws QueryTypeMismatchException
Returns:
the reslut for ASK type queries
Throws:
QueryTypeMismatchException

getConstructResult

RDFGraph getConstructResult()
                            throws QueryTypeMismatchException
Returns:
the RDF graph for construct queries
Throws:
QueryTypeMismatchException

getSelectResult

Collection getSelectResult()
                           throws QueryTypeMismatchException
Returns:
a collection set for SELECT queries
Throws:
QueryTypeMismatchException

getSelectResultasXML

String getSelectResultasXML()
                            throws QueryTypeMismatchException
Returns:
an XML string for the SELECT queries
Throws:
QueryTypeMismatchException

Alignment API and Server 3.5

(C) INRIA & friends, 2003-2008