Some SimpleRecordSchema questions

2021-02-26 Thread Greene (US), Geoffrey N
I'm writing a LookupService in Groovy for my ScriptedLookupService. It is, as everyone had suggested, significantly faster than split/merge. I'm really very close to having it working. In fact, it works fine when my is simple; a few strings. My situation, though, is that my service returns a

Re: Some SimpleRecordSchema questions

2021-03-01 Thread Matt Burgess
Geoffrey, In general you won't need to create your own DataType objects, instead you can use the RecordFieldType methods such as RecordFieldType.ARRAY.getArrayDataType(DataType elementType, boolean elementsNullable).getDataType(). So for an array of ints: myRecordFields.add(new RecordField("allMy

RE: [EXTERNAL] Re: Some SimpleRecordSchema questions

2021-03-03 Thread Greene (US), Geoffrey N
s for your help, Matt. -- Geoff -Original Message- From: Matt Burgess [mailto:mattyb...@apache.org] Sent: Monday, March 1, 2021 7:56 PM To: users@nifi.apache.org Subject: [EXTERNAL] Re: Some SimpleRecordSchema questions EXT email: be mindful of links/attachments. Geoffrey, In general