flomickl opened a new issue, #1243:
URL: https://github.com/apache/streampipes/issues/1243
Hi,
I had a look at the domainProperty entry in the event schema.
It is stored as a ArrayList, but most methods creates it as a simple String
URI entry.
In the required Stream process, you can only ask for single String
domainProperty in the methods
https://cwiki.apache.org/confluence/x/i5NbDg
In the EventPropertyBuilder it is also just a single String
https://cwiki.apache.org/confluence/display/STREAMPIPES/01+Data+in+StreamPipes+%7C+Event+Properties#id-01DatainStreamPipes|EventProperties-EventPropertiyPrimitiveBuilder
But some methods in the EpProperty have a List<Uri> Options
https://cwiki.apache.org/confluence/display/STREAMPIPES/01+Data+in+StreamPipes+%7C+Event+Properties#id-01DatainStreamPipes|EventProperties-EpProperty
It is intended to use multiple domainProperties?
An Example in the Geo Processors.
An Event can be a Geometry domain
but also be a Point
So I would like to add geometry and point as a vocabulary
If I have a processor, that asked for a geometry, I still can use it.
But if I have a processor that requires a Point, it is also valid
Although, you need then another method to read the ArrayList as well?
I think there are also some other examples not related to geo ;)
_Originally posted by @flomickl in
https://github.com/apache/streampipes/discussions/1185_
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]