C# Class mergedServices.QueryProcessor

Datei anzeigen Open project: sherifkandeel/weet-it_WCF

Public Methods

Method Description
ExecuteQueryWithInnerQuery ( SPARQLQueryBuilder input, string obj1, string obj2 ) : List

Exectues a certain List of InnerQuery objects

ExecuteQueryWithString ( string input ) : SparqlResultSet

overload of Execute query

closeConnection ( ) : void

closes connection to the server

startConnection ( ) : void

starts connection with the server

Private Methods

Method Description
setOriginalObjects ( ResSetToJSON temp, string input ) : ResSetToJSON.innerResult

helper function to manage the changes of the queries first and last objects

Method Details

ExecuteQueryWithInnerQuery() public static method

Exectues a certain List of InnerQuery objects
public static ExecuteQueryWithInnerQuery ( SPARQLQueryBuilder input, string obj1, string obj2 ) : List
input SPARQLQueryBuilder the list of innerquery to be queried
obj1 string
obj2 string
return List

ExecuteQueryWithString() public static method

overload of Execute query
public static ExecuteQueryWithString ( string input ) : SparqlResultSet
input string the query text as string
return SparqlResultSet

closeConnection() public static method

closes connection to the server
public static closeConnection ( ) : void
return void

startConnection() public static method

starts connection with the server
public static startConnection ( ) : void
return void