SQLamarr
The stand-alone ultra-fast simulation option for the LHCb experiment
SQLamarr.TemporaryTable.TemporaryTable Class Reference

Creates a temporary table from an SQL query. More...

Public Member Functions

def __init__ (self, SQLite3DB db, str output_table, List[str] outputs, Union[str, List[str]] query, bool make_persistent=False)
 Acquires the reference to an open connection to the DB and configure the Transformer. More...
 

Detailed Description

Creates a temporary table from an SQL query.

Persitency can be enabled.

Python binding of SQLamarr::TemporaryTable.

Definition at line 27 of file TemporaryTable.py.

Constructor & Destructor Documentation

◆ __init__()

def SQLamarr.TemporaryTable.TemporaryTable.__init__ (   self,
SQLite3DB  db,
str  output_table,
List[str]  outputs,
Union[str, List[str]]  query,
bool   make_persistent = False 
)

Acquires the reference to an open connection to the DB and configure the Transformer.

Parameters
dbAn open database connection;
output_tablename of the table where the query output is stored;
outputslist of the output column names for further reference;
querySQL query (or queries) defining the output columns;
make_persistentmark the TABLE as persistent.

Definition at line 33 of file TemporaryTable.py.


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