Hi Igniters,

When user run Sql query via JDBC, he can get fields metadata (field names,
its types and etc.) from ResultSet.
With IgniteCache.query method he gets some QueryCursor implementation, but
QueryCursor interface doesn't have any methods for this.

For now, the only way to get metadata is try to cast result to internal
QueryCursorImpl class.

I think it should break nothing if we overload
IgniteCache.query(SqlFieldsQuery q) return type to a new FieldsQueryCursor
interface.
FieldsQueryCursor will be inherits from QueryCursor and provide additional
methods,

Thoughts?

-- 
Best regards,
Andrey V. Mashenkov

Reply via email to