You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafodion.apache.org by sa...@apache.org on 2017/03/03 08:44:53 UTC
[33/49] incubator-trafodion-site git commit: Updates for python
installer documentation in provisioning guide.
http://git-wip-us.apache.org/repos/asf/incubator-trafodion-site/blob/be8dfc15/apidocs/2.1.0/tmudr_doxygen/html/sqludr_8h_source.html
----------------------------------------------------------------------
diff --git a/apidocs/2.1.0/tmudr_doxygen/html/sqludr_8h_source.html b/apidocs/2.1.0/tmudr_doxygen/html/sqludr_8h_source.html
new file mode 100644
index 0000000..856cc11
--- /dev/null
+++ b/apidocs/2.1.0/tmudr_doxygen/html/sqludr_8h_source.html
@@ -0,0 +1,1706 @@
+<!-- This comment will put IE 6, 7 and 8 in quirks mode -->
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<title>tmudr: sqludr.h Source File</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<link href="search/search.css" rel="stylesheet" type="text/css"/>
+<script type="text/javaScript" src="search/search.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css"/>
+</head>
+<body onload='searchBox.OnSelectItem(0);'>
+<!-- Generated by Doxygen 1.6.1 -->
+<script type="text/javascript"><!--
+var searchBox = new SearchBox("searchBox", "search",false,'Search');
+--></script>
+<div class="navigation" id="top">
+ <div class="tabs">
+ <ul>
+ <li><a href="index.html"><span>Main Page</span></a></li>
+ <li><a href="pages.html"><span>Related Pages</span></a></li>
+ <li><a href="annotated.html"><span>Data Structures</span></a></li>
+ <li class="current"><a href="files.html"><span>Files</span></a></li>
+ <li>
+ <div id="MSearchBox" class="MSearchBoxInactive">
+ <img id="MSearchSelect" src="search/search.png"
+ onmouseover="return searchBox.OnSearchSelectShow()"
+ onmouseout="return searchBox.OnSearchSelectHide()"
+ alt=""/>
+ <input type="text" id="MSearchField" value="Search" accesskey="S"
+ onfocus="searchBox.OnSearchFieldFocus(true)"
+ onblur="searchBox.OnSearchFieldFocus(false)"
+ onkeyup="searchBox.OnSearchFieldChange(event)"/>
+ <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
+ </div>
+ </li>
+ </ul>
+ </div>
+ <div class="tabs">
+ <ul>
+ <li><a href="files.html"><span>File List</span></a></li>
+ </ul>
+ </div>
+<h1>sqludr.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef SQLUDR_H</span>
+<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define SQLUDR_H</span>
+<a name="l00003"></a>00003 <span class="preprocessor"></span><span class="comment">/**********************************************************************</span>
+<a name="l00004"></a>00004 <span class="comment"> *</span>
+<a name="l00005"></a>00005 <span class="comment"> * File: sqludr.h</span>
+<a name="l00006"></a>00006 <span class="comment"> * Description: Interface between the SQL engine and routine bodies</span>
+<a name="l00007"></a>00007 <span class="comment"> * Language: C</span>
+<a name="l00008"></a>00008 <span class="comment"> *</span>
+<a name="l00009"></a>00009 <span class="comment">// @@@ START COPYRIGHT @@@</span>
+<a name="l00010"></a>00010 <span class="comment">//</span>
+<a name="l00011"></a>00011 <span class="comment">// Licensed to the Apache Software Foundation (ASF) under one</span>
+<a name="l00012"></a>00012 <span class="comment">// or more contributor license agreements. See the NOTICE file</span>
+<a name="l00013"></a>00013 <span class="comment">// distributed with this work for additional information</span>
+<a name="l00014"></a>00014 <span class="comment">// regarding copyright ownership. The ASF licenses this file</span>
+<a name="l00015"></a>00015 <span class="comment">// to you under the Apache License, Version 2.0 (the</span>
+<a name="l00016"></a>00016 <span class="comment">// "License"); you may not use this file except in compliance</span>
+<a name="l00017"></a>00017 <span class="comment">// with the License. You may obtain a copy of the License at</span>
+<a name="l00018"></a>00018 <span class="comment">//</span>
+<a name="l00019"></a>00019 <span class="comment">// http://www.apache.org/licenses/LICENSE-2.0</span>
+<a name="l00020"></a>00020 <span class="comment">//</span>
+<a name="l00021"></a>00021 <span class="comment">// Unless required by applicable law or agreed to in writing,</span>
+<a name="l00022"></a>00022 <span class="comment">// software distributed under the License is distributed on an</span>
+<a name="l00023"></a>00023 <span class="comment">// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY</span>
+<a name="l00024"></a>00024 <span class="comment">// KIND, either express or implied. See the License for the</span>
+<a name="l00025"></a>00025 <span class="comment">// specific language governing permissions and limitations</span>
+<a name="l00026"></a>00026 <span class="comment">// under the License.</span>
+<a name="l00027"></a>00027 <span class="comment">//</span>
+<a name="l00028"></a>00028 <span class="comment">// @@@ END COPYRIGHT @@@</span>
+<a name="l00029"></a>00029 <span class="comment"> *</span>
+<a name="l00030"></a>00030 <span class="comment"> *********************************************************************/</span>
+<a name="l00031"></a>00031
+<a name="l00032"></a>00032 <span class="comment">/* Export declaration for DLL functions */</span>
+<a name="l00033"></a>00033 <span class="preprocessor">#define SQLUDR_LIBFUNC</span>
+<a name="l00034"></a>00034 <span class="preprocessor"></span>
+<a name="l00035"></a>00035 <span class="preprocessor">#include <stdint.h></span>
+<a name="l00036"></a>00036
+<a name="l00037"></a>00037 <span class="comment">/* C type definitions */</span>
+<a name="l00038"></a>00038 <span class="keyword">typedef</span> <span class="keywordtype">char</span> SQLUDR_CHAR;
+<a name="l00039"></a>00039
+<a name="l00040"></a>00040 <span class="keyword">typedef</span> int8_t SQLUDR_INT8;
+<a name="l00041"></a>00041 <span class="keyword">typedef</span> uint8_t SQLUDR_UINT8;
+<a name="l00042"></a>00042
+<a name="l00043"></a>00043 <span class="keyword">typedef</span> int16_t SQLUDR_INT16;
+<a name="l00044"></a>00044 <span class="keyword">typedef</span> uint16_t SQLUDR_UINT16;
+<a name="l00045"></a>00045
+<a name="l00046"></a>00046 <span class="keyword">typedef</span> int32_t SQLUDR_INT32;
+<a name="l00047"></a>00047 <span class="keyword">typedef</span> uint32_t SQLUDR_UINT32;
+<a name="l00048"></a>00048
+<a name="l00049"></a>00049 <span class="keyword">typedef</span> int64_t SQLUDR_INT64;
+<a name="l00050"></a>00050 <span class="keyword">typedef</span> uint64_t SQLUDR_UINT64;
+<a name="l00051"></a>00051
+<a name="l00052"></a>00052 <span class="keyword">typedef</span> <span class="keywordtype">float</span> SQLUDR_REAL;
+<a name="l00053"></a>00053 <span class="keyword">typedef</span> <span class="keywordtype">double</span> SQLUDR_DOUBLE;
+<a name="l00054"></a>00054
+<a name="l00055"></a>00055 <span class="comment">/* UDR return codes */</span>
+<a name="l00056"></a>00056 <span class="preprocessor">#define SQLUDR_SUCCESS ( 0)</span>
+<a name="l00057"></a>00057 <span class="preprocessor"></span><span class="preprocessor">#define SQLUDR_SUCCESS_WITH_WARNING ( 1)</span>
+<a name="l00058"></a>00058 <span class="preprocessor"></span><span class="preprocessor">#define SQLUDR_ERROR (-1)</span>
+<a name="l00059"></a>00059 <span class="preprocessor"></span>
+<a name="l00060"></a>00060 <span class="comment">/* NULL indicators */</span>
+<a name="l00061"></a>00061 <span class="preprocessor">#define SQLUDR_NULL (-1)</span>
+<a name="l00062"></a>00062 <span class="preprocessor"></span><span class="preprocessor">#define SQLUDR_NOTNULL ( 0)</span>
+<a name="l00063"></a>00063 <span class="preprocessor"></span>
+<a name="l00064"></a>00064 <span class="comment">/* To get the NULL indicator for an input value */</span>
+<a name="l00065"></a>00065 <span class="preprocessor">#define SQLUDR_GETNULLIND(null_indicator) \</span>
+<a name="l00066"></a>00066 <span class="preprocessor"> ((((char*)(null_indicator))[1] && 0x0080) ? SQLUDR_NULL : SQLUDR_NOTNULL)</span>
+<a name="l00067"></a>00067 <span class="preprocessor"></span>
+<a name="l00068"></a>00068 <span class="comment">/* To set the NULL indicator for a return value */</span>
+<a name="l00069"></a>00069 <span class="preprocessor">#define SQLUDR_SETNULLIND(null_indicator) \</span>
+<a name="l00070"></a>00070 <span class="preprocessor"> (*((short *)(null_indicator)) = -1)</span>
+<a name="l00071"></a>00071 <span class="preprocessor"></span>
+<a name="l00072"></a>00072 <span class="comment">/* To clear the NULL indicator for a return value */</span>
+<a name="l00073"></a>00073 <span class="preprocessor">#define SQLUDR_CLEARNULLIND(null_indicator) \</span>
+<a name="l00074"></a>00074 <span class="preprocessor"> (*((short *)(null_indicator)) = 0)</span>
+<a name="l00075"></a>00075 <span class="preprocessor"></span>
+<a name="l00076"></a>00076 <span class="comment">/* UDR call type */</span>
+<a name="l00077"></a>00077 <span class="preprocessor">#define SQLUDR_CALLTYPE_INITIAL ( 1)</span>
+<a name="l00078"></a>00078 <span class="preprocessor"></span><span class="preprocessor">#define SQLUDR_CALLTYPE_NORMAL ( 2)</span>
+<a name="l00079"></a>00079 <span class="preprocessor"></span><span class="preprocessor">#define SQLUDR_CALLTYPE_FINAL ( 3)</span>
+<a name="l00080"></a>00080 <span class="preprocessor"></span>
+<a name="l00081"></a>00081 <span class="comment">/* Buffer sizes for user-defined errors. These sizes include a null</span>
+<a name="l00082"></a>00082 <span class="comment"> terminator. */</span>
+<a name="l00083"></a>00083 <span class="preprocessor">#define SQLUDR_SQLSTATE_SIZE ( 6)</span>
+<a name="l00084"></a>00084 <span class="preprocessor"></span><span class="preprocessor">#define SQLUDR_MSGTEXT_SIZE (256)</span>
+<a name="l00085"></a>00085 <span class="preprocessor"></span>
+<a name="l00086"></a>00086 <span class="comment">/* UDR parameter styles */</span>
+<a name="l00087"></a>00087 <span class="keyword">enum</span> SQLUDR_PARAMSTYLE
+<a name="l00088"></a>00088 {
+<a name="l00089"></a>00089 SQLUDR_PARAMSTYLE_SQL = 1,
+<a name="l00090"></a>00090 SQLUDR_PARAMSTYLE_SQLROW = 2
+<a name="l00091"></a>00091 };
+<a name="l00092"></a>00092
+<a name="l00093"></a>00093 <span class="comment">/* UDR row formats */</span>
+<a name="l00094"></a>00094 <span class="keyword">enum</span> SQLUDR_ROWFORMAT
+<a name="l00095"></a>00095 {
+<a name="l00096"></a>00096 SQLUDR_ROWFORMAT_EXPLODED = 1
+<a name="l00097"></a>00097 };
+<a name="l00098"></a>00098
+<a name="l00099"></a>00099 <span class="comment">/* Collations for character values */</span>
+<a name="l00100"></a>00100 <span class="keyword">enum</span> SQLUDR_COLLATION
+<a name="l00101"></a>00101 {
+<a name="l00102"></a>00102 SQLUDR_COLLATION_UNKNOWN = 0,
+<a name="l00103"></a>00103 SQLUDR_COLLATION_DEFAULT = 1,
+<a name="l00104"></a>00104 SQLUDR_COLLATION_CZECH = 2,
+<a name="l00105"></a>00105 SQLUDR_COLLATION_CZECH_CI = 3,
+<a name="l00106"></a>00106 SQLUDR_COLLATION_SJIS = 4
+<a name="l00107"></a>00107 };
+<a name="l00108"></a>00108
+<a name="l00109"></a>00109 <span class="comment">/* SQLUDR_BUFFER structure */</span>
+<a name="l00110"></a>00110 <span class="keyword">typedef</span> <span class="keyword">struct</span>
+<a name="l00111"></a>00111 {
+<a name="l00112"></a>00112 <span class="comment">/* Number of data bytes */</span>
+<a name="l00113"></a>00113 SQLUDR_UINT32 length;
+<a name="l00114"></a>00114 SQLUDR_INT32 reserved1;
+<a name="l00115"></a>00115
+<a name="l00116"></a>00116 <span class="comment">/* A pointer to the data */</span>
+<a name="l00117"></a>00117 SQLUDR_CHAR *data;
+<a name="l00118"></a>00118 SQLUDR_INT32 reserved2;
+<a name="l00119"></a>00119
+<a name="l00120"></a>00120 } SQLUDR_BUFFER;
+<a name="l00121"></a>00121
+<a name="l00122"></a>00122 <span class="comment">/* SQLUDR_STATEAREA structure */</span>
+<a name="l00123"></a>00123 <span class="preprocessor">#define SQLUDR_STATEAREA_CURRENT_VERSION ( 1)</span>
+<a name="l00124"></a>00124 <span class="preprocessor"></span><span class="preprocessor">#define SQLUDR_STATEAREA_BUFFER_SIZE (4096)</span>
+<a name="l00125"></a>00125 <span class="preprocessor"></span><span class="keyword">typedef</span> <span class="keyword">struct</span>
+<a name="l00126"></a>00126 {
+<a name="l00127"></a>00127 <span class="comment">/* Version of this structure */</span>
+<a name="l00128"></a>00128 SQLUDR_UINT16 version;
+<a name="l00129"></a>00129 SQLUDR_UINT16 reserved1;
+<a name="l00130"></a>00130 SQLUDR_UINT32 reserved2;
+<a name="l00131"></a>00131
+<a name="l00132"></a>00132 <span class="comment">/* A memory region that persists for the lifetime */</span>
+<a name="l00133"></a>00133 <span class="comment">/* of the host process. */</span>
+<a name="l00134"></a>00134 SQLUDR_BUFFER host_data;
+<a name="l00135"></a>00135
+<a name="l00136"></a>00136 <span class="comment">/* A memory region that persists for the duration */</span>
+<a name="l00137"></a>00137 <span class="comment">/* of a single statement execution. */</span>
+<a name="l00138"></a>00138 SQLUDR_BUFFER stmt_data;
+<a name="l00139"></a>00139
+<a name="l00140"></a>00140 SQLUDR_INT64 reserved3;
+<a name="l00141"></a>00141 SQLUDR_INT64 reserved4;
+<a name="l00142"></a>00142
+<a name="l00143"></a>00143 } SQLUDR_STATEAREA;
+<a name="l00144"></a>00144
+<a name="l00145"></a>00145 <span class="comment">/* SQLUDR_VC_STRUCT structure for VARCHAR values */</span>
+<a name="l00146"></a>00146 <span class="keyword">typedef</span> <span class="keyword">struct</span>
+<a name="l00147"></a>00147 {
+<a name="l00148"></a>00148 <span class="comment">/* Number of bytes */</span>
+<a name="l00149"></a>00149 SQLUDR_UINT32 length;
+<a name="l00150"></a>00150 SQLUDR_INT32 reserved1;
+<a name="l00151"></a>00151
+<a name="l00152"></a>00152 <span class="comment">/* A pointer to the data */</span>
+<a name="l00153"></a>00153 <span class="keywordtype">char</span> *data;
+<a name="l00154"></a>00154 SQLUDR_INT32 reserved2;
+<a name="l00155"></a>00155
+<a name="l00156"></a>00156 } SQLUDR_VC_STRUCT ;
+<a name="l00157"></a>00157
+<a name="l00158"></a>00158 <span class="comment">/* SQLUDR_PARAM structure */</span>
+<a name="l00159"></a>00159 <span class="preprocessor">#define SQLUDR_PARAM_CURRENT_VERSION 1</span>
+<a name="l00160"></a>00160 <span class="preprocessor"></span><span class="keyword">typedef</span> <span class="keyword">struct</span>
+<a name="l00161"></a>00161 {
+<a name="l00162"></a>00162 <span class="comment">/* Version of this structure */</span>
+<a name="l00163"></a>00163 SQLUDR_UINT16 version;
+<a name="l00164"></a>00164
+<a name="l00165"></a>00165 <span class="comment">/* Parameter type. Will be a value from the SQLTYPE_CODE */</span>
+<a name="l00166"></a>00166 <span class="comment">/* enumeration in sqlcli.h. */</span>
+<a name="l00167"></a>00167 SQLUDR_INT16 datatype;
+<a name="l00168"></a>00168
+<a name="l00169"></a>00169 <span class="keyword">union</span>
+<a name="l00170"></a>00170 {
+<a name="l00171"></a>00171 <span class="comment">/* Numeric scale. Valid when the SQL type is NUMERIC or */</span>
+<a name="l00172"></a>00172 <span class="comment">/* DECIMAL. */</span>
+<a name="l00173"></a>00173 SQLUDR_INT16 scale;
+<a name="l00174"></a>00174
+<a name="l00175"></a>00175 <span class="comment">/* Character set. Valid when the SQL type is any */</span>
+<a name="l00176"></a>00176 <span class="comment">/* CHARACTER type. Will be a value from the */</span>
+<a name="l00177"></a>00177 <span class="comment">/* SQLCHARSET_CODE enumeration in sqlcli.h. */</span>
+<a name="l00178"></a>00178 SQLUDR_INT16 character_set;
+<a name="l00179"></a>00179
+<a name="l00180"></a>00180 <span class="comment">/* Date/time code. Valid when the SQL type is */</span>
+<a name="l00181"></a>00181 <span class="comment">/* DATE, TIME, or TIMESTAMP. Will be a value from the */</span>
+<a name="l00182"></a>00182 <span class="comment">/* SQLDATETIME_CODE enumeration in sqlcli.h. */</span>
+<a name="l00183"></a>00183 SQLUDR_INT16 datetime_code;
+<a name="l00184"></a>00184
+<a name="l00185"></a>00185 <span class="comment">/* Interval type code. Valid when the SQL type is */</span>
+<a name="l00186"></a>00186 <span class="comment">/* INTERVAL. Will be a value from the SQLINTERVAL_CODE */</span>
+<a name="l00187"></a>00187 <span class="comment">/* enumeration in sqlcli.h. Note that this field is for */</span>
+<a name="l00188"></a>00188 <span class="comment">/* future use. INTERVAL parameters are not yet */</span>
+<a name="l00189"></a>00189 <span class="comment">/* supported. */</span>
+<a name="l00190"></a>00190 SQLUDR_INT16 interval_code;
+<a name="l00191"></a>00191 } u1;
+<a name="l00192"></a>00192
+<a name="l00193"></a>00193 <span class="keyword">union</span>
+<a name="l00194"></a>00194 {
+<a name="l00195"></a>00195 <span class="comment">/* Numeric precision when the SQL type is NUMERIC or */</span>
+<a name="l00196"></a>00196 <span class="comment">/* DECIMAL. Number of digits of fractional precision */</span>
+<a name="l00197"></a>00197 <span class="comment">/* when the SQL type is TIME or TIMESTAMP. */</span>
+<a name="l00198"></a>00198 SQLUDR_INT16 precision;
+<a name="l00199"></a>00199
+<a name="l00200"></a>00200 <span class="comment">/* Collation. Valid when the SQL type is any CHARACTER */</span>
+<a name="l00201"></a>00201 <span class="comment">/* type. Will be a value from the SQLUDR_COLLATION */</span>
+<a name="l00202"></a>00202 <span class="comment">/* enumeration in sqludr.h. */</span>
+<a name="l00203"></a>00203 SQLUDR_INT16 collation;
+<a name="l00204"></a>00204 } u2;
+<a name="l00205"></a>00205
+<a name="l00206"></a>00206 <span class="comment">/* Null-terminated parameter name */</span>
+<a name="l00207"></a>00207 SQLUDR_CHAR *name;
+<a name="l00208"></a>00208 SQLUDR_INT32 reserved1;
+<a name="l00209"></a>00209
+<a name="l00210"></a>00210 <span class="comment">/* Maximum number of bytes in a valid data value */</span>
+<a name="l00211"></a>00211 SQLUDR_UINT32 data_len;
+<a name="l00212"></a>00212
+<a name="l00213"></a>00213 <span class="comment">/* Offset within the data region. Valid only for parameter */</span>
+<a name="l00214"></a>00214 <span class="comment">/* style SQLROW. */</span>
+<a name="l00215"></a>00215 SQLUDR_UINT32 data_offset;
+<a name="l00216"></a>00216
+<a name="l00217"></a>00217 <span class="comment">/* Offset of the two-byte null indicator. Valid only for */</span>
+<a name="l00218"></a>00218 <span class="comment">/* parameter style SQLROW. */</span>
+<a name="l00219"></a>00219 SQLUDR_UINT32 ind_offset;
+<a name="l00220"></a>00220
+<a name="l00221"></a>00221 <span class="comment">/* Offset of the four-byte VARCHAR length indicator. */</span>
+<a name="l00222"></a>00222 <span class="comment">/* Valid only for parameter style SQLROW when datatype */</span>
+<a name="l00223"></a>00223 <span class="comment">/* is SQLTYPECODE_VARCHAR_WITH_LENGTH. */</span>
+<a name="l00224"></a>00224 SQLUDR_UINT32 vc_ind_offset;
+<a name="l00225"></a>00225 SQLUDR_UINT8 vc_ind_len;
+<a name="l00226"></a>00226
+<a name="l00227"></a>00227 SQLUDR_INT8 reserved2;
+<a name="l00228"></a>00228 SQLUDR_INT16 reserved3;
+<a name="l00229"></a>00229 SQLUDR_INT32 reserved4;
+<a name="l00230"></a>00230 SQLUDR_INT64 reserved5;
+<a name="l00231"></a>00231
+<a name="l00232"></a>00232 } SQLUDR_PARAM;
+<a name="l00233"></a>00233
+<a name="l00234"></a>00234 <span class="preprocessor">#define SQLUDR_ASCENDING 1</span>
+<a name="l00235"></a>00235 <span class="preprocessor"></span><span class="preprocessor">#define SQLUDR_DESCENDING -1</span>
+<a name="l00236"></a>00236 <span class="preprocessor"></span><span class="preprocessor">#define SQLUDR_ZERO 0</span>
+<a name="l00237"></a>00237 <span class="preprocessor"></span>
+<a name="l00238"></a>00238 <span class="keyword">typedef</span> <span class="keyword">struct</span>
+<a name="l00239"></a>00239 {
+<a name="l00240"></a>00240 SQLUDR_UINT32 num_cols;
+<a name="l00241"></a>00241 SQLUDR_UINT32 *cols_list; <span class="comment">/* array of column indexes */</span>
+<a name="l00242"></a>00242 SQLUDR_INT8 *direction; <span class="comment">/* defaults to zero, which indicates N/A */</span>
+<a name="l00243"></a>00243 }
+<a name="l00244"></a>00244 SQLUDR_COLS_LIST;
+<a name="l00245"></a>00245
+<a name="l00246"></a>00246 <span class="preprocessor">#define SQLUDR_UNIQUE_CONSTRAINT 1</span>
+<a name="l00247"></a>00247 <span class="preprocessor"></span><span class="keyword">typedef</span> <span class="keyword">struct </span>
+<a name="l00248"></a>00248 {
+<a name="l00249"></a>00249 SQLUDR_INT8 constraint_type;
+<a name="l00250"></a>00250 SQLUDR_COLS_LIST constraint_cols;
+<a name="l00251"></a>00251 } SQLUDR_CONSTRAINT;
+<a name="l00252"></a>00252
+<a name="l00253"></a>00253
+<a name="l00254"></a>00254 <span class="comment">/* SQLUDR_TABLE_PARAM structure */</span>
+<a name="l00255"></a>00255 <span class="keyword">typedef</span> <span class="keyword">struct</span>
+<a name="l00256"></a>00256 {
+<a name="l00257"></a>00257 SQLUDR_CHAR *table_name;
+<a name="l00258"></a>00258 SQLUDR_UINT32 num_params ;
+<a name="l00259"></a>00259 SQLUDR_PARAM *params;
+<a name="l00260"></a>00260 SQLUDR_COLS_LIST part_params;
+<a name="l00261"></a>00261 SQLUDR_COLS_LIST order_params;
+<a name="l00262"></a>00262 SQLUDR_UINT32 row_length;
+<a name="l00263"></a>00263
+<a name="l00264"></a>00264 <span class="comment">/* the fields below will be zero or NULL at runtime */</span>
+<a name="l00265"></a>00265 SQLUDR_COLS_LIST pred_push_down_params;
+<a name="l00266"></a>00266 SQLUDR_UINT32 num_rows;
+<a name="l00267"></a>00267 SQLUDR_UINT32 *param_uecs; <span class="comment">/* number of entries in this list must */</span>
+<a name="l00268"></a>00268 <span class="comment">/* match num_params */</span>
+<a name="l00269"></a>00269
+<a name="l00270"></a>00270 <span class="comment">/* If a uec is not known for a param the value 0 is used */</span>
+<a name="l00271"></a>00271 SQLUDR_UINT32 num_constraints;
+<a name="l00272"></a>00272 SQLUDR_CONSTRAINT *constraints;
+<a name="l00273"></a>00273
+<a name="l00274"></a>00274 SQLUDR_DOUBLE cost_per_row;
+<a name="l00275"></a>00275 } SQLUDR_TABLE_PARAM;
+<a name="l00276"></a>00276
+<a name="l00277"></a>00277 <span class="comment">/* UDRINFO structure */</span>
+<a name="l00278"></a>00278 <span class="preprocessor">#define SQLUDR_UDRINFO_CURRENT_VERSION (1)</span>
+<a name="l00279"></a>00279 <span class="preprocessor"></span><span class="keyword">typedef</span> <span class="keyword">struct</span>
+<a name="l00280"></a>00280 {
+<a name="l00281"></a>00281 <span class="comment">/* Version of this structure */</span>
+<a name="l00282"></a>00282 SQLUDR_UINT16 version;
+<a name="l00283"></a>00283
+<a name="l00284"></a>00284 <span class="comment">/* Version of SQL. For example R2.4 = 2400 */</span>
+<a name="l00285"></a>00285 SQLUDR_UINT16 sql_version;
+<a name="l00286"></a>00286
+<a name="l00287"></a>00287 <span class="comment">/* Parameter passing style. Will be a value from the */</span>
+<a name="l00288"></a>00288 <span class="comment">/* SQLUDR_PARAMSTYLE enumeration. */</span>
+<a name="l00289"></a>00289 SQLUDR_UINT16 param_style;
+<a name="l00290"></a>00290
+<a name="l00291"></a>00291 <span class="comment">/* Parameter passing style version */</span>
+<a name="l00292"></a>00292 SQLUDR_UINT16 param_style_version;
+<a name="l00293"></a>00293
+<a name="l00294"></a>00294 <span class="comment">/* Row format. Only valid for parameter style SQLROW. */</span>
+<a name="l00295"></a>00295 <span class="comment">/* Will be a value from the SQLUDR_ROWFORMAT enumeration. */</span>
+<a name="l00296"></a>00296 SQLUDR_UINT16 row_format;
+<a name="l00297"></a>00297
+<a name="l00298"></a>00298 SQLUDR_UINT16 reserved1;
+<a name="l00299"></a>00299 SQLUDR_UINT16 reserved2;
+<a name="l00300"></a>00300 SQLUDR_UINT16 reserved3;
+<a name="l00301"></a>00301
+<a name="l00302"></a>00302 <span class="comment">/* Null-terminated routine name */</span>
+<a name="l00303"></a>00303 SQLUDR_CHAR *routine_name;
+<a name="l00304"></a>00304 SQLUDR_INT32 reserved4;
+<a name="l00305"></a>00305
+<a name="l00306"></a>00306 <span class="comment">/* Reserved fields. Can be used for catalog and schema */</span>
+<a name="l00307"></a>00307 <span class="comment">/* names in the future */</span>
+<a name="l00308"></a>00308 SQLUDR_INT64 reserved5;
+<a name="l00309"></a>00309 SQLUDR_INT64 reserved6;
+<a name="l00310"></a>00310
+<a name="l00311"></a>00311 <span class="comment">/* UUDR action. NULL if this is not a UUDR. */</span>
+<a name="l00312"></a>00312 SQLUDR_CHAR *uudr_action;
+<a name="l00313"></a>00313 SQLUDR_INT32 reserved7;
+<a name="l00314"></a>00314
+<a name="l00315"></a>00315 <span class="comment">/* Pass-through inputs */</span>
+<a name="l00316"></a>00316 SQLUDR_UINT32 num_pass_through;
+<a name="l00317"></a>00317 SQLUDR_INT32 reserved8;
+<a name="l00318"></a>00318 SQLUDR_BUFFER *pass_through;
+<a name="l00319"></a>00319 SQLUDR_INT32 reserved9;
+<a name="l00320"></a>00320
+<a name="l00321"></a>00321 <span class="comment">/* Null-terminated current user name as returned by CURRENT_USER function*/</span>
+<a name="l00322"></a>00322 SQLUDR_CHAR *current_user_name;
+<a name="l00323"></a>00323 SQLUDR_INT32 reserved10;
+<a name="l00324"></a>00324
+<a name="l00325"></a>00325 <span class="comment">/* Null-terminated login user name as returned by SESSION_USER function*/</span>
+<a name="l00326"></a>00326 SQLUDR_CHAR *session_user_name;
+<a name="l00327"></a>00327 SQLUDR_INT32 reserved11;
+<a name="l00328"></a>00328
+<a name="l00329"></a>00329 <span class="comment">/* Null-terminated current role name as returned by CURRENT_ROLE function*/</span>
+<a name="l00330"></a>00330 SQLUDR_CHAR *current_role_name;
+<a name="l00331"></a>00331 SQLUDR_INT32 reserved12;
+<a name="l00332"></a>00332
+<a name="l00333"></a>00333 <span class="comment">/* Null-terminated query identifier */</span>
+<a name="l00334"></a>00334 SQLUDR_CHAR *query_id;
+<a name="l00335"></a>00335 SQLUDR_INT32 reserved13;
+<a name="l00336"></a>00336
+<a name="l00337"></a>00337 <span class="comment">/* Row length and row format. Only valid for parameter */</span>
+<a name="l00338"></a>00338 <span class="comment">/* style SQLROW. */</span>
+<a name="l00339"></a>00339 SQLUDR_UINT32 in_row_length;
+<a name="l00340"></a>00340 SQLUDR_UINT32 out_row_length;
+<a name="l00341"></a>00341
+<a name="l00342"></a>00342 <span class="comment">/* Descriptive information about each input and output value */</span>
+<a name="l00343"></a>00343 SQLUDR_UINT32 num_inputs;
+<a name="l00344"></a>00344 SQLUDR_UINT32 num_return_values;
+<a name="l00345"></a>00345 SQLUDR_PARAM *inputs;
+<a name="l00346"></a>00346 SQLUDR_INT32 reserved14;
+<a name="l00347"></a>00347 SQLUDR_PARAM *return_values;
+<a name="l00348"></a>00348 SQLUDR_INT32 reserved15;
+<a name="l00349"></a>00349
+<a name="l00350"></a>00350 SQLUDR_INT64 reserved16;
+<a name="l00351"></a>00351 SQLUDR_INT64 reserved17;
+<a name="l00352"></a>00352 SQLUDR_INT64 reserved18;
+<a name="l00353"></a>00353 SQLUDR_INT64 reserved19;
+<a name="l00354"></a>00354 SQLUDR_INT64 reserved20;
+<a name="l00355"></a>00355 SQLUDR_INT64 reserved21;
+<a name="l00356"></a>00356 SQLUDR_INT64 reserved22;
+<a name="l00357"></a>00357 SQLUDR_INT64 reserved23;
+<a name="l00358"></a>00358
+<a name="l00359"></a>00359 <span class="comment">/* Instance of tmudfserv */</span>
+<a name="l00360"></a>00360 SQLUDR_UINT32 instance_total;
+<a name="l00361"></a>00361 SQLUDR_UINT32 instance_current;
+<a name="l00362"></a>00362
+<a name="l00363"></a>00363 <span class="comment">/* Table related params info */</span>
+<a name="l00364"></a>00364 SQLUDR_UINT32 num_table_inputs ;
+<a name="l00365"></a>00365 SQLUDR_TABLE_PARAM *table_inputs;
+<a name="l00366"></a>00366
+<a name="l00367"></a>00367 } SQLUDR_UDRINFO;
+<a name="l00368"></a>00368
+<a name="l00369"></a>00369 <span class="comment">/* TMUDFINFO structure */</span>
+<a name="l00370"></a>00370 <span class="preprocessor">#define SQLUDR_TMUDFINFO_CURRENT_VERSION (1)</span>
+<a name="l00371"></a>00371 <span class="preprocessor"></span><span class="keyword">typedef</span> <span class="keyword">struct</span>
+<a name="l00372"></a>00372 {
+<a name="l00373"></a>00373 <span class="comment">/* Version of this structure */</span>
+<a name="l00374"></a>00374 SQLUDR_UINT16 version;
+<a name="l00375"></a>00375
+<a name="l00376"></a>00376 <span class="comment">/* Version of SQL. For example R2.4 = 2400 */</span>
+<a name="l00377"></a>00377 SQLUDR_UINT16 sql_version;
+<a name="l00378"></a>00378
+<a name="l00379"></a>00379 <span class="comment">/* Null-terminated routine name */</span>
+<a name="l00380"></a>00380 SQLUDR_CHAR *routine_name;
+<a name="l00381"></a>00381
+<a name="l00382"></a>00382 <span class="comment">/* Pass-through inputs */</span>
+<a name="l00383"></a>00383 SQLUDR_UINT32 num_pass_through;
+<a name="l00384"></a>00384 SQLUDR_BUFFER *pass_through;
+<a name="l00385"></a>00385
+<a name="l00386"></a>00386 <span class="comment">/* Descriptive information about each input and output value */</span>
+<a name="l00387"></a>00387 SQLUDR_UINT32 num_inputs;
+<a name="l00388"></a>00388 SQLUDR_PARAM *inputs;
+<a name="l00389"></a>00389
+<a name="l00390"></a>00390 SQLUDR_UINT32 num_table_inputs ;
+<a name="l00391"></a>00391 SQLUDR_TABLE_PARAM *table_inputs;
+<a name="l00392"></a>00392
+<a name="l00393"></a>00393 SQLUDR_TABLE_PARAM output_info;
+<a name="l00394"></a>00394 } SQLUDR_TMUDFINFO;
+<a name="l00395"></a>00395
+<a name="l00396"></a>00396 <span class="comment">/* SQLUDR_TRAIL_ARGS macro (to simplify function signatures) */</span>
+<a name="l00397"></a>00397 <span class="preprocessor">#define SQLUDR_TRAIL_ARGS \</span>
+<a name="l00398"></a>00398 <span class="preprocessor"> SQLUDR_CHAR sqlstate[SQLUDR_SQLSTATE_SIZE], \</span>
+<a name="l00399"></a>00399 <span class="preprocessor"> SQLUDR_CHAR msgtext[SQLUDR_MSGTEXT_SIZE], \</span>
+<a name="l00400"></a>00400 <span class="preprocessor"> SQLUDR_INT32 calltype, \</span>
+<a name="l00401"></a>00401 <span class="preprocessor"> SQLUDR_STATEAREA *statearea, \</span>
+<a name="l00402"></a>00402 <span class="preprocessor"> SQLUDR_UDRINFO *udrinfo</span>
+<a name="l00403"></a>00403 <span class="preprocessor"></span>
+<a name="l00404"></a>00404 <span class="comment">/* in case we need to call another function with SQLUDR_TRAIL_ARGS */</span>
+<a name="l00405"></a>00405 <span class="preprocessor">#define PASS_ON_SQLUDR_TRAIL_ARGS \</span>
+<a name="l00406"></a>00406 <span class="preprocessor"> sqlstate, msgtext, calltype, statearea, udrinfo</span>
+<a name="l00407"></a>00407 <span class="preprocessor"></span>
+<a name="l00408"></a>00408
+<a name="l00409"></a>00409 <span class="comment">/* SQLTMUDF Queue State, also defined in</span>
+<a name="l00410"></a>00410 <span class="comment"> ../src/main/java/org/trafodion/sql/udr/UDR.java */</span>
+<a name="l00411"></a>00411 <span class="keyword">typedef</span> <span class="keyword">enum</span> SQLUDR_Q_STATE
+<a name="l00412"></a>00412 {
+<a name="l00413"></a>00413 SQLUDR_Q_MORE = 1,
+<a name="l00414"></a>00414 SQLUDR_Q_EOD,
+<a name="l00415"></a>00415 SQLUDR_Q_CANCEL
+<a name="l00416"></a>00416 }SQLUDR_Q_STATE;
+<a name="l00417"></a>00417
+<a name="l00418"></a>00418
+<a name="l00419"></a>00419 <span class="keyword">typedef</span> void (*SQLUDR_GetNextRow)(<span class="keywordtype">char</span> *rowData, <span class="comment">/*OUT*/</span>
+<a name="l00420"></a>00420 <span class="keywordtype">int</span> tableIndex, <span class="comment">/*IN*/</span>
+<a name="l00421"></a>00421 SQLUDR_Q_STATE *queue_state <span class="comment">/*OUT*/</span>
+<a name="l00422"></a>00422 );
+<a name="l00423"></a>00423
+<a name="l00424"></a>00424 <span class="keyword">typedef</span> void (*SQLUDR_EmitRow) (<span class="keywordtype">char</span> *rowData, <span class="comment">/*IN*/</span>
+<a name="l00425"></a>00425 <span class="keywordtype">int</span> tableIndex, <span class="comment">/*IN*/</span>
+<a name="l00426"></a>00426 SQLUDR_Q_STATE *queue_state <span class="comment">/*IN/OUT*/</span>
+<a name="l00427"></a>00427 );
+<a name="l00428"></a>00428
+<a name="l00429"></a>00429 <span class="preprocessor">#define SQLUDR_TMUDF_TRAIL_ARGS \</span>
+<a name="l00430"></a>00430 <span class="preprocessor"> SQLUDR_CHAR *rowDataSpace1,\</span>
+<a name="l00431"></a>00431 <span class="preprocessor"> SQLUDR_CHAR *rowDataSpace2,\</span>
+<a name="l00432"></a>00432 <span class="preprocessor"> SQLUDR_GetNextRow getRow,\</span>
+<a name="l00433"></a>00433 <span class="preprocessor"> SQLUDR_EmitRow emitRow,\</span>
+<a name="l00434"></a>00434 <span class="preprocessor"> SQLUDR_TRAIL_ARGS</span>
+<a name="l00435"></a>00435 <span class="preprocessor"></span>
+<a name="l00436"></a>00436 <span class="comment">/* in case we need to call another function with SQLUDR_TMUDF_TRAIL_ARGS */</span>
+<a name="l00437"></a>00437 <span class="preprocessor">#define PASS_ON_SQLUDR_TMUDF_TRAIL_ARGS \</span>
+<a name="l00438"></a>00438 <span class="preprocessor"> rowDataSpace1, rowDataSpace2, getRow, emitRow, PASS_ON_SQLUDR_TRAIL_ARGS</span>
+<a name="l00439"></a>00439 <span class="preprocessor"></span>
+<a name="l00440"></a>00440
+<a name="l00441"></a>00441
+<a name="l00442"></a>00442
+<a name="l00443"></a>00443 <span class="comment">/************************************************/</span>
+<a name="l00444"></a>00444 <span class="comment">/* */</span>
+<a name="l00445"></a>00445 <span class="comment">/* C++ interface for UDRs */</span>
+<a name="l00446"></a>00446 <span class="comment">/* */</span>
+<a name="l00447"></a>00447 <span class="comment">/************************************************/</span>
+<a name="l00448"></a>00448
+<a name="l00449"></a>00449 <span class="comment">// This interface should eventually replace the C interface</span>
+<a name="l00450"></a>00450 <span class="comment">// defined above. We plan to provide a Java interface similar</span>
+<a name="l00451"></a>00451 <span class="comment">// to this C++ version.</span>
+<a name="l00452"></a>00452
+<a name="l00471"></a>00471 <span class="comment">// There are no inline functions in this file, except</span>
+<a name="l00472"></a>00472 <span class="comment">// for those that return versions, since we want to be</span>
+<a name="l00473"></a>00473 <span class="comment">// able to change these classes in an upward-compatible</span>
+<a name="l00474"></a>00474 <span class="comment">// way without having to recompile the UDFs.</span>
+<a name="l00475"></a>00475
+<a name="l00476"></a>00476 <span class="preprocessor">#ifdef __cplusplus</span>
+<a name="l00477"></a>00477 <span class="preprocessor"></span>
+<a name="l00478"></a>00478 <span class="preprocessor">#include <string></span>
+<a name="l00479"></a>00479 <span class="preprocessor">#include <vector></span>
+<a name="l00480"></a>00480
+<a name="l00481"></a>00481 <span class="comment">// these are classes used internally by Trafodion to set up</span>
+<a name="l00482"></a>00482 <span class="comment">// the environment for UDFs, they should not be used</span>
+<a name="l00483"></a>00483 <span class="comment">// by UDR writers and are therefore not declared here</span>
+<a name="l00484"></a>00484 <span class="keyword">class </span>TMUDFInternalSetup;
+<a name="l00485"></a>00485 <span class="keyword">class </span>SPInfo;
+<a name="l00486"></a>00486 <span class="keyword">class </span>LmLanguageManagerC;
+<a name="l00487"></a>00487 <span class="keyword">class </span>LmLanguageManagerJava;
+<a name="l00488"></a>00488 <span class="keyword">class </span>LmRoutineCppObj;
+<a name="l00489"></a>00489
+<a name="l00490"></a>00490 <span class="keyword">namespace </span>tmudr
+<a name="l00491"></a>00491 {
+<a name="l00492"></a>00492 <span class="comment">// forward declaration</span>
+<a name="l00493"></a>00493 <span class="keyword">class </span>TableInfo;
+<a name="l00494"></a>00494
+<a name="l00495"></a>00495 <span class="comment">// type for a buffer of binary data (e.g. serialized objects)</span>
+<a name="l00496"></a>00496 <span class="keyword">typedef</span> <span class="keywordtype">char</span> * Bytes;
+<a name="l00497"></a>00497 <span class="keyword">typedef</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * ConstBytes;
+<a name="l00498"></a>00498
+<a name="l00499"></a>00499
+<a name="l00511"></a><a class="code" href="classtmudr_1_1UDRException.html">00511</a> <span class="keyword">class </span><a class="code" href="classtmudr_1_1UDRException.html" title="This is the exception to throw when an error occurs in a UDR.">UDRException</a>
+<a name="l00512"></a>00512 {
+<a name="l00513"></a>00513 <span class="keyword">public</span>:
+<a name="l00514"></a>00514
+<a name="l00515"></a>00515 <a class="code" href="classtmudr_1_1UDRException.html#a4a0892baa3b4746b0310339a24a1219b">UDRException</a>(<span class="keywordtype">int</span> sqlState, <span class="keyword">const</span> <span class="keywordtype">char</span> *printf_format, ...);
+<a name="l00516"></a>00516 <a class="code" href="classtmudr_1_1UDRException.html#a4a0892baa3b4746b0310339a24a1219b">UDRException</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> * sqlState, <span class="keyword">const</span> <span class="keywordtype">char</span> *printf_format, ...);
+<a name="l00517"></a>00517 <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="classtmudr_1_1UDRException.html#ab72a1a01900f1cc7f0ac28cba5b2092d">getSQLState</a>() <span class="keyword">const</span>;
+<a name="l00518"></a>00518 <span class="keyword">const</span> std::string &<a class="code" href="classtmudr_1_1UDRException.html#aa9d80f9be4771b873ca0ef2044e63306">getMessage</a>() <span class="keyword">const</span>;
+<a name="l00519"></a>00519 <span class="keyword">const</span> std::string &<a class="code" href="classtmudr_1_1UDRException.html#a1fbcd51c04fd8253403bef5c7d5b0879">getText</a>() <span class="keyword">const</span>; <span class="comment">// deprecated, use getMessage()</span>
+<a name="l00520"></a>00520
+<a name="l00521"></a>00521 <span class="keyword">private</span>:
+<a name="l00522"></a>00522
+<a name="l00523"></a>00523 <span class="keywordtype">char</span> sqlState_[6];
+<a name="l00524"></a>00524 std::string text_;
+<a name="l00525"></a>00525 };
+<a name="l00526"></a>00526
+<a name="l00527"></a>00527 <span class="comment">// Class to help with serialization, note that it is not required</span>
+<a name="l00528"></a>00528 <span class="comment">// to inherit from this class in order to participate in serialization.</span>
+<a name="l00529"></a>00529 <span class="comment">// UDR writers can ignore this class.</span>
+<a name="l00530"></a>00530 <span class="keyword">class </span>TMUDRSerializableObject
+<a name="l00531"></a>00531 {
+<a name="l00532"></a>00532 <span class="keyword">public</span>:
+<a name="l00533"></a>00533
+<a name="l00534"></a>00534 <span class="keyword">enum</span> Endianness
+<a name="l00535"></a>00535 {
+<a name="l00536"></a>00536 UNKNOWN_ENDIANNESS = 0,
+<a name="l00537"></a>00537 IS_LITTLE_ENDIAN = 1,
+<a name="l00538"></a>00538 IS_BIG_ENDIAN = 2
+<a name="l00539"></a>00539 };
+<a name="l00540"></a>00540
+<a name="l00541"></a>00541 <span class="keyword">enum</span> TMUDRObjectType
+<a name="l00542"></a>00542 {
+<a name="l00543"></a>00543 UNKNOWN_OBJECT_TYPE = 0,
+<a name="l00544"></a>00544 TYPE_INFO_OBJ = 100,
+<a name="l00545"></a>00545 PARAMETER_INFO_OBJ = 200,
+<a name="l00546"></a>00546 COLUMN_INFO_OBJ = 400,
+<a name="l00547"></a>00547 CARDINALITY_CONSTRAINT_INFO_OBJ = 510,
+<a name="l00548"></a>00548 UNIQUE_CONSTRAINT_INFO_OBJ = 520,
+<a name="l00549"></a>00549 COMP_PREDICATE_INFO_OBJ = 710,
+<a name="l00550"></a>00550 PARTITION_INFO_OBJ = 800,
+<a name="l00551"></a>00551 ORDER_INFO_OBJ = 900,
+<a name="l00552"></a>00552 TUPLE_INFO_OBJ = 1000,
+<a name="l00553"></a>00553 TABLE_INFO_OBJ = 1100,
+<a name="l00554"></a>00554 PARAMETER_LIST_INFO_OBJ = 1200,
+<a name="l00555"></a>00555 UDR_INVOCATION_INFO_OBJ = 1300,
+<a name="l00556"></a>00556 UDR_PLAN_INFO_OBJ = 1400
+<a name="l00557"></a>00557 };
+<a name="l00558"></a>00558
+<a name="l00559"></a>00559 TMUDRSerializableObject(
+<a name="l00560"></a>00560 TMUDRObjectType objectType,
+<a name="l00561"></a>00561 <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> version = 1,
+<a name="l00562"></a>00562 <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> endianness = IS_LITTLE_ENDIAN);
+<a name="l00563"></a>00563
+<a name="l00564"></a>00564 TMUDRObjectType getObjectType() <span class="keyword">const</span>;
+<a name="l00565"></a>00565 <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> getVersion() <span class="keyword">const</span>;
+<a name="l00566"></a>00566 Endianness getEndianness() <span class="keyword">const</span>;
+<a name="l00567"></a>00567 <span class="keyword">virtual</span> <span class="keywordtype">int</span> serializedLength();
+<a name="l00568"></a>00568 <span class="keyword">virtual</span> <span class="keywordtype">int</span> serialize(Bytes &outputBuffer,
+<a name="l00569"></a>00569 <span class="keywordtype">int</span> &outputBufferLength);
+<a name="l00570"></a>00570 <span class="keyword">virtual</span> <span class="keywordtype">int</span> deserialize(ConstBytes &inputBuffer,
+<a name="l00571"></a>00571 <span class="keywordtype">int</span> &inputBufferLength);
+<a name="l00572"></a>00572
+<a name="l00573"></a>00573 <span class="keywordtype">void</span> validateObjectType(TMUDRObjectType o);
+<a name="l00574"></a>00574 <span class="keywordtype">void</span> validateSerializedLength(<span class="keywordtype">int</span> l);
+<a name="l00575"></a>00575 <span class="keywordtype">void</span> validateDeserializedLength(<span class="keywordtype">int</span> l);
+<a name="l00576"></a>00576
+<a name="l00577"></a>00577 <span class="comment">// helper methods to serialize ints and strings, they</span>
+<a name="l00578"></a>00578 <span class="comment">// return the length of the serialized information</span>
+<a name="l00579"></a>00579 <span class="keywordtype">int</span> serializedLengthOfInt();
+<a name="l00580"></a>00580 <span class="keywordtype">int</span> serializedLengthOfLong();
+<a name="l00581"></a>00581 <span class="keywordtype">int</span> serializedLengthOfString(<span class="keyword">const</span> <span class="keywordtype">char</span> *s);
+<a name="l00582"></a>00582 <span class="keywordtype">int</span> serializedLengthOfString(<span class="keywordtype">int</span> stringLength);
+<a name="l00583"></a>00583 <span class="keywordtype">int</span> serializedLengthOfString(<span class="keyword">const</span> std::string &s);
+<a name="l00584"></a>00584 <span class="keywordtype">int</span> serializedLengthOfBinary(<span class="keywordtype">int</span> binaryLength);
+<a name="l00585"></a>00585
+<a name="l00586"></a>00586 <span class="keywordtype">int</span> serializeInt(<span class="keywordtype">int</span> i,
+<a name="l00587"></a>00587 Bytes &outputBuffer,
+<a name="l00588"></a>00588 <span class="keywordtype">int</span> &outputBufferLength);
+<a name="l00589"></a>00589 <span class="keywordtype">int</span> serializeLong(<span class="keywordtype">long</span> i,
+<a name="l00590"></a>00590 Bytes &outputBuffer,
+<a name="l00591"></a>00591 <span class="keywordtype">int</span> &outputBufferLength);
+<a name="l00592"></a>00592 <span class="keywordtype">int</span> serializeString(<span class="keyword">const</span> <span class="keywordtype">char</span> *s,
+<a name="l00593"></a>00593 Bytes &outputBuffer,
+<a name="l00594"></a>00594 <span class="keywordtype">int</span> &outputBufferLength);
+<a name="l00595"></a>00595 <span class="keywordtype">int</span> serializeString(<span class="keyword">const</span> <span class="keywordtype">char</span> *s,
+<a name="l00596"></a>00596 <span class="keywordtype">int</span> len,
+<a name="l00597"></a>00597 Bytes &outputBuffer,
+<a name="l00598"></a>00598 <span class="keywordtype">int</span> &outputBufferLength);
+<a name="l00599"></a>00599 <span class="keywordtype">int</span> serializeString(<span class="keyword">const</span> std::string &s,
+<a name="l00600"></a>00600 Bytes &outputBuffer,
+<a name="l00601"></a>00601 <span class="keywordtype">int</span> &outputBufferLength);
+<a name="l00602"></a>00602 <span class="keywordtype">int</span> serializeBinary(<span class="keyword">const</span> <span class="keywordtype">void</span> *b,
+<a name="l00603"></a>00603 <span class="keywordtype">int</span> len,
+<a name="l00604"></a>00604 Bytes &outputBuffer,
+<a name="l00605"></a>00605 <span class="keywordtype">int</span> &outputBufferLength);
+<a name="l00606"></a>00606
+<a name="l00607"></a>00607 <span class="keywordtype">int</span> deserializeInt(<span class="keywordtype">int</span> &i,
+<a name="l00608"></a>00608 ConstBytes &inputBuffer,
+<a name="l00609"></a>00609 <span class="keywordtype">int</span> &inputBufferLength);
+<a name="l00610"></a>00610 <span class="keywordtype">int</span> deserializeLong(<span class="keywordtype">long</span> &i,
+<a name="l00611"></a>00611 ConstBytes &inputBuffer,
+<a name="l00612"></a>00612 <span class="keywordtype">int</span> &inputBufferLength);
+<a name="l00613"></a>00613 <span class="keywordtype">int</span> deserializeString(<span class="keyword">const</span> <span class="keywordtype">char</span> *&s,
+<a name="l00614"></a>00614 <span class="keywordtype">int</span> &stringLength,
+<a name="l00615"></a>00615 <span class="keywordtype">bool</span> makeACopy,
+<a name="l00616"></a>00616 ConstBytes &inputBuffer,
+<a name="l00617"></a>00617 <span class="keywordtype">int</span> &inputBufferLength);
+<a name="l00618"></a>00618 <span class="keywordtype">int</span> deserializeString(std::string &s,
+<a name="l00619"></a>00619 ConstBytes &inputBuffer,
+<a name="l00620"></a>00620 <span class="keywordtype">int</span> &inputBufferLength);
+<a name="l00621"></a>00621 <span class="keywordtype">int</span> deserializeBinary(<span class="keyword">const</span> <span class="keywordtype">void</span> **b,
+<a name="l00622"></a>00622 <span class="keywordtype">int</span> &binaryLength,
+<a name="l00623"></a>00623 <span class="keywordtype">bool</span> makeACopy,
+<a name="l00624"></a>00624 ConstBytes &inputBuffer,
+<a name="l00625"></a>00625 <span class="keywordtype">int</span> &inputBufferLength);
+<a name="l00626"></a>00626 TMUDRObjectType getNextObjectType(ConstBytes inputBuffer,
+<a name="l00627"></a>00627 <span class="keywordtype">int</span> inputBufferLength);
+<a name="l00628"></a>00628
+<a name="l00629"></a>00629 <span class="keyword">private</span>:
+<a name="l00630"></a>00630
+<a name="l00631"></a>00631 <span class="keyword">struct </span>headerFields {
+<a name="l00632"></a>00632 <span class="keywordtype">int</span> objectType_;
+<a name="l00633"></a>00633 <span class="keywordtype">int</span> totalLength_;
+<a name="l00634"></a>00634 <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> version_;
+<a name="l00635"></a>00635 <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> endianness_;
+<a name="l00636"></a>00636 <span class="keywordtype">int</span> flags_;
+<a name="l00637"></a>00637 <span class="keywordtype">int</span> filler_;
+<a name="l00638"></a>00638 } v_;
+<a name="l00639"></a>00639 };
+<a name="l00640"></a>00640
+<a name="l00649"></a><a class="code" href="classtmudr_1_1TypeInfo.html">00649</a> <span class="keyword">class </span><a class="code" href="classtmudr_1_1TypeInfo.html" title="Data types in the UDR interface.">TypeInfo</a> : <span class="keyword">public</span> TMUDRSerializableObject
+<a name="l00650"></a>00650 {
+<a name="l00651"></a>00651 <span class="keyword">public</span>:
+<a name="l00652"></a>00652
+<a name="l00654"></a><a class="code" href="classtmudr_1_1TypeInfo.html#ab696846dc0cbf6f8636bf5a8bcf6d266">00654</a> <span class="keyword">enum</span> <a class="code" href="classtmudr_1_1TypeInfo.html#ab696846dc0cbf6f8636bf5a8bcf6d266">SQLTypeCode</a>
+<a name="l00655"></a>00655 {
+<a name="l00656"></a>00656 UNDEFINED_SQL_TYPE,
+<a name="l00657"></a><a class="code" href="classtmudr_1_1TypeInfo.html#ab696846dc0cbf6f8636bf5a8bcf6d266a0ade21138ec1a4813824121364bcd19f">00657</a> <a class="code" href="classtmudr_1_1TypeInfo.html#ab696846dc0cbf6f8636bf5a8bcf6d266a0ade21138ec1a4813824121364bcd19f" title="16 bit integer">SMALLINT</a>,
+<a name="l00658"></a><a class="code" href="classtmudr_1_1TypeInfo.html#ab696846dc0cbf6f8636bf5a8bcf6d266a24a7fca3d700f356f83e3059accace84">00658</a> <a class="code" href="classtmudr_1_1TypeInfo.html#ab696846dc0cbf6f8636bf5a8bcf6d266a24a7fca3d700f356f83e3059accace84" title="32 bit integer">INT</a>,
+<a name="l00659"></a><a class="code" href="classtmudr_1_1TypeInfo.html#ab696846dc0cbf6f8636bf5a8bcf6d266ac361fb49744ec7e4fdf18b7111c1b5df">00659</a> <a class="code" href="classtmudr_1_1TypeInfo.html#ab696846dc0cbf6f8636bf5a8bcf6d266ac361fb49744ec7e4fdf18b7111c1b5df" title="64 bit integer">LARGEINT</a>,
+<a name="l00660"></a><a class="code" href="classtmudr_1_1TypeInfo.html#ab696846dc0cbf6f8636bf5a8bcf6d266ade9538db5db4f27c09def5bb81e47af4">00660</a> <a class="code" href="classtmudr_1_1TypeInfo.html#ab696846dc0cbf6f8636bf5a8bcf6d266ade9538db5db4f27c09def5bb81e47af4" title="Numeric with decimal precision.">NUMERIC</a>,
+<a name="l00661"></a><a class="code" href="classtmudr_1_1TypeInfo.html#ab696846dc0cbf6f8636bf5a8bcf6d266a336d6300f5f819dd63b603ee17736313">00661</a> <a class="code" href="classtmudr_1_1TypeInfo.html#ab696846dc0cbf6f8636bf5a8bcf6d266a336d6300f5f819dd63b603ee17736313" title="Decimal, leading sign embedded.">DECIMAL_LSE</a>,
+<a name="l00662"></a><a class="code" href="classtmudr_1_1TypeInfo.html#ab696846dc0cbf6f8636bf5a8bcf6d266aca91a8c023fc074aa7afba2fde0acaf0">00662</a> <a class="code" href="classtmudr_1_1TypeInfo.html#ab696846dc0cbf6f8636bf5a8bcf6d266aca91a8c023fc074aa7afba2fde0acaf0" title="unsigned 16 bit integer">SMALLINT_UNSIGNED</a>,
+<a name="l00663"></a><a class="code" href="classtmudr_1_1TypeInfo.html#ab696846dc0cbf6f8636bf5a8bcf6d266ae58915dee0f1849c71bd21e9e6cf8666">00663</a> <a class="code" href="classtmudr_1_1TypeInfo.html#ab696846dc0cbf6f8636bf5a8bcf6d266ae58915dee0f1849c71bd21e9e6cf8666" title="unsigned 32 bit integer">INT_UNSIGNED</a>,
+<a name="l00664"></a><a class="code" href="classtmudr_1_1TypeInfo.html#ab696846dc0cbf6f8636bf5a8bcf6d266a2ac9a1a11876fe9bbdb813e55cc74577">00664</a> <a class="code" href="classtmudr_1_1TypeInfo.html#ab696846dc0cbf6f8636bf5a8bcf6d266a2ac9a1a11876fe9bbdb813e55cc74577" title="unsigned numeric">NUMERIC_UNSIGNED</a>,
+<a name="l00665"></a><a class="code" href="classtmudr_1_1TypeInfo.html#ab696846dc0cbf6f8636bf5a8bcf6d266aea52590bc64eb520c50b81889e0c6a44">00665</a> <a class="code" href="classtmudr_1_1TypeInfo.html#ab696846dc0cbf6f8636bf5a8bcf6d266aea52590bc64eb520c50b81889e0c6a44" title="unsigned decimal">DECIMAL_UNSIGNED</a>,
+<a name="l00666"></a><a class="code" href="classtmudr_1_1TypeInfo.html#ab696846dc0cbf6f8636bf5a8bcf6d266a62961a64ad659ce3817481ab753bb60e">00666</a> <a class="code" href="classtmudr_1_1TypeInfo.html#ab696846dc0cbf6f8636bf5a8bcf6d266a62961a64ad659ce3817481ab753bb60e" title="4 byte floating point number">REAL</a>,
+<a name="l00667"></a><a class="code" href="classtmudr_1_1TypeInfo.html#ab696846dc0cbf6f8636bf5a8bcf6d266a564cd31cdc534c68294bb6b37a25207f">00667</a> <a class="code" href="classtmudr_1_1TypeInfo.html#ab696846dc0cbf6f8636bf5a8bcf6d266a564cd31cdc534c68294bb6b37a25207f" title="8 byte floating point number">DOUBLE_PRECISION</a>,
+<a name="l00668"></a><a class="code" href="classtmudr_1_1TypeInfo.html#ab696846dc0cbf6f8636bf5a8bcf6d266a59e8ffc02bd57394fb38c39a338b9af5">00668</a> <a class="code" href="classtmudr_1_1TypeInfo.html#ab696846dc0cbf6f8636bf5a8bcf6d266a59e8ffc02bd57394fb38c39a338b9af5" title="fixed length character types.">CHAR</a>,
+<a name="l00669"></a><a class="code" href="classtmudr_1_1TypeInfo.html#ab696846dc0cbf6f8636bf5a8bcf6d266aacb75ea700bb91e90d9e655b41749a53">00669</a> <a class="code" href="classtmudr_1_1TypeInfo.html#ab696846dc0cbf6f8636bf5a8bcf6d266aacb75ea700bb91e90d9e655b41749a53" title="varying length character types.">VARCHAR</a>,
+<a name="l00670"></a><a class="code" href="classtmudr_1_1TypeInfo.html#ab696846dc0cbf6f8636bf5a8bcf6d266a44380d03ef2b795de30c85047828af08">00670</a> <a class="code" href="classtmudr_1_1TypeInfo.html#ab696846dc0cbf6f8636bf5a8bcf6d266a44380d03ef2b795de30c85047828af08" title="date">DATE</a>,
+<a name="l00671"></a><a class="code" href="classtmudr_1_1TypeInfo.html#ab696846dc0cbf6f8636bf5a8bcf6d266a36803a96faf38ec105228df9b91fc221">00671</a> <a class="code" href="classtmudr_1_1TypeInfo.html#ab696846dc0cbf6f8636bf5a8bcf6d266a36803a96faf38ec105228df9b91fc221" title="time">TIME</a>,
+<a name="l00672"></a><a class="code" href="classtmudr_1_1TypeInfo.html#ab696846dc0cbf6f8636bf5a8bcf6d266ad8e388312a66654cc86af2ece2564394">00672</a> <a class="code" href="classtmudr_1_1TypeInfo.html#ab696846dc0cbf6f8636bf5a8bcf6d266ad8e388312a66654cc86af2ece2564394" title="timestamp">TIMESTAMP</a>,
+<a name="l00673"></a><a class="code" href="classtmudr_1_1TypeInfo.html#ab696846dc0cbf6f8636bf5a8bcf6d266a5b8bcc1ecfefa939e06e1b431f5a2564">00673</a> <a class="code" href="classtmudr_1_1TypeInfo.html#ab696846dc0cbf6f8636bf5a8bcf6d266a5b8bcc1ecfefa939e06e1b431f5a2564" title="interval">INTERVAL</a>,
+<a name="l00674"></a><a class="code" href="classtmudr_1_1TypeInfo.html#ab696846dc0cbf6f8636bf5a8bcf6d266a0f315e31b36d6bf06c6d361352606870">00674</a> <a class="code" href="classtmudr_1_1TypeInfo.html#ab696846dc0cbf6f8636bf5a8bcf6d266a0f315e31b36d6bf06c6d361352606870" title="Binary Large Object.">BLOB</a>,
+<a name="l00675"></a><a class="code" href="classtmudr_1_1TypeInfo.html#ab696846dc0cbf6f8636bf5a8bcf6d266acb20fc9eb1050fb670402263e8129437">00675</a> <a class="code" href="classtmudr_1_1TypeInfo.html#ab696846dc0cbf6f8636bf5a8bcf6d266acb20fc9eb1050fb670402263e8129437" title="Character Large Object.">CLOB</a>,
+<a name="l00676"></a><a class="code" href="classtmudr_1_1TypeInfo.html#ab696846dc0cbf6f8636bf5a8bcf6d266a5522121626259cd01df63953b6499f1f">00676</a> <a class="code" href="classtmudr_1_1TypeInfo.html#ab696846dc0cbf6f8636bf5a8bcf6d266a5522121626259cd01df63953b6499f1f" title="8 bit integer">TINYINT</a>,
+<a name="l00677"></a><a class="code" href="classtmudr_1_1TypeInfo.html#ab696846dc0cbf6f8636bf5a8bcf6d266a79c2f5c46711ae898e1ce8fe661a7055">00677</a> <a class="code" href="classtmudr_1_1TypeInfo.html#ab696846dc0cbf6f8636bf5a8bcf6d266a79c2f5c46711ae898e1ce8fe661a7055" title="unsigned 8 bit integer">TINYINT_UNSIGNED</a>,
+<a name="l00678"></a><a class="code" href="classtmudr_1_1TypeInfo.html#ab696846dc0cbf6f8636bf5a8bcf6d266a93e39bc9f828394f04f4dea0ba9f56cd">00678</a> <a class="code" href="classtmudr_1_1TypeInfo.html#ab696846dc0cbf6f8636bf5a8bcf6d266a93e39bc9f828394f04f4dea0ba9f56cd" title="boolean, 1 byte 0 or 1">BOOLEAN</a>
+<a name="l00679"></a>00679 };
+<a name="l00680"></a>00680
+<a name="l00682"></a><a class="code" href="classtmudr_1_1TypeInfo.html#a9804443638ca97a8e5dbfeebe0d08ca6">00682</a> <span class="keyword">enum</span> <a class="code" href="classtmudr_1_1TypeInfo.html#a9804443638ca97a8e5dbfeebe0d08ca6">SQLTypeClassCode</a>
+<a name="l00683"></a>00683 {
+<a name="l00684"></a><a class="code" href="classtmudr_1_1TypeInfo.html#a9804443638ca97a8e5dbfeebe0d08ca6ac1ddf5a35e4973c871c59882a1748ed0">00684</a> <a class="code" href="classtmudr_1_1TypeInfo.html#a9804443638ca97a8e5dbfeebe0d08ca6ac1ddf5a35e4973c871c59882a1748ed0" title="char and varchar types">CHARACTER_TYPE</a>,
+<a name="l00685"></a><a class="code" href="classtmudr_1_1TypeInfo.html#a9804443638ca97a8e5dbfeebe0d08ca6a74bae30f356f7d74578afce48bfb8b0a">00685</a> <a class="code" href="classtmudr_1_1TypeInfo.html#a9804443638ca97a8e5dbfeebe0d08ca6a74bae30f356f7d74578afce48bfb8b0a" title="exact and approximate numerics">NUMERIC_TYPE</a>,
+<a name="l00686"></a><a class="code" href="classtmudr_1_1TypeInfo.html#a9804443638ca97a8e5dbfeebe0d08ca6a1926333fc5b6213b2550f11c505a6ff8">00686</a> <a class="code" href="classtmudr_1_1TypeInfo.html#a9804443638ca97a8e5dbfeebe0d08ca6a1926333fc5b6213b2550f11c505a6ff8" title="date/time/timestamp">DATETIME_TYPE</a>,
+<a name="l00687"></a><a class="code" href="classtmudr_1_1TypeInfo.html#a9804443638ca97a8e5dbfeebe0d08ca6a8e593620895104b04699b510b03a3410">00687</a> <a class="code" href="classtmudr_1_1TypeInfo.html#a9804443638ca97a8e5dbfeebe0d08ca6a8e593620895104b04699b510b03a3410" title="day/month or hour/second intervals">INTERVAL_TYPE</a>,
+<a name="l00688"></a><a class="code" href="classtmudr_1_1TypeInfo.html#a9804443638ca97a8e5dbfeebe0d08ca6a95c60040762e832c593c5cd70612dabf">00688</a> <a class="code" href="classtmudr_1_1TypeInfo.html#a9804443638ca97a8e5dbfeebe0d08ca6a95c60040762e832c593c5cd70612dabf" title="BLOBs and CLOBs.">LOB_TYPE</a>,
+<a name="l00689"></a><a class="code" href="classtmudr_1_1TypeInfo.html#a9804443638ca97a8e5dbfeebe0d08ca6aa5ade31c984878b78f9a5dba6862d6c9">00689</a> <a class="code" href="classtmudr_1_1TypeInfo.html#a9804443638ca97a8e5dbfeebe0d08ca6aa5ade31c984878b78f9a5dba6862d6c9" title="Boolean.">BOOLEAN_TYPE</a>,
+<a name="l00690"></a><a class="code" href="classtmudr_1_1TypeInfo.html#a9804443638ca97a8e5dbfeebe0d08ca6ab5a97b37256b6b9a1a9bcdc87cf8604b">00690</a> <a class="code" href="classtmudr_1_1TypeInfo.html#a9804443638ca97a8e5dbfeebe0d08ca6ab5a97b37256b6b9a1a9bcdc87cf8604b" title="undefined value">UNDEFINED_TYPE_CLASS</a>
+<a name="l00691"></a>00691 };
+<a name="l00692"></a>00692
+<a name="l00694"></a><a class="code" href="classtmudr_1_1TypeInfo.html#a82b5906be32d94b8ae2ba20d8cc3f312">00694</a> <span class="keyword">enum</span> <a class="code" href="classtmudr_1_1TypeInfo.html#a82b5906be32d94b8ae2ba20d8cc3f312">SQLTypeSubClassCode</a>
+<a name="l00695"></a>00695 {
+<a name="l00696"></a><a class="code" href="classtmudr_1_1TypeInfo.html#a82b5906be32d94b8ae2ba20d8cc3f312aec1f8938badce43ef7b7d916564c2e73">00696</a> <a class="code" href="classtmudr_1_1TypeInfo.html#a82b5906be32d94b8ae2ba20d8cc3f312aec1f8938badce43ef7b7d916564c2e73" title="CHAR types.">FIXED_CHAR_TYPE</a>,
+<a name="l00697"></a><a class="code" href="classtmudr_1_1TypeInfo.html#a82b5906be32d94b8ae2ba20d8cc3f312a95cff35312ae45825b4c11cde067bfbd">00697</a> <a class="code" href="classtmudr_1_1TypeInfo.html#a82b5906be32d94b8ae2ba20d8cc3f312a95cff35312ae45825b4c11cde067bfbd" title="VARCHAR type.">VAR_CHAR_TYPE</a>,
+<a name="l00698"></a><a class="code" href="classtmudr_1_1TypeInfo.html#a82b5906be32d94b8ae2ba20d8cc3f312a6220516814a84a54ec18897b5033f78a">00698</a> <a class="code" href="classtmudr_1_1TypeInfo.html#a82b5906be32d94b8ae2ba20d8cc3f312a6220516814a84a54ec18897b5033f78a" title="Exact numeric.">EXACT_NUMERIC_TYPE</a>,
+<a name="l00699"></a><a class="code" href="classtmudr_1_1TypeInfo.html#a82b5906be32d94b8ae2ba20d8cc3f312a883f57f4046fb514e407ee2bfae4c150">00699</a> <a class="code" href="classtmudr_1_1TypeInfo.html#a82b5906be32d94b8ae2ba20d8cc3f312a883f57f4046fb514e407ee2bfae4c150" title="Approximate numeric (floating point).">APPROXIMATE_NUMERIC_TYPE</a>,
+<a name="l00700"></a><a class="code" href="classtmudr_1_1TypeInfo.html#a82b5906be32d94b8ae2ba20d8cc3f312a1783dfb6ca7d790d9dd81e79ce31c51a">00700</a> <a class="code" href="classtmudr_1_1TypeInfo.html#a82b5906be32d94b8ae2ba20d8cc3f312a1783dfb6ca7d790d9dd81e79ce31c51a" title="Date.">DATE_TYPE</a>,
+<a name="l00701"></a><a class="code" href="classtmudr_1_1TypeInfo.html#a82b5906be32d94b8ae2ba20d8cc3f312a2d9393a033a243a8da1351bd7bb516bf">00701</a> <a class="code" href="classtmudr_1_1TypeInfo.html#a82b5906be32d94b8ae2ba20d8cc3f312a2d9393a033a243a8da1351bd7bb516bf" title="Time.">TIME_TYPE</a>,
+<a name="l00702"></a><a class="code" href="classtmudr_1_1TypeInfo.html#a82b5906be32d94b8ae2ba20d8cc3f312a8f245e8fed318c82158be45bab8eab79">00702</a> <a class="code" href="classtmudr_1_1TypeInfo.html#a82b5906be32d94b8ae2ba20d8cc3f312a8f245e8fed318c82158be45bab8eab79">TIMESTAMP_TYPE</a>,
+<a name="l00703"></a>00703
+<a name="l00704"></a><a class="code" href="classtmudr_1_1TypeInfo.html#a82b5906be32d94b8ae2ba20d8cc3f312aea59eb6057ee0249ddb7c9ea02db5c22">00704</a> <a class="code" href="classtmudr_1_1TypeInfo.html#a82b5906be32d94b8ae2ba20d8cc3f312aea59eb6057ee0249ddb7c9ea02db5c22" title="Intervals involving year and month.">YEAR_MONTH_INTERVAL_TYPE</a>,
+<a name="l00705"></a><a class="code" href="classtmudr_1_1TypeInfo.html#a82b5906be32d94b8ae2ba20d8cc3f312a40834e400cd23e40d1301cf793cd0efe">00705</a> <a class="code" href="classtmudr_1_1TypeInfo.html#a82b5906be32d94b8ae2ba20d8cc3f312a40834e400cd23e40d1301cf793cd0efe">DAY_SECOND_INTERVAL_TYPE</a>,
+<a name="l00706"></a>00706
+<a name="l00707"></a><a class="code" href="classtmudr_1_1TypeInfo.html#a82b5906be32d94b8ae2ba20d8cc3f312a29452fb1a30719c6b4da88baf7a19f3f">00707</a> <a class="code" href="classtmudr_1_1TypeInfo.html#a82b5906be32d94b8ae2ba20d8cc3f312a29452fb1a30719c6b4da88baf7a19f3f" title="LOBs.">LOB_SUB_CLASS</a>,
+<a name="l00708"></a><a class="code" href="classtmudr_1_1TypeInfo.html#a82b5906be32d94b8ae2ba20d8cc3f312ace4ee59929901bdbe32083660ecc3998">00708</a> <a class="code" href="classtmudr_1_1TypeInfo.html#a82b5906be32d94b8ae2ba20d8cc3f312ace4ee59929901bdbe32083660ecc3998" title="Boolean.">BOOLEAN_SUB_CLASS</a>,
+<a name="l00709"></a><a class="code" href="classtmudr_1_1TypeInfo.html#a82b5906be32d94b8ae2ba20d8cc3f312a779d60e795dc59c3267c0805a02f1a06">00709</a> <a class="code" href="classtmudr_1_1TypeInfo.html#a82b5906be32d94b8ae2ba20d8cc3f312a779d60e795dc59c3267c0805a02f1a06" title="undefined value">UNDEFINED_TYPE_SUB_CLASS</a>
+<a name="l00710"></a>00710 };
+<a name="l00711"></a>00711
+<a name="l00713"></a><a class="code" href="classtmudr_1_1TypeInfo.html#a66c9cc313ff649857e47285a80af619d">00713</a> <span class="keyword">enum</span> <a class="code" href="classtmudr_1_1TypeInfo.html#a66c9cc313ff649857e47285a80af619d">SQLCharsetCode</a>
+<a name="l00714"></a>00714 {
+<a name="l00715"></a>00715 UNDEFINED_CHARSET,
+<a name="l00716"></a><a class="code" href="classtmudr_1_1TypeInfo.html#a66c9cc313ff649857e47285a80af619da89d942ed0ec37f58306ecffc8bc27f50">00716</a> <a class="code" href="classtmudr_1_1TypeInfo.html#a66c9cc313ff649857e47285a80af619da89d942ed0ec37f58306ecffc8bc27f50" title="ISO 8859-1, single byte western European characters.">CHARSET_ISO88591</a>,
+<a name="l00717"></a><a class="code" href="classtmudr_1_1TypeInfo.html#a66c9cc313ff649857e47285a80af619dabc8b5a700e0bfd85293e6e9f6f7f95bb">00717</a> <a class="code" href="classtmudr_1_1TypeInfo.html#a66c9cc313ff649857e47285a80af619dabc8b5a700e0bfd85293e6e9f6f7f95bb" title="UTF-8, 1-4 byte Unicode encoding, length is in bytes.">CHARSET_UTF8</a>,
+<a name="l00718"></a><a class="code" href="classtmudr_1_1TypeInfo.html#a66c9cc313ff649857e47285a80af619da224994fe269e15342cc627cd3eeaf57f">00718</a> <a class="code" href="classtmudr_1_1TypeInfo.html#a66c9cc313ff649857e47285a80af619da224994fe269e15342cc627cd3eeaf57f" title="UCS-2, 16 bit Unicode encoding, tolerates UTF-16.">CHARSET_UCS2</a>
+<a name="l00719"></a>00719 };
+<a name="l00720"></a>00720
+<a name="l00722"></a><a class="code" href="classtmudr_1_1TypeInfo.html#ab0390570f1a369a2ad216999bf033568">00722</a> <span class="keyword">enum</span> <a class="code" href="classtmudr_1_1TypeInfo.html#ab0390570f1a369a2ad216999bf033568">SQLCollationCode</a>
+<a name="l00723"></a>00723 {
+<a name="l00724"></a><a class="code" href="classtmudr_1_1TypeInfo.html#ab0390570f1a369a2ad216999bf033568abe6f0fa45c98745423d99f63e03a1bfa">00724</a> <a class="code" href="classtmudr_1_1TypeInfo.html#ab0390570f1a369a2ad216999bf033568abe6f0fa45c98745423d99f63e03a1bfa" title="undefined value">UNDEFINED_COLLATION</a>,
+<a name="l00725"></a><a class="code" href="classtmudr_1_1TypeInfo.html#ab0390570f1a369a2ad216999bf033568afaf17174e4d03374f3953af1455ede55">00725</a> <a class="code" href="classtmudr_1_1TypeInfo.html#ab0390570f1a369a2ad216999bf033568afaf17174e4d03374f3953af1455ede55">SYSTEM_COLLATION</a>
+<a name="l00726"></a>00726
+<a name="l00727"></a>00727
+<a name="l00728"></a>00728 };
+<a name="l00729"></a>00729
+<a name="l00731"></a>00731 <span class="comment">// Note: same values as SQLINTERVAL_CODE in file sql/cli/sqlcli.h</span>
+<a name="l00732"></a><a class="code" href="classtmudr_1_1TypeInfo.html#a7abbf6085f46df317c9af55c360d5693">00732</a> <span class="keyword">enum</span> <a class="code" href="classtmudr_1_1TypeInfo.html#a7abbf6085f46df317c9af55c360d5693">SQLIntervalCode</a>
+<a name="l00733"></a>00733 {
+<a name="l00734"></a>00734 UNDEFINED_INTERVAL_CODE = 0,
+<a name="l00735"></a>00735 INTERVAL_YEAR = 1,
+<a name="l00736"></a>00736 INTERVAL_MONTH = 2,
+<a name="l00737"></a>00737 INTERVAL_DAY = 3,
+<a name="l00738"></a>00738 INTERVAL_HOUR = 4,
+<a name="l00739"></a>00739 INTERVAL_MINUTE = 5,
+<a name="l00740"></a>00740 INTERVAL_SECOND = 6,
+<a name="l00741"></a>00741 INTERVAL_YEAR_MONTH = 7,
+<a name="l00742"></a>00742 INTERVAL_DAY_HOUR = 8,
+<a name="l00743"></a>00743 INTERVAL_DAY_MINUTE = 9,
+<a name="l00744"></a>00744 INTERVAL_DAY_SECOND = 10,
+<a name="l00745"></a>00745 INTERVAL_HOUR_MINUTE = 11,
+<a name="l00746"></a>00746 INTERVAL_HOUR_SECOND = 12,
+<a name="l00747"></a>00747 INTERVAL_MINUTE_SECOND = 13
+<a name="l00748"></a>00748 };
+<a name="l00749"></a>00749
+<a name="l00750"></a>00750 <a class="code" href="classtmudr_1_1TypeInfo.html#aa8530a671d0e202da5766878865c6b92">TypeInfo</a>(<span class="keyword">const</span> <a class="code" href="classtmudr_1_1TypeInfo.html" title="Data types in the UDR interface.">TypeInfo</a> &type);
+<a name="l00751"></a>00751 <a class="code" href="classtmudr_1_1TypeInfo.html#aa8530a671d0e202da5766878865c6b92">TypeInfo</a>(<a class="code" href="classtmudr_1_1TypeInfo.html#ab696846dc0cbf6f8636bf5a8bcf6d266">SQLTypeCode</a> sqltype = UNDEFINED_SQL_TYPE,
+<a name="l00752"></a>00752 <span class="keywordtype">int</span> length = 0,
+<a name="l00753"></a>00753 <span class="keywordtype">bool</span> nullable = <span class="keyword">false</span>,
+<a name="l00754"></a>00754 <span class="keywordtype">int</span> scale = 0,
+<a name="l00755"></a>00755 <a class="code" href="classtmudr_1_1TypeInfo.html#a66c9cc313ff649857e47285a80af619d">SQLCharsetCode</a> charset = <a class="code" href="classtmudr_1_1TypeInfo.html#a66c9cc313ff649857e47285a80af619dabc8b5a700e0bfd85293e6e9f6f7f95bb" title="UTF-8, 1-4 byte Unicode encoding, length is in bytes.">CHARSET_UTF8</a>,
+<a name="l00756"></a>00756 <a class="code" href="classtmudr_1_1TypeInfo.html#a7abbf6085f46df317c9af55c360d5693">SQLIntervalCode</a> intervalCode = UNDEFINED_INTERVAL_CODE,
+<a name="l00757"></a>00757 <span class="keywordtype">int</span> precision = 0,
+<a name="l00758"></a>00758 <a class="code" href="classtmudr_1_1TypeInfo.html#ab0390570f1a369a2ad216999bf033568">SQLCollationCode</a> collation = <a class="code" href="classtmudr_1_1TypeInfo.html#ab0390570f1a369a2ad216999bf033568afaf17174e4d03374f3953af1455ede55">SYSTEM_COLLATION</a>);
+<a name="l00759"></a>00759 <span class="comment">// this constructor should not be used by UDR writers</span>
+<a name="l00760"></a>00760 <a class="code" href="classtmudr_1_1TypeInfo.html#aa8530a671d0e202da5766878865c6b92">TypeInfo</a>(<a class="code" href="classtmudr_1_1TypeInfo.html#ab696846dc0cbf6f8636bf5a8bcf6d266">SQLTypeCode</a> sqltype,
+<a name="l00761"></a>00761 <span class="keywordtype">bool</span> nullable,
+<a name="l00762"></a>00762 <span class="keywordtype">int</span> scale,
+<a name="l00763"></a>00763 <a class="code" href="classtmudr_1_1TypeInfo.html#a66c9cc313ff649857e47285a80af619d">SQLCharsetCode</a> charset,
+<a name="l00764"></a>00764 <a class="code" href="classtmudr_1_1TypeInfo.html#a7abbf6085f46df317c9af55c360d5693">SQLIntervalCode</a> intervalCode,
+<a name="l00765"></a>00765 <span class="keywordtype">int</span> precision,
+<a name="l00766"></a>00766 <a class="code" href="classtmudr_1_1TypeInfo.html#ab0390570f1a369a2ad216999bf033568">SQLCollationCode</a> collation,
+<a name="l00767"></a>00767 <span class="keywordtype">int</span> length);
+<a name="l00768"></a>00768
+<a name="l00769"></a>00769 <a class="code" href="classtmudr_1_1TypeInfo.html#ab696846dc0cbf6f8636bf5a8bcf6d266">SQLTypeCode</a> <a class="code" href="classtmudr_1_1TypeInfo.html#a15f362c0467ea724f5a131abf616b4e3">getSQLType</a>() <span class="keyword">const</span>;
+<a name="l00770"></a>00770 <a class="code" href="classtmudr_1_1TypeInfo.html#a9804443638ca97a8e5dbfeebe0d08ca6">SQLTypeClassCode</a> <a class="code" href="classtmudr_1_1TypeInfo.html#abbeae3703448b022500bc51d03464ee8">getSQLTypeClass</a>() <span class="keyword">const</span>;
+<a name="l00771"></a>00771 <a class="code" href="classtmudr_1_1TypeInfo.html#a82b5906be32d94b8ae2ba20d8cc3f312">SQLTypeSubClassCode</a> <a class="code" href="classtmudr_1_1TypeInfo.html#a2d4c5cb598281937eab0e29d86f63a4f">getSQLTypeSubClass</a>() <span class="keyword">const</span>;
+<a name="l00772"></a>00772 <span class="keywordtype">bool</span> <a class="code" href="classtmudr_1_1TypeInfo.html#adb5577ca283d68a58de55ade4eee2af9">getIsNullable</a>() <span class="keyword">const</span>;
+<a name="l00773"></a>00773 <span class="keywordtype">int</span> <a class="code" href="classtmudr_1_1TypeInfo.html#abc3cf966f53a123d28cb7592da8ea1c4">getScale</a>() <span class="keyword">const</span>;
+<a name="l00774"></a>00774 <a class="code" href="classtmudr_1_1TypeInfo.html#a66c9cc313ff649857e47285a80af619d">SQLCharsetCode</a> <a class="code" href="classtmudr_1_1TypeInfo.html#ae14b0a07899ffb784c74eebf601eb0af">getCharset</a>() <span class="keyword">const</span>;
+<a name="l00775"></a>00775 <a class="code" href="classtmudr_1_1TypeInfo.html#a7abbf6085f46df317c9af55c360d5693">SQLIntervalCode</a> <a class="code" href="classtmudr_1_1TypeInfo.html#a5c1892b468507c422ceda6b60bdb0766">getIntervalCode</a>() <span class="keyword">const</span>;
+<a name="l00776"></a>00776 <span class="keywordtype">int</span> <a class="code" href="classtmudr_1_1TypeInfo.html#a65b9039901423957438d611fec875ecb">getPrecision</a>() <span class="keyword">const</span>;
+<a name="l00777"></a>00777 <a class="code" href="classtmudr_1_1TypeInfo.html#ab0390570f1a369a2ad216999bf033568">SQLCollationCode</a> <a class="code" href="classtmudr_1_1TypeInfo.html#a07a9a08aced1ba15872605bc9774eb61">getCollation</a>() <span class="keyword">const</span>;
+<a name="l00778"></a>00778 <span class="keywordtype">int</span> <a class="code" href="classtmudr_1_1TypeInfo.html#ae610f032b3f1db4a97562b609a9119d8">getByteLength</a>() <span class="keyword">const</span>;
+<a name="l00779"></a>00779 <span class="keywordtype">int</span> <a class="code" href="classtmudr_1_1TypeInfo.html#a4b52f733a78e59a2ea37b6e306b6fc56">getMaxCharLength</a>() <span class="keyword">const</span>;
+<a name="l00780"></a>00780
+<a name="l00781"></a>00781 <span class="comment">// non-const methods for use at compile time</span>
+<a name="l00782"></a>00782 <span class="keywordtype">void</span> <a class="code" href="classtmudr_1_1TypeInfo.html#ab370d3a8e693a893080c105a11d0a500">setNullable</a>(<span class="keywordtype">bool</span> nullable);
+<a name="l00783"></a>00783
+<a name="l00784"></a>00784 <span class="comment">// UDR writers can ignore these methods</span>
+<a name="l00785"></a>00785
+<a name="l00786"></a>00786 <span class="keywordtype">int</span> getInt(<span class="keyword">const</span> <span class="keywordtype">char</span> *row, <span class="keywordtype">bool</span> &wasNull) <span class="keyword">const</span>;
+<a name="l00787"></a>00787 <span class="keywordtype">long</span> getLong(<span class="keyword">const</span> <span class="keywordtype">char</span> *row, <span class="keywordtype">bool</span> &wasNull) <span class="keyword">const</span>;
+<a name="l00788"></a>00788 <span class="keywordtype">double</span> getDouble(<span class="keyword">const</span> <span class="keywordtype">char</span> *row, <span class="keywordtype">bool</span> &wasNull) <span class="keyword">const</span>;
+<a name="l00789"></a>00789 time_t getTime(<span class="keyword">const</span> <span class="keywordtype">char</span> *row, <span class="keywordtype">bool</span> &wasNull) <span class="keyword">const</span>;
+<a name="l00790"></a>00790 <span class="keywordtype">bool</span> getBoolean(<span class="keyword">const</span> <span class="keywordtype">char</span> *row, <span class="keywordtype">bool</span> &wasNull) <span class="keyword">const</span>;
+<a name="l00791"></a>00791 <span class="keyword">const</span> <span class="keywordtype">char</span> * getRaw(<span class="keyword">const</span> <span class="keywordtype">char</span> *row,
+<a name="l00792"></a>00792 <span class="keywordtype">bool</span> &wasNull,
+<a name="l00793"></a>00793 <span class="keywordtype">int</span> &byteLen) <span class="keyword">const</span>;
+<a name="l00794"></a>00794 <span class="keywordtype">bool</span> isAvailable() <span class="keyword">const</span>;
+<a name="l00795"></a>00795
+<a name="l00796"></a>00796 <span class="keywordtype">void</span> setInt(<span class="keywordtype">int</span> val, <span class="keywordtype">char</span> *row) <span class="keyword">const</span>;
+<a name="l00797"></a>00797 <span class="keywordtype">void</span> setLong(<span class="keywordtype">long</span> val, <span class="keywordtype">char</span> *row) <span class="keyword">const</span>;
+<a name="l00798"></a>00798 <span class="keywordtype">void</span> setDouble(<span class="keywordtype">double</span> val, <span class="keywordtype">char</span> *row) <span class="keyword">const</span>;
+<a name="l00799"></a>00799 <span class="keywordtype">void</span> setTime(time_t val, <span class="keywordtype">char</span> *row) <span class="keyword">const</span>;
+<a name="l00800"></a>00800 <span class="keywordtype">void</span> setString(<span class="keyword">const</span> <span class="keywordtype">char</span> *val, <span class="keywordtype">int</span> stringLen, <span class="keywordtype">char</span> *row) <span class="keyword">const</span>;
+<a name="l00801"></a>00801 <span class="keywordtype">void</span> setBoolean(<span class="keywordtype">bool</span> val, <span class="keywordtype">char</span> *row) <span class="keyword">const</span>;
+<a name="l00802"></a>00802 <span class="keywordtype">void</span> setNull(<span class="keywordtype">char</span> *row) <span class="keyword">const</span>;
+<a name="l00803"></a>00803
+<a name="l00804"></a>00804 <span class="keywordtype">int</span> minBytesPerChar() <span class="keyword">const</span>;
+<a name="l00805"></a>00805 <span class="keywordtype">int</span> convertToBinaryPrecision(<span class="keywordtype">int</span> decimalPrecision) <span class="keyword">const</span>;
+<a name="l00806"></a>00806 <span class="keywordtype">void</span> toString(std::string &s, <span class="keywordtype">bool</span> longForm) <span class="keyword">const</span>;
+<a name="l00807"></a>00807 <span class="keyword">inline</span> <span class="keyword">static</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> getCurrentVersion() { <span class="keywordflow">return</span> 1; }
+<a name="l00808"></a>00808 <span class="keyword">virtual</span> <span class="keywordtype">int</span> serializedLength();
+<a name="l00809"></a>00809 <span class="keyword">virtual</span> <span class="keywordtype">int</span> serialize(Bytes &outputBuffer,
+<a name="l00810"></a>00810 <span class="keywordtype">int</span> &outputBufferLength);
+<a name="l00811"></a>00811 <span class="keyword">virtual</span> <span class="keywordtype">int</span> deserialize(ConstBytes &inputBuffer,
+<a name="l00812"></a>00812 <span class="keywordtype">int</span> &inputBufferLength);
+<a name="l00813"></a>00813 <span class="keywordtype">void</span> setOffsets(<span class="keywordtype">int</span> dataOffset, <span class="keywordtype">int</span> indOffset, <span class="keywordtype">int</span> vcOffset);
+<a name="l00814"></a>00814
+<a name="l00815"></a>00815 <span class="keyword">private</span>:
+<a name="l00816"></a>00816
+<a name="l00817"></a>00817 <span class="comment">// flags</span>
+<a name="l00818"></a>00818 <span class="keyword">enum</span> {
+<a name="l00819"></a>00819 TYPE_FLAG_4_BYTE_VC_LEN = 0x00000001
+<a name="l00820"></a>00820 };
+<a name="l00821"></a>00821
+<a name="l00822"></a>00822 <span class="keyword">struct </span>{
+<a name="l00823"></a>00823 <span class="keywordtype">int</span> <span class="comment">/*SQLTypeCode */</span> sqlType_;
+<a name="l00824"></a>00824 <span class="keywordtype">int</span> <span class="comment">/*bool */</span> nullable_;
+<a name="l00825"></a>00825 <span class="keywordtype">int</span> scale_; <span class="comment">// scale for exact numeric,</span>
+<a name="l00826"></a>00826 <span class="comment">// fraction precision for datetime/interval</span>
+<a name="l00827"></a>00827 <span class="keywordtype">int</span> <span class="comment">/*SQLCharsetCode */</span> charset_; <span class="comment">// for character types</span>
+<a name="l00828"></a>00828 <span class="keywordtype">int</span> <span class="comment">/*SQLIntervalCode */</span> intervalCode_; <span class="comment">// for interval types</span>
+<a name="l00829"></a>00829 <span class="keywordtype">int</span> precision_; <span class="comment">// decimal precision for exact numerics,</span>
+<a name="l00830"></a>00830 <span class="comment">// leading interval precision for intervals</span>
+<a name="l00831"></a>00831 <span class="keywordtype">int</span> <span class="comment">/*SQLCollationCode */</span> collation_; <span class="comment">// for character types</span>
+<a name="l00832"></a>00832 <span class="keywordtype">int</span> length_; <span class="comment">// for numeric (decimal precision) and character types</span>
+<a name="l00833"></a>00833 <span class="keywordtype">int</span> dataOffset_; <span class="comment">// offset in record for data portion</span>
+<a name="l00834"></a>00834 <span class="keywordtype">int</span> nullIndOffset_; <span class="comment">// offset in record for 2 or 4 byte varchar length</span>
+<a name="l00835"></a>00835 <span class="keywordtype">int</span> vcLenIndOffset_;<span class="comment">// offset in record for 2 byte null indicator</span>
+<a name="l00836"></a>00836 <span class="keywordtype">int</span> flags_; <span class="comment">// bit flags</span>
+<a name="l00837"></a>00837 <span class="keywordtype">int</span> fillers_[4]; <span class="comment">// for adding more fields without versioning</span>
+<a name="l00838"></a>00838 } d_;
+<a name="l00839"></a>00839
+<a name="l00840"></a>00840 <span class="comment">// this class is used by the Trafodion compiler</span>
+<a name="l00841"></a>00841 <span class="keyword">friend</span> class ::TMUDFInternalSetup;
+<a name="l00842"></a>00842 };
+<a name="l00843"></a>00843
+<a name="l00857"></a><a class="code" href="classtmudr_1_1ProvenanceInfo.html">00857</a> <span class="keyword">class </span><a class="code" href="classtmudr_1_1ProvenanceInfo.html" title="Describes where an output column is coming from.">ProvenanceInfo</a>
+<a name="l00858"></a>00858 {
+<a name="l00859"></a>00859 <span class="keyword">public</span>:
+<a name="l00860"></a>00860
+<a name="l00861"></a>00861 <a class="code" href="classtmudr_1_1ProvenanceInfo.html#ad6be4c301a7f3b9a34d2c0863fa3d337">ProvenanceInfo</a>();
+<a name="l00862"></a>00862 <a class="code" href="classtmudr_1_1ProvenanceInfo.html#ad6be4c301a7f3b9a34d2c0863fa3d337">ProvenanceInfo</a>(<span class="keywordtype">int</span> inputTableNum,
+<a name="l00863"></a>00863 <span class="keywordtype">int</span> inputColNum);
+<a name="l00864"></a>00864 <span class="keywordtype">int</span> <a class="code" href="classtmudr_1_1ProvenanceInfo.html#adfad1a87e41077dc3dd62ca4e073b3ef">getInputTableNum</a>() <span class="keyword">const</span>;
+<a name="l00865"></a>00865 <span class="keywordtype">int</span> <a class="code" href="classtmudr_1_1ProvenanceInfo.html#a2c10c9b580e812db85cf7c74a35f63c2">getInputColumnNum</a>() <span class="keyword">const</span>;
+<a name="l00866"></a>00866 <span class="keywordtype">bool</span> <a class="code" href="classtmudr_1_1ProvenanceInfo.html#ad8d8d8c7b33c849000f0fd33e9d6c797">isFromInputTable</a>(<span class="keywordtype">int</span> inputTableNum = -1) <span class="keyword">const</span>;
+<a name="l00867"></a>00867
+<a name="l00868"></a>00868 <span class="keyword">private</span>:
+<a name="l00869"></a>00869 <span class="keywordtype">int</span> inputTableNum_;
+<a name="l00870"></a>00870 <span class="keywordtype">int</span> inputColNum_;
+<a name="l00871"></a>00871 };
+<a name="l00872"></a>00872
+<a name="l00881"></a><a class="code" href="classtmudr_1_1ColumnInfo.html">00881</a> <span class="keyword">class </span><a class="code" href="classtmudr_1_1ColumnInfo.html" title="Describes a column in an input or output table or a parameter.">ColumnInfo</a> : <span class="keyword">public</span> TMUDRSerializableObject
+<a name="l00882"></a>00882 {
+<a name="l00883"></a>00883 <span class="keyword">public</span>:
+<a name="l00884"></a>00884
+<a name="l00886"></a><a class="code" href="classtmudr_1_1ColumnInfo.html#acd91858abc45772d55f3310d789271b4">00886</a> <span class="keyword">enum</span> <a class="code" href="classtmudr_1_1ColumnInfo.html#acd91858abc45772d55f3310d789271b4" title="Info on whether a table-valued input or output column is used.">ColumnUseCode</a>
+<a name="l00887"></a>00887 {
+<a name="l00888"></a><a class="code" href="classtmudr_1_1ColumnInfo.html#acd91858abc45772d55f3310d789271b4af932bad37d6a82ef028b8d259a5f0093">00888</a> <a class="code" href="classtmudr_1_1ColumnInfo.html#acd91858abc45772d55f3310d789271b4af932bad37d6a82ef028b8d259a5f0093" title="Column usage is not yet determined.">UNKNOWN</a>,
+<a name="l00889"></a><a class="code" href="classtmudr_1_1ColumnInfo.html#acd91858abc45772d55f3310d789271b4a6a27f51d940992abb9864cdf20bbb700">00889</a> <a class="code" href="classtmudr_1_1ColumnInfo.html#acd91858abc45772d55f3310d789271b4a6a27f51d940992abb9864cdf20bbb700">USED</a>,
+<a name="l00890"></a>00890
+<a name="l00891"></a><a class="code" href="classtmudr_1_1ColumnInfo.html#acd91858abc45772d55f3310d789271b4ac936626753ec183cf722c48004a8faa9">00891</a> <a class="code" href="classtmudr_1_1ColumnInfo.html#acd91858abc45772d55f3310d789271b4ac936626753ec183cf722c48004a8faa9">NOT_USED</a>,
+<a name="l00892"></a>00892
+<a name="l00893"></a>00893
+<a name="l00894"></a>00894
+<a name="l00895"></a><a class="code" href="classtmudr_1_1ColumnInfo.html#acd91858abc45772d55f3310d789271b4af61516911abc37e459106df016cf7653">00895</a> <a class="code" href="classtmudr_1_1ColumnInfo.html#acd91858abc45772d55f3310d789271b4af61516911abc37e459106df016cf7653">NOT_PRODUCED</a>
+<a name="l00896"></a>00896
+<a name="l00897"></a>00897 };
+<a name="l00898"></a>00898
+<a name="l00899"></a>00899 <a class="code" href="classtmudr_1_1ColumnInfo.html#a12b2dd59f7b6c13008291c3ef03ba7f4">ColumnInfo</a>();
+<a name="l00900"></a>00900 <a class="code" href="classtmudr_1_1ColumnInfo.html#a12b2dd59f7b6c13008291c3ef03ba7f4">ColumnInfo</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *name,
+<a name="l00901"></a>00901 <span class="keyword">const</span> <a class="code" href="classtmudr_1_1TypeInfo.html" title="Data types in the UDR interface.">TypeInfo</a> &type);
+<a name="l00902"></a>00902
+<a name="
<TRUNCATED>
http://git-wip-us.apache.org/repos/asf/incubator-trafodion-site/blob/be8dfc15/apidocs/2.1.0/tmudr_doxygen/html/tab_b.gif
----------------------------------------------------------------------
diff --git a/apidocs/2.1.0/tmudr_doxygen/html/tab_b.gif b/apidocs/2.1.0/tmudr_doxygen/html/tab_b.gif
new file mode 100644
index 0000000..0d62348
Binary files /dev/null and b/apidocs/2.1.0/tmudr_doxygen/html/tab_b.gif differ