is there any way to port this code to broker 7 ESQL?? the main problem we find is that it seems that broker doesn't have something like the java << operator.
If there's a way to port this java code, and in your experience will the resultant code improve the performance of the system or it'll be like calling the java function from ESQL??
Posted: Thu May 26, 2011 9:59 pm Post subject: Re: broker 7 function or operator similar to java << o
Grand Master
Joined: 25 Jun 2008 Posts: 1415
Please use [code] tags when posting code; it's much easier to read.
KrotaZ wrote:
is there any way to port this code to broker 7 ESQL??
This should do:
Code:
bytes = CAST(cadenaBinHex AS BLOB);
Another approach is to use a combination of BLOBs, BITs, CASTs, CASE statement/function, the string operator and/or string manipulation functions to emulate bit operations, but that seems a bit messier.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum