12.4. Record Processors¶
Record-based processors (PutGeoMesa*Record
) accept the following configuration parameters for specifying the
input source. Each datastore-specific processor also has additional parameters for connecting to the datastore,
detailed in the following sections.
Property |
Description |
---|---|
|
The Record Reader to use for deserializing the incoming data |
|
Name to use for the simple feature type schema. If not specified, will use the name from the record schema |
|
Column that will be used as the feature ID. If not specified, a random ID will be used |
|
Column(s) that will be deserialized as geometries, and their type, as a
SimpleFeatureType specification string (e.g. |
|
The format to use for serializing/deserializing geometries, either WKT or WKB |
|
Column(s) that contain valid JSON documents, comma-separated (must be STRING type columns) |
|
Column to use as the default date attribute (must be a DATE or TIMESTAMP type column) |
|
Column to use for feature visibilities (see Data Security) |
|
User data used to configure the GeoMesa SimpleFeatureType, in the form ‘key1=value1,key2=value2’ |
12.4.1. GeoAvroRecordSetWriterFactory¶
GeoMesa also provides a record writer that can be used to produce GeoAvro files from any NiFi processor that supports record-based output. The writer factory uses the same properties detailed above.