xale-db 1.0
minimal SQL engine, written in c++
Loading...
Searching...
No Matches
Xale::Execution::IExecutor Class Referenceabstract

Interface for executing SQL statements and returning results. More...

#include <IExecutor.h>

Inheritance diagram for Xale::Execution::IExecutor:
Inheritance graph
Collaboration diagram for Xale::Execution::IExecutor:
Collaboration graph

Public Member Functions

virtual ~IExecutor ()=default
virtual std::unique_ptr< Xale::DataStructure::ResultSetexecute (Xale::Query::Statement *statement)=0
 Executes a given SQL statement and returns the result set.

Detailed Description

Interface for executing SQL statements and returning results.

Constructor & Destructor Documentation

◆ ~IExecutor()

virtual Xale::Execution::IExecutor::~IExecutor ( )
virtualdefault

Member Function Documentation

◆ execute()

virtual std::unique_ptr< Xale::DataStructure::ResultSet > Xale::Execution::IExecutor::execute ( Xale::Query::Statement * statement)
pure virtual

Executes a given SQL statement and returns the result set.

Parameters
statementPointer to the SQL statement to be executed.
Returns
A unique pointer to the ResultSet containing the results of the execution.

Implemented in Xale::Execution::BasicExecutor.


The documentation for this class was generated from the following file: