【正文】
quals39。 and ( application_id = l_dps_appl_id or application_id is null )。 COMMIT。 下面只以需要匹配的數(shù)值的數(shù)據(jù)類型為日期類型的情況為例。 l_value_this_day_string varchar2( 1000 )。trunc( 39。dd39。trunc( 39。dd39。 l_value_this_day_string := 39。39。39。39。39。 l_value_next_day_string := 39。39。39。39。39。 end if。( ( 39。( 39。( ( 39。 )39。( 39。 ) )39。 is null ) and 39。 is not null ) ) or 39。 is not null ) and 39。 is null ) ) or 39。 39。( 39。 )39。 else l_parison := p_field_ref || 39。( 39。 )39。( 39。 )39。 is null )39。( 39。 )39。( 39。 )39。 when 39。=39。 l_parison := p_field_ref || 39。 || l_value_next_day_string。 when 39。 else l_operator := 39。 39。 else The value we39。Unexpected operator: 39。 end。 以簡(jiǎn)單條件為例。 l_field_ref varchar2( 1000 )。 if( p_index_field_prefix is not null ) then l_effective_prefix := p_index_field_prefix || 39。39。 end if。 when 39。List39。 then l_where_clause := l_where_clause || Comparison_Number( l_row, l_field_ref, l_parison_field_ref )。 else 省略部分代碼 end case。 function Condition_Where_Clause_R ( p_condition_id integer, Required p_index_field_prefix varchar2 := null ) return varchar2 is Required l_where_clause varchar2( 10000 ) := null。 It39。 then l_where_clause := l_where_clause || Cond_Where_Simple( p_condition_id, p_index_field_prefix )。 l_where_clause := l_where_clause || Cond_Where_List( p_condition_id, p_index_field_prefix )。 else raise_application_error ( g_error_number, 39。 l_where_clause := l_where_clause || 39。 到此,數(shù)據(jù)篩選接口的設(shè)計(jì)就基本完成了。 參考文獻(xiàn) [1] Johanna Wenny Rahayu,David Taniar,Eric Oracle[M].IRM Press,2021。Reilly Media,2021。s Guide [M]. Apress,2021。在 完成畢業(yè)設(shè)計(jì)的過(guò)程中,有時(shí)會(huì)遇到一些意想不到的問(wèn)題和疑惑,在李中志 老師的點(diǎn)撥和啟發(fā)下,這些問(wèn)題以及疑惑一一得到解決,并使論文最終得以順利地完成。 關(guān)于學(xué)位論文使用權(quán)和研究成果知識(shí)產(chǎn)權(quán)的說(shuō)明 本人完全了解成都信息工程學(xué)院有關(guān)保管使用學(xué)位論文的規(guī)定,其中包括: ( 1)學(xué)校有權(quán)保管并向有關(guān)部門遞交學(xué)位論文的原件與復(fù)印件。 ( 5)學(xué)??梢怨紝W(xué)位論文的全部或部分內(nèi)容(保密學(xué)位論文在解密后遵守此規(guī)定)。因此 它需要處理海量的數(shù)據(jù),它的其中一個(gè)比較重要的功能是根據(jù)復(fù)雜并且靈活的條件篩選出適當(dāng)?shù)臄?shù)據(jù)返回給客戶。 關(guān)鍵字 :數(shù)據(jù)篩選;面向?qū)ο螅粩?shù)據(jù)建模; PL/SQL Implement the Object Oriented thinking in the project to data modeling —— the design about the API to filter data Abstract 《 The WISE system》 is a powerful system for data processing .It is applied in a pany which needs to use this system to process huge amount data. And these data will be increased by millions or hundreds millions. So it needs to process the huge amount data .One of its important function is return the right data to client filtered by some plex and flexible conditions. The most content of the paper talks about how to finish the total design for the requirement which is the conditions to filter data can be plex and flexible. The entire design will include the design of project to solve problem, the design about data modeling, and the design about PL/SQL program. Finally the all designs to implement the interface for filtering the data are finished .We will try implementing the object oriented thinking to design on the base of the relational database in the process to finish all the design. Especially in the process to implement data modeling, we will implement some important object oriented thinking by some relations among traditional data models, such as PK or FK relationship. Key words: data filtration; object oriented; data modeling; PL/SQL 目 錄 論文總頁(yè)數(shù): 24頁(yè) 1 引 言 .......................................................................................................................... 5 2 開發(fā)概述 ...................................................................................................................... 5 3 需求分析 ...................................................................................................................... 5 3. 1 需求調(diào)研 .............................................................................................................. 5 3. 2 開發(fā)運(yùn)行環(huán)境 ....................................................................................................... 7 4 解決方案的設(shè)計(jì) ............................................................................................................ 7 5 數(shù)據(jù)建模 .................................................................................................................... 12 數(shù)據(jù)模型的建立 ................................................................................................... 12 數(shù)據(jù)庫(kù)表結(jié)構(gòu)的設(shè)計(jì) ............................................................................................ 13 數(shù)據(jù)庫(kù)基礎(chǔ)視圖的設(shè)計(jì) ........................................................................................ 15 6 PL/SQL程序設(shè)計(jì) ......................................................................................................... 16 結(jié) 論 ........................................................................................................................ 26 參考文獻(xiàn) ........................................................................................................................ 26 致 謝 ........................................................................................................................ 27 聲 明 ........................................................................................................................ 28 1 引 言 當(dāng)今社會(huì),某些行業(yè)的數(shù)據(jù)量越來(lái)越龐大,每天都在以上百萬(wàn)條甚至上億條的數(shù)量在增加,因此對(duì)這些行業(yè)的數(shù)據(jù)處理系 統(tǒng)的性能要求也越來(lái)越高。 引用言論: Steve Hoberman 所。要滿足這些新的需求,我們需要研究這些新需求的特性,挖掘一些解決辦法。 在整個(gè)數(shù)據(jù)篩選接口的設(shè)計(jì)中,在傳統(tǒng)的關(guān)系性數(shù)據(jù)庫(kù)的基礎(chǔ)上,會(huì)嘗試著應(yīng)用一些面向?qū)ο蟮乃枷肴ピO(shè)計(jì)。 特此聲明! 成都信息工程學(xué)院 學(xué)位論文 面向?qū)ο蟮臄?shù)據(jù)建模 —— 數(shù)據(jù)篩選接口的設(shè)計(jì) 論文作者姓名: 申請(qǐng)學(xué)位專業(yè): 申請(qǐng)學(xué)位類別: 指導(dǎo)教師姓名(職稱): 論文提交日期: 面向?qū)ο蟮臄?shù)據(jù)建模 —— 數(shù)據(jù)篩選接口的設(shè)計(jì) 摘 要 《 WISE 系統(tǒng)》是一個(gè)功能強(qiáng)大的數(shù)據(jù)處理系統(tǒng)。 ( 3)學(xué)校 可以學(xué)術(shù)交流為目的復(fù)制、贈(zèng)送和交換學(xué)位論文。文中除了特別加以標(biāo)注地方外,不包含他人已經(jīng)發(fā)表或撰寫過(guò)的研究成果,也不包含為獲得成都信息工程學(xué)院或其他教學(xué)機(jī)構(gòu)的學(xué)位或證書而使用過(guò)的材料。 [7] 任樹華 .Oracle 10g 應(yīng)用指導(dǎo)與案例精講 [M].北京 機(jī) 械工業(yè)出版社 ,2021。Reilly Media,2021。Reilly Media,2021。 結(jié) 論 所設(shè)計(jì)與開發(fā)的數(shù)據(jù)篩選接口會(huì)對(duì)系統(tǒng)的數(shù)據(jù)篩選部分起到便于靈活控制,便于修改,便于維護(hù)的作用。 省略部分代碼 return l_where_clause。 || p_condition_id )。pound39。list39。 case l_condition_type