Diploma Thesis Santiago Gómez Sáez - IAAS
Diploma Thesis Santiago Gómez Sáez - IAAS
Diploma Thesis Santiago Gómez Sáez - IAAS
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
B.1. Normalized Message Format Content Description<br />
68 if source is sql<br />
69 - src_main_info_structure_name : string<br />
70 - target_main_info_structure_name : string<br />
71 if source is nosql<br />
72 - src_main_info_structure_name : string<br />
73 - target_main_info_structure_name : string<br />
74 - src_secondary_info_structure_name : string<br />
75 - target_secondary_info_structure_name : string<br />
76<br />
77 // Attachment<br />
78 - if target_op_status == error<br />
79 - target_op_error : vector // map of error code and<br />
80 else<br />
81<br />
82<br />
error message per backend db<br />
83 - if source protocol == mysql<br />
84<br />
85 - vector // result sets are<br />
86<br />
inserted as arraylist in the body<br />
87 - ResultSetMetadata: Vector<br />
88 - columncount : int // number of columns in this ResultSet<br />
object.<br />
89 - columntype : arraylist // the designated column’s SQL type.<br />
90 - isnullable : arraylist // if the column can contain null<br />
values<br />
91 - isAutoIncrement : arraylist // if the column values<br />
increment when the rows do<br />
92 - tableName : arraylist // name of the table where a<br />
column is contained<br />
93 - stringcolumnlabel : arraylist // label which sql proposes<br />
for printing reasons<br />
94 - stringcolumnname : arraylist // column name<br />
95 - ColumnDisplaySize : arraylist // Indicates the designated<br />
column’s normal maximum width in characters.<br />
96 - Scale : arraylist // column’s number of digits to right<br />
of the decimal point<br />
97 - RowCount : int // number of rows<br />
98 - ColumnMapper : Hashmap (column index, name) // mapping of the<br />
column index with the column name<br />
99 - ColumnSigned : arraylist // if the values of the columns<br />
100 else<br />
101 - versionControl<br />
102 - nosql metadata<br />
are signed or unsigned<br />
103 - nosql JSON payload<br />
104<br />
105 ////////////////////////////////////////////////////////////////////////<br />
106<br />
107 Note: response to the user -> distributed atomic transaction mechanism used. If one of<br />
the backend datasources reports an error as a response, the final response to the<br />
tenant is an error response:<br />
108<br />
109 - Error response: string of the error + the datasource/s which gave the error.<br />
97