soton_corenlppy.sit_assess.sit_assess_lib module

// (c) Copyright University of Southampton IT Innovation, 2016 // // Copyright in this software belongs to IT Innovation Centre of // Gamma House, Enterprise Road, Southampton SO16 7NS, UK. // // This software may not be used, sold, licensed, transferred, copied // or reproduced in whole or in part in any manner or form or in or // on any media by any person other than in accordance with the terms // of the Licence Agreement supplied with the software, or otherwise // without the prior written consent of the copyright owners. // // This software is distributed WITHOUT ANY WARRANTY, without even the // implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR // PURPOSE, except where stated in the Licence Agreement supplied with // the software. // // Created By : Ken Meacham // Created Date : 2016/04/08 // Created for Project: REVEAL // ///////////////////////////////////////////////////////////////////////// // // Dependencies: None // /////////////////////////////////////////////////////////////////////////

class soton_corenlppy.sit_assess.sit_assess_lib.DummyLogger[source]

Bases: object

debug(message)[source]
info(message)[source]
class soton_corenlppy.sit_assess.sit_assess_lib.SitAssessLib(dictConfig, useLogger=True, sitAssessLogger=None)[source]

Bases: object

appendGISTIndexSQL(tableSQL, strTableFullname, strCol)[source]
close_db()[source]
create_default_logger()[source]
static create_dummy_logger()[source]
create_insert_annotation_template(strTable)[source]
create_insert_generic_annotation_index_template()[source]
create_insert_item_template()[source]
create_insert_or_select_template(strTable)[source]
create_tables(nTimeoutStatement=None, nTimeoutOverall=None)[source]
delete_annotations(nTimeoutStatement=None, nTimeoutOverall=None)[source]
delete_items(expiryInterval, nTimeoutStatement=None, nTimeoutOverall=None)[source]
delete_tables(nTimeoutStatement=None, nTimeoutOverall=None)[source]
export_annotations()[source]
export_table_annotations(table)[source]
export_table_annotations_with_source_uri(table)[source]
getParams(query)[source]
getSQLquery(sourceSQL, params)[source]
getSubClause(query, params, joinAliases=[])[source]
getTableNames(tables)[source]
get_insert_annotation_index_query(strAnnotation, nItemKey, nAnnotationKey)[source]
get_insert_annotation_query(strAnnotation, jsonItem, bAssertImmutableCols=True)[source]
get_insert_item_query(strTable, strInsertOrUpdateTemplateName, strInsertOrSelectTemplateName, jsonItem, bAssertImmutableCols=True)[source]
get_sql_handler()[source]
initialize_sql_templates()[source]
initialize_table_def_lookup(table_type, strTable, table_short_name, tableSpec)[source]
initialize_table_defs()[source]
insert_annotation(nItemKey, strAnnotation, dataItem, nTimeoutStatement, nTimeoutOverall)[source]
insert_data(dictDataValues, nTimeoutStatement=None, nTimeoutOverall=None)[source]
insert_data_item(dataItem, nTimeoutStatement, nTimeoutOverall)[source]
insert_item(dataItem, nTimeoutStatement, nTimeoutOverall)[source]
query_data(query, nTimeoutStatement=None, nTimeoutOverall=None)[source]
toList(val)[source]