OmniSciDB
a5dc49c757
|
Public Member Functions | |
def | __init__ |
def | file_counter |
def | generated_header_files |
def | increment_file_counter |
def | should_generate_files |
def | get_filename |
def | get_num_generated_files |
def | generate_files |
Public Attributes | |
dirname | |
kind | |
Static Public Attributes | |
int | CHUNK_SIZE = 200 |
Private Member Functions | |
def | _get_filename |
def | _generate_files |
def | _split_stmts_into_chunks |
Static Private Attributes | |
list | _generated_header_files = [] |
Definition at line 16 of file TableFunctionsFactory_linker.py.
def TableFunctionsFactory_linker.BaseGenerateFiles.__init__ | ( | self, | |
dirname, | |||
kind | |||
) |
Definition at line 21 of file TableFunctionsFactory_linker.py.
|
private |
Definition at line 54 of file TableFunctionsFactory_linker.py.
References TableFunctionsFactory_linker.GenerateTemplateFiles._generate_cpp_content(), TableFunctionsFactory_linker.GenerateAddTableFunctionsFiles._generate_cpp_content(), TableFunctionsFactory_linker.GenerateTemplateFiles._generate_hpp_content(), TableFunctionsFactory_linker.GenerateAddTableFunctionsFiles._generate_hpp_content(), TableFunctionsFactory_linker.BaseGenerateFiles._get_filename(), TableFunctionsFactory_linker.BaseGenerateFiles.file_counter(), TableFunctionsFactory_linker.get_existing_file_content(), TableFunctionsFactory_linker.BaseGenerateFiles.increment_file_counter(), and heavyai.open().
Referenced by TableFunctionsFactory_linker.BaseGenerateFiles.generate_files().
|
private |
Definition at line 49 of file TableFunctionsFactory_linker.py.
References TableFunctionsFactory_linker.BaseGenerateFiles.dirname, TableFunctionsFactory_linker.BaseGenerateFiles.file_counter(), TableFunctionsFactory_linker.GenerateTemplateFiles.filename_prefix(), TableFunctionsFactory_linker.GenerateAddTableFunctionsFiles.filename_prefix(), TableFunctionsFactory_linker.BaseGenerateFiles.get_filename(), TableFunctionsFactory_linker.BaseGenerateFiles.kind, lockmgr::TableSchemaLockMgr.kind, lockmgr::InsertDataLockMgr.kind, lockmgr::TableDataLockMgr.kind, org.apache.calcite.sql.SqlOperator.kind, heavydb.serialized_result_set.ttypes.TTargetInfo.kind, org.apache.calcite.sql2rel.StandardConvertletTable.RegrCovarianceConvertlet.kind, and org.apache.calcite.sql2rel.StandardConvertletTable.AvgVarianceConvertlet.kind.
Referenced by TableFunctionsFactory_linker.BaseGenerateFiles._generate_files().
|
private |
Definition at line 77 of file TableFunctionsFactory_linker.py.
References TableFunctionsFactory_linker.BaseGenerateFiles.CHUNK_SIZE, TableFunctionsFactory_linker.GenerateTemplateFiles.stmts, and TableFunctionsFactory_linker.GenerateAddTableFunctionsFiles.stmts.
Referenced by TableFunctionsFactory_linker.BaseGenerateFiles.generate_files().
def TableFunctionsFactory_linker.BaseGenerateFiles.file_counter | ( | cls | ) |
Definition at line 26 of file TableFunctionsFactory_linker.py.
Referenced by TableFunctionsFactory_linker.BaseGenerateFiles._generate_files(), and TableFunctionsFactory_linker.BaseGenerateFiles._get_filename().
def TableFunctionsFactory_linker.BaseGenerateFiles.generate_files | ( | self | ) |
Definition at line 85 of file TableFunctionsFactory_linker.py.
References TableFunctionsFactory_linker.BaseGenerateFiles._generate_files(), and TableFunctionsFactory_linker.BaseGenerateFiles._split_stmts_into_chunks().
def TableFunctionsFactory_linker.BaseGenerateFiles.generated_header_files | ( | self | ) |
Definition at line 30 of file TableFunctionsFactory_linker.py.
References TableFunctionsFactory_linker.BaseGenerateFiles._generated_header_files.
def TableFunctionsFactory_linker.BaseGenerateFiles.get_filename | ( | self, | |
prefix, | |||
kind, | |||
fileno, | |||
ext | |||
) |
Definition at line 42 of file TableFunctionsFactory_linker.py.
Referenced by TableFunctionsFactory_linker.BaseGenerateFiles._get_filename().
def TableFunctionsFactory_linker.BaseGenerateFiles.get_num_generated_files | ( | cls | ) |
Definition at line 46 of file TableFunctionsFactory_linker.py.
def TableFunctionsFactory_linker.BaseGenerateFiles.increment_file_counter | ( | cls | ) |
Definition at line 34 of file TableFunctionsFactory_linker.py.
Referenced by TableFunctionsFactory_linker.BaseGenerateFiles._generate_files().
def TableFunctionsFactory_linker.BaseGenerateFiles.should_generate_files | ( | self | ) |
Definition at line 38 of file TableFunctionsFactory_linker.py.
|
staticprivate |
Definition at line 19 of file TableFunctionsFactory_linker.py.
Referenced by TableFunctionsFactory_linker.BaseGenerateFiles.generated_header_files().
|
static |
Definition at line 18 of file TableFunctionsFactory_linker.py.
Referenced by TableFunctionsFactory_linker.BaseGenerateFiles._split_stmts_into_chunks().
TableFunctionsFactory_linker.BaseGenerateFiles.dirname |
Definition at line 22 of file TableFunctionsFactory_linker.py.
Referenced by TableFunctionsFactory_linker.BaseGenerateFiles._get_filename().
TableFunctionsFactory_linker.BaseGenerateFiles.kind |
Definition at line 23 of file TableFunctionsFactory_linker.py.
Referenced by TableFunctionsFactory_linker.BaseGenerateFiles._get_filename().