SIS - Application Programmatic Interface, Reference Manual - ICS ...
SIS - Application Programmatic Interface, Reference Manual - ICS ...
SIS - Application Programmatic Interface, Reference Manual - ICS ...
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
<strong>SIS</strong>-<strong>Application</strong> <strong>Programmatic</strong> <strong>Interface</strong>, <strong>Reference</strong> <strong>Manual</strong><br />
int tuple_set_join_pos(int sessionID, int set_id, int x, int y)<br />
Marks the column x as the column of the tuple set_id to be joined to the<br />
column y of the candidate tuple to joined with by tuple_join() function.<br />
int tuple_reset_join_pos(int sessionID, int set_id)<br />
Resets the marked column positions of the tuple set_id that where set by<br />
tuple_set_join_pos() function.<br />
int tuple_join(int sessionID, int set_id1, int set_id2)<br />
Forms the join of the tuple set_id1 that also holds the marked tuple’s column<br />
position information (set by tuple_set_join_pos()) with the tuple set_id2.<br />
int tuple_union(int sessionID, int set_id1, int set_id2)<br />
Forms the union of the tuple set_id1 with the tuple set_id2.<br />
int tuple_difference(int sessionID, int set_id1, int set_id2)<br />
Forms the difference of the tuple set_id1 with the tuple set_id2.<br />
int tuple_no_projection_column(int sessionID, int set_id, int x)<br />
Hides the column x from tuple set_id connecting accordingly the<br />
"surrounding" tuples.<br />
int return_tuple(int sessionID, int set_id, cm_value *cmv)<br />
Each time this function is called it returns the next item in the given tuple in<br />
cmv. If the current tuple position is empty cmv will be undefined and will have<br />
the tag TYPE_EMPTY. It returns END_OF_TUPLE if the end of the tuple was<br />
reached or END_OF_FIELD if the end of the current field was reached.<br />
int return_relation(int sessionID, int from_set ,int categ_set, int to_set)<br />
This function is not implemented yet.<br />
int unary_on_tuple(int sessionID, int set_id)<br />
This function is not implemented yet.<br />
6.7 Update Functions<br />
The API provides a set of functions used to make updates in the Database. The<br />
operations that can be performed are:<br />
• Addition operations<br />
• Deletion operations<br />
• Modification operations<br />
A difference between the update functions and the rest of the API is that they do not<br />
require a current node to work on. Also the concept of the IDENTIFIER is used. An<br />
IDENTIFIER is a structure that can hold either a logical name (char *) or a system<br />
identifier (int). The type of the IDENTIFIER is given by a tag. Most functions work<br />
August 2002/v2.2.2 -37- <strong>ICS</strong>-FORTH