Getting a column type for result column
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. Cheers, Dimitar
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@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@sip.cwi.nl url: https://www.cwi.nl/people/niels e-mail: Niels.Nes@cwi.nl
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
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@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@sip.cwi.nl url: https://www.cwi.nl/people/niels e-mail: Niels.Nes@cwi.nl _______________________________________________ developers-list mailing list developers-list@monetdb.org https://www.monetdb.org/mailman/listinfo/developers-list
participants (2)
-
Dimitar Nedev
-
Niels Nes