freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

畢業(yè)設(shè)計-面向?qū)ο蟮臄?shù)據(jù)建?!獢?shù)據(jù)篩選接口的設(shè)計—論文-閱讀頁

2024-12-21 17:13本頁面
  

【正文】 39。 begin 省略部分代碼 add condition Add_Compound_Item_condition ( p_name = 39。, p_negated = 0, p_conjunction = 39。, p_container_id = null, p_new_row_id = l_rule_id)。NO_NOTICE39。 Add_List_Item_condition ( p_name = 39。, p_negated = 1, p_field_id = l_field_id, p_container_id = l_rule_id, p_new_row_id = l_list_id)。,39。,39。,39。,39。,39。,39。,39。,39。 end loop。MSG_DELINQ_DAYS39。 Add_Simple_Item_condition ( p_name = null, p_negated = 0, p_container_id = l_rule_id, p_field_id = l_field_id, p_value = 90, p_parison_field_name = null, p_operator = 39。, p_new_row_id = l_simple_id)。DO_NOT_PROCESS39。 Add_Simple_Item_condition ( p_name = null, p_negated = 0, p_container_id = l_rule_id, p_field_id = l_field_id, p_value = 9, p_parison_field_name = null, p_operator = 39。, p_new_row_id = l_simple_id)。CLIENT_ID39。 Add_Simple_Item_condition ( p_name = null, p_negated = 0, p_container_id = l_rule_id, p_field_id = l_field_id, p_value = 116, p_parison_field_name = null, p_operator = 39。, p_new_row_id= l_simple_id)。 end。 還需要對存儲在表CONDITION_OPERATOR中的數(shù)值,也就是記錄篩選列和需要匹配的數(shù)值之間的關(guān)系的數(shù)值進(jìn)行處理,以便能動態(tài)處理。 當(dāng)需要匹配的數(shù)值的數(shù)據(jù)類型為日期類型時,如下: function Comparison_Date ( p_row V_Simple_Condition%rowtype, p_field_ref varchar2, p_parison_field_ref varchar2 ) return varchar2 is l_parison varchar2( 4000 )。 l_value_this_day date。 l_value_next_day date。 begin 省略部分代碼 if( p_parison_field_ref is not null ) then 省略部分代碼 l_value_this_day_string := 39。 || p_parison_field_ref || 39。39。39。 l_value_next_day_string := 39。 || p_parison_field_ref || 39。39。39。 else if ( is not null ) then l_value_this_day := to_date( , g_date_format )。to_date( 39。39。39。39。, 39。39。39。39。 )39。 l_value_next_day := l_value_this_day + 1。to_date( 39。39。39。39。, 39。39。39。39。 )39。 end if。 case when 39。 then if( p_parison_field_ref is not null ) then if( = 0 ) then l_parison := 39。 || p_field_ref || 39。 || 39。 || p_parison_field_ref || 39。 || 39。 || p_field_ref || 39。 || l_value_this_day_string || 39。 || 39。 || 39。 || p_field_ref || 39。 || l_value_next_day_string || 39。 else l_parison := 39。 || p_field_ref || 39。 || 39。 || p_parison_field_ref || 39。 || 39。 || p_field_ref || 39。 || 39。 || p_parison_field_ref || 39。 || 39。 || p_field_ref || 39。 || l_value_this_day_string || 39。 || 39。 || p_field_ref || 39。 || l_value_next_day_string || 39。 end if。 is null39。 is not null39。 else if( = 0 ) then l_parison := 39。 || p_field_ref || 39。 || l_value_this_day_string || 39。 || 39。 || 39。 || p_field_ref || 39。 || l_value_next_day_string || 39。 else l_parison := 39。 || p_field_ref || 39。 || 39。 || 39。 || p_field_ref || 39。 || l_value_this_day_string || 39。 || 39。 || 39。 || p_field_ref || 39。 || l_value_next_day_string || 39。 end if。 end if。Greater39。 if( ( p_parison_field_ref is not null ) or ( is not null ) ) then if( = 0 ) then l_operator := 39。 else l_operator := 39。 end if。 39。 39。 else The value we39。 end if。Less39。39。=39。 l_parison := p_field_ref || 39。 || l_operator || 39。 || l_value_this_day_string。re checking against is null, so we should have no matches. l_parison := g_false_condition。 else raise_application_error ( g_error_number, 39。 || )。 省略部分代碼 return l_parison。 總結(jié)一下,本接口設(shè)計的 PL/SQL 程序設(shè)計部分 是通過如下過程實現(xiàn)了靈活控制篩選條件,并完成了數(shù)據(jù)篩選接口的基本部分的。 現(xiàn)在還需要通過寫過程來實現(xiàn)把這些復(fù)雜篩選條件 ‘ 拼裝 ’ 起來,最終篩選出客戶需要的數(shù)據(jù),這樣一個功能。 function Cond_Where_Simple ( p_item_condition_id integer, p_index_field_prefix varchar2 ) return varchar2 is Required l_where_clause varchar2( 4000 )。 l_effective_prefix varchar2( 100 )。 l_parison_field_ref varchar2( 1000 ) := null。39。.39。 l_where_clause := 39。 被調(diào)用 被調(diào)用 基礎(chǔ)操作條件過程 1 對數(shù)據(jù)庫的相關(guān)條件表進(jìn)行 操作,包括插入 ,更新等 基礎(chǔ)操作條件過程 2 動態(tài)處理記錄篩選列和需 要匹配的數(shù)值之間的關(guān)系 的數(shù)值 調(diào)用基礎(chǔ)條件過程 用于創(chuàng)造一些復(fù)雜的組合條件 select * into l_row from V_SimpleCondition where( ID = p_item_condition_id )。 if( is not null ) then l_parison_field_ref := l_effective_prefix || 。 case when 39。 then l_where_clause := l_where_clause || Comparison_Boolean( l_row, l_field_ref, l_parison_field_ref )。Date39。 when 39。 then l_where_clause := l_where_clause || Comparison_String( l_row, l_field_ref, l_parison_field_ref )。Number39。 when 39。 then l_where_clause := l_where_clause || Comparison_String( l_row, l_field_ref, l_parison_field_ref )。 return l_where_clause。 現(xiàn)在還需要 再完成一個對簡單條件,序列條件,以及組合條件都開放的公共調(diào)用接口。 l_condition_type varchar2( 100 )。( 39。s either a simple, pound, or list condition. l_condition_type := Condition_Type( p_condition_id )。simple39。 when 39。 then null。 when 39。 then l_where_clause := l_where_clause || Cond_Where_Compound( p_condition_id, p_index_field_prefix )。Unknown type for item condition 39。 end case。 )39。 end。需要什么樣的條件,無論復(fù)雜與否,都只需要根據(jù)需求,通過傳入相關(guān)參數(shù)調(diào)用產(chǎn)生條件的公共接口,然后用動態(tài) SQL 的方法,‘拼’在篩選條件的地方就可以了。 融合了面向?qū)ο蟮乃枷牒蟮臄?shù)據(jù)庫在開發(fā)階段會發(fā)生了一些改善,例如提高代碼的可重用性,這就很大程度上減少了開發(fā)階段在代碼編寫上所花費的資源,可以很 好的提高軟件的開發(fā)質(zhì)量,并且易于維護(hù)。 [2] Steven Feuerstein,Bill PL/SQL Programming 4th Edtion[M].O39。 [3] Steven PL/SQL Best Practices[M].O39。 [4] Arup Nanda,Steven PL/SQL for DBAs[M].O39。 [5] Bulusu PL/SQL: A Developer39。 [6] 張海藩 .軟件工程導(dǎo)論 [M].北京 清華大學(xué)出版社 ,1999。 致 謝 感謝李中志 老師耐心的指導(dǎo)。 作者簡介: 姓 名:葉凱 性別:男 出生年月: 1984 年 02 月 12 日 民族:漢 Email: 聲 明 本論文的工作是 2021年 2月至 2021年 6月在成都信息工程學(xué)院網(wǎng)絡(luò)工程系完成的。除非另有說明,本文的工作是原始性工作。 ( 2)學(xué)??梢圆捎糜坝?、縮印或其他復(fù)制方式保存學(xué)位論文。 ( 4)學(xué)??稍试S學(xué)位論文被查閱或借閱。 除非另有科研合同和其他法律文書的制約,本論文的科研成果屬于成都信息工程學(xué)院。它應(yīng)用于 某公司,此公司由于行業(yè)的關(guān)系需要它去處理龐大的數(shù)據(jù),這些數(shù)據(jù)每天都在以上百萬條甚至上億條的數(shù)量在增加。本論文主要講述了如何針對數(shù)據(jù)篩選條件比較復(fù)雜并且比較靈活這一需求,在做了詳盡的需求分析之后,進(jìn)行了一系列的設(shè)計,包括解決方案的設(shè)計,數(shù)據(jù)建模, PL/SQL 程序設(shè)計,最終完成整個數(shù)據(jù)篩選接口的設(shè)計。尤其在數(shù)據(jù)建模階段 ,通過傳統(tǒng)的數(shù)據(jù)模型之間的關(guān)系 ,例如主外鍵關(guān)系 ,實現(xiàn)了一些重要的面向?qū)ο蟮乃枷?。這些要求不但包括處理速度盡可能快,系統(tǒng)可維護(hù)性盡可能高等傳統(tǒng)需求,而且增加了對數(shù)據(jù)的處理盡可能的靈活等一些新的需求。面向?qū)ο蟮?數(shù)據(jù) 建模是我們研究的一個
點擊復(fù)制文檔內(nèi)容
公司管理相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1