Hello Ilya Can you provide some links/examples on how to use ignite.binary().type(field-name)? thanks.
On Thu, Mar 12, 2020 at 10:31 AM Ilya Kasnacheev <[email protected]> wrote: > Hello! > > I don't think there is any utility, but you can use > ignite.binary().type(string) to clarify field types. > > Regards, > -- > Ilya Kasnacheev > > > чт, 12 мар. 2020 г. в 18:05, narges saleh <[email protected]>: > >> Thanks Ilya. >> >> Is there any utility that returns the (java) field types for the query >> entity defined caches? I don't want to have to map jdbc types to java types. >> >> On Thu, Mar 12, 2020 at 6:41 AM Ilya Kasnacheev < >> [email protected]> wrote: >> >>> Hello! >>> >>> You can use JDBC's DatabaseMetaData for that. >>> >>> Please see >>> https://docs.oracle.com/javase/8/docs/api/java/sql/DatabaseMetaData.html >>> >>> Regards, >>> -- >>> Ilya Kasnacheev >>> >>> >>> чт, 12 мар. 2020 г. в 05:49, narges saleh <[email protected]>: >>> >>>> Hi All, >>>> >>>> How would one extract, programmatically, the metadata for the >>>> fields/columns for a cache/table? I want to get the field names along with >>>> the data type for each field, say, for example, if the table is defined via >>>> queryentity or SQL/JDBC. >>>> >>>> thanks. >>>> >>>
