On 2019/03/12 12:19:38, [email protected] <[email protected]> 
wrote: 
> Does this make sense in order to add TermFrequencyType objects to 
> termFrequencies?
> 
> termFrequencies.add(
>      new JRecord(
>          new ARecordType("TermFrequencyType", getTermFrequencyFields(), 
> getFieldTypes(), false), 
>          new IJObject[]{ new JString("hello"), new JInt(1) }
>      )
> );
> 
> And have I understood it correctly if I implement getFieldTypes() like this:
> 
> IAType[] getFieldTypes() {
>    return new IAType[]{BuiltinType.ASTRING, BuiltinType.AINT32};
> }
> 
> 
> 

Excuse me, I of course ment which implementation of the IAType interface I 
should use :-)

Reply via email to