Thank you bryan..

On Fri, Nov 18, 2011 at 2:18 AM, Bryan Duxbury <[email protected]> wrote:

> Thrift does not support referencing arbitrary types from languages and
> libraries. It only supports primitives, Maps, Lists, and Sets.
>
> On Thu, Nov 17, 2011 at 1:58 AM, Sreejith S <[email protected]> wrote:
>
> > Hi ,
> >
> > This is my sample.thrift file
> > namespace java com.test.generated
> >
> > service Extract {
> >  MultiMap extract(1: string text),
> > }
> > The return type of extract function is MultiMap,which is from
> > apache.commons.collections
> >
> > when i run thrift --gen java sample.thrift,
> > since thrift is not ware of MultiMap type and saying Type "MultiMap" has
> > not been defined.
> >
> > How can i make this MultiMap from apache.commons.collection make aware to
> > thrift.
> >
> > --
> >
> >
> > *Sreejith.S*
> > http://srijiths.wordpress.com/
> > * *http://sreejiths.emurse.com/
> >
> > tweet2sree@twitter <http://tweet2Sree>
> >
>



-- 


*Sreejith.S*
http://srijiths.wordpress.com/
* *http://sreejiths.emurse.com/

tweet2sree@twitter <http://tweet2Sree>

Reply via email to