Hi John,

Thanks a lot for your answers to my previous questions.  They have been very
helpful.   I have another quick question.   When I do a select query on the
table,   I use the following:

ibis::whereClause wc(wstr);
ibis::table *sel1 = tbl->select(sstr, wc.getExpr()->dup());

And then I access the retrieved data by calling

sel1->getColumnAsBytes(colName, array);

to get the data out as arrays.

I get the colName from calling:

ibis::table::stringList col = sel1->columnNames();

and then iterating through the list.  However, the columnNames function
returns the columns in table order, not in the order that was specified in
the select clause.

How can I get the columnNames in the order they are specified in the select
clause?

I'm trying to instantiate an

ibis::selectClause sc(sstr); and then use the describe function to get the
name.  Is this the best bet?

Regards,

Teryl
_______________________________________________
FastBit-users mailing list
[email protected]
https://hpcrdm.lbl.gov/cgi-bin/mailman/listinfo/fastbit-users

Reply via email to