![]() |
|
ゥ 1983, 2003 Empress Software Inc.
本書の著作権は全て Empress Software Inc. が有します。 本書の著作権は日本の著作権法および国際条約により保護されています。 当社の文書による許可なく、本マニュアルの一部または全体を無断で複製、 および無断で複製物を配布、その手段に関わらず禁じます。
RESTRICTED RIGHTS LEGEND
Use, duplication, or disclosure by the Government is subject to restrictions as set forth in subparagraph (c) (1) (ii) of the Rights in Technical Data and Computer Software clause at 52.227-7013.
01/03
Empressは、ユーザー定義関数およびパーシステントストアードモジュールとして オペレータ、プロシージャ、集計関数などのユーザの定義した関数を組み込む機能を サポートしています。 このマニュアルは、 オペレータ、プロシージャ、集計関数などのユーザの定義した関数を実装するための 手順の概略を説明します。
1.1 | 概要 | |
1.2 | SQLパーシステントストアードモジュールとしてのユーザー定義関数 | |
1.3 | カーネルレベルでのEmpress ライブラリとしてのユーザー定義関数 |
2.1 | はじめに | |
2.2 | パーシステントストアードモジュールの作成方法 |
2.2.1 | ダイナミックローディングのパーシステントストアードモジュール | ||
2.2.2 | スタテックリンクのパーシステントストアードモジュール |
2.3 | パーシステントストアードモジュール SQL コマンド | |
2.4 | パラメータスタイル | |
2.5 | データタイプの対応 | |
2.6 | エラーメッセージ |
2.6.1 | 構文エラーメッセージ | ||
2.6.2 | ユーザーエラーメッセージ |
3.1 | Scope of the User Defined Functions | |
3.2 | Classes of the User Defined Functions | |
3.3 | User Defined Function Source Files | |
3.4 | Priority of User Defined Functions | |
3.5 | Create Standard C Functions |
3.5.1 | Defining the Keyword | ||
3.5.2 | Making an Entry in the User Function Table | ||
3.5.3 | Writing the C Routine |
3.5.3.1 | Handling a Variable Number of Arguments | |||
3.5.3.2 | Returning Error Messages and Null Values |
3.5.4 | Compiling UDFs and Relinking the Executables |
3.6 | Create Data Type Functions |
3.6.6.1 | Error Handling in DT User Defined Functions | |||
3.6.6.2 | Null Value Handling in DT User Defined Functions |
3.6.7 | Compiling UDFs and Relinking the Executables |
3.7 | Example Programs |
3.7.1 | User Defined Function Include File |
3.7.2 | Standard C User Defined Functions Example Program |
3.7.2.1 | Keyword Definition | |||
3.7.2.2 | Routines | |||
3.7.2.3 | Function Tables and Variables |
3.7.3 | Data Type User Defined Functions Example Program |
3.7.3.1 | Keyword and Type Definition | |||
3.7.3.2 | Routines | |||
3.7.3.3 | Structures and Tables |