Changeset: ad60892b5422 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=ad60892b5422
Modified Files:
monetdb5/modules/kernel/bat5.mal
Branch: default
Log Message:
Candidates for removal
Simple insert on pairs is dropped
For the others we have to make a decision
diffs (89 lines):
diff --git a/monetdb5/modules/kernel/bat5.mal b/monetdb5/modules/kernel/bat5.mal
--- a/monetdb5/modules/kernel/bat5.mal
+++ b/monetdb5/modules/kernel/bat5.mal
@@ -29,13 +29,13 @@ command mirror(b:bat[:any_1,:any_2]) :ba
address BKCmirror
comment "Returns the head-mirror image of a BAT (two head columns).";
-command insert(b:bat[:oid,:any_1], h:oid, t:any_1) :bat[:oid,:any_1]
-address BKCinsert_bun
-comment "Insert one BUN[h,t] in a BAT.";
-
-command insert(b:bat[:oid,:any_1], h:oid, t:any_1, force:bit) :bat[:oid,:any_1]
-address BKCinsert_bun_force
-comment "Insert one BUN[h,t] in a BAT.";
+#command insert(b:bat[:oid,:any_1], h:oid, t:any_1) :bat[:oid,:any_1]
+#address BKCinsert_bun
+#comment "Insert one BUN[h,t] in a BAT.";
+#
+#command insert(b:bat[:oid,:any_1], h:oid, t:any_1, force:bit)
:bat[:oid,:any_1]
+#address BKCinsert_bun_force
+#comment "Insert one BUN[h,t] in a BAT.";
command replace(b:bat[:oid, :any_1], h:oid, t:any_1) :bat[:oid,:any_1]
address BKCreplace_bun
@@ -49,16 +49,6 @@ command delete(b:bat[:oid, :any_1], h:oi
address BKCdelete_bun
comment "Delete one specific BUN.";
-# END TO BE MADE HEADLESS PLAN
-
-command order(b:bat[:oid,:any_1]) :bat[:oid,:any_1]
-address BKCorder
-comment "Sorts the BAT itself on the head, in place. ";
-
-command orderReverse(b:bat[:oid,:any_1]) :bat[:oid,:any_1]
-address BKCorder_rev
-comment "Reverse sorts the BAT itself on the head, in place. ";
-
command insert(b:bat[:oid,:any_1], src:bat[:oid,:any_1]):bat[:oid,:any_1]
address BKCinsert_bat
comment "Insert all BUNs of the second BAT into the first.";
@@ -75,18 +65,6 @@ command replace(b:bat[:oid, :any_1], src
address BKCreplace_bat_force
comment "Perform replace for all BUNs of the second BAT into the first.";
-command append( i:bat[:oid,:any_1], u:bat[:oid,:any_1] ) :bat[:oid,:any_1]
-address BKCappend_wrap
-comment "append the content of u to i";
-
-command append( i:bat[:oid,:any_1], u:bat[:oid,:any_1], force:bit )
:bat[:oid,:any_1]
-address BKCappend_force_wrap
-comment "append the content of u to i";
-
-command append(i:bat[:oid,:any_1], u:any_1, force:bit):bat[:oid,:any_1]
-address BKCappend_val_force_wrap
-comment "append the value u to i";
-
command inplace( o:bat[:oid,:any_1], id:oid, t:any_1) :bat[:oid,:any_1]
address BKCbun_inplace
comment "Inplace replace values on the given positions";
@@ -115,6 +93,28 @@ command delete(b:bat[:oid, :any_1], src:
address BKCdelete_bat_bun
comment "Delete from the first BAT all BUNs with a corresponding BUN
in the second.";
+# END TO BE MADE HEADLESS PLAN
+
+command order(b:bat[:oid,:any_1]) :bat[:oid,:any_1]
+address BKCorder
+comment "Sorts the BAT itself on the head, in place. ";
+
+command orderReverse(b:bat[:oid,:any_1]) :bat[:oid,:any_1]
+address BKCorder_rev
+comment "Reverse sorts the BAT itself on the head, in place. ";
+
+command append( i:bat[:oid,:any_1], u:bat[:oid,:any_1] ) :bat[:oid,:any_1]
+address BKCappend_wrap
+comment "append the content of u to i";
+
+command append( i:bat[:oid,:any_1], u:bat[:oid,:any_1], force:bit )
:bat[:oid,:any_1]
+address BKCappend_force_wrap
+comment "append the content of u to i";
+
+command append(i:bat[:oid,:any_1], u:any_1, force:bit):bat[:oid,:any_1]
+address BKCappend_val_force_wrap
+comment "append the value u to i";
+
command getAlpha(b:bat[:oid,:any_1]) :bat[:oid,:any_1]
address BKCgetAlpha
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list