Getting a column type for result column

Dimitar Nedev dimitar.nedev at monetdbsolutions.com
Sat Oct 3 11:23:48 CEST 2015


Thanks, Niels. If there some more info about how the values map to data types. I am asking this I'm trying to map a BAT to a Java array and need to know the type.

Dimitar

> On 2015-Oct-03, at 09:23, Niels Nes <Niels.Nes at cwi.nl> wrote:
> 
> On Sat, Oct 03, 2015 at 02:33:01AM +0200, Dimitar Nedev wrote:
>> Dear co-developers,
>> 
>> How does one get the type of a column given a 'res_col'. I mean a humanly readable one, in other words get the value that determines the type and how they map to data types.
> A res_col has a sql_subtype. This it self consists of the usual digits
> and scale and a type name.
> 
> Niels
>> 
>> Cheers,
>> Dimitar
> 
> 
> 
>> _______________________________________________
>> developers-list mailing list
>> developers-list at monetdb.org
>> https://www.monetdb.org/mailman/listinfo/developers-list
> 
> 
> --
> Niels Nes, Manager ITF, Centrum Wiskunde & Informatica (CWI)
> Science Park 123, 1098 XG Amsterdam, The Netherlands
> room L3.14,  phone ++31 20 592-4098 	sip:4098 at sip.cwi.nl
> url: https://www.cwi.nl/people/niels	e-mail: Niels.Nes at cwi.nl
> _______________________________________________
> developers-list mailing list
> developers-list at monetdb.org
> https://www.monetdb.org/mailman/listinfo/developers-list

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 842 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://www.monetdb.org/pipermail/developers-list/attachments/20151003/bb723f94/attachment.sig>


More information about the developers-list mailing list