thrift-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jools <jool...@gmail.com>
Subject Re: Reflecting in Java
Date Fri, 09 Dec 2011 10:02:22 GMT
Thrift adds meta data to the generated class, giving details of the type,
name and any constraints (required, for example).

Have a look at the generated class in an editor, it's pretty clear and
straightforward.

--Jools

On 9 December 2011 09:01, rektide <rektide@voodoowarez.com> wrote:

> Hi,
>
> I'm looking to do some reflection on ThriftTypes. My hope is that from a
> .thrift file in
> Java, there's some relatively straightforward path to pulling out the
> data-type for any
> given field (picked by name).  What's the starting point for this; how can
> I load in a
> .thrift file?
>
> Regards,
> rektide
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message