Available binary functions
Hi all, I'm just wondering what kind of binary functions MonetDB comes with standard? I'm specifically looking for a function to convert a smallint/int/bigint into a byte array (either big or little endian), concat several byte arrays into a single byte array and encode a byte array as a hex string. Do any such functions exist or do I need to write them myself in C? Best regards, Dennis Pallett
Hai Dennis,
As far as I'm aware of, no such function exists in MonetDB. You need to implement your own UDF.
With kind regards,
Jennie
On Aug 27, 2014, at 17:23, Dennis Pallett
Hi all,
I'm just wondering what kind of binary functions MonetDB comes with standard?
I'm specifically looking for a function to convert a smallint/int/bigint into a byte array (either big or little endian), concat several byte arrays into a single byte array and encode a byte array as a hex string. Do any such functions exist or do I need to write them myself in C?
Best regards, Dennis Pallett _______________________________________________ users-list mailing list users-list@monetdb.org https://www.monetdb.org/mailman/listinfo/users-list
Hi Jennie, Thank you for your reply. I have implemented my own UDF and it works perfectly :) Best regards, Dennis On 28-8-2014 10:35, Ying Zhang wrote:
Hai Dennis,
As far as I'm aware of, no such function exists in MonetDB. You need to implement your own UDF.
With kind regards,
Jennie
On Aug 27, 2014, at 17:23, Dennis Pallett
wrote: Hi all,
I'm just wondering what kind of binary functions MonetDB comes with standard?
I'm specifically looking for a function to convert a smallint/int/bigint into a byte array (either big or little endian), concat several byte arrays into a single byte array and encode a byte array as a hex string. Do any such functions exist or do I need to write them myself in C?
Best regards, Dennis Pallett _______________________________________________ users-list mailing list users-list@monetdb.org https://www.monetdb.org/mailman/listinfo/users-list
users-list mailing list users-list@monetdb.org https://www.monetdb.org/mailman/listinfo/users-list
participants (2)
-
Dennis Pallett
-
Ying Zhang