Due to recent updates, all users are required to create an Altair One account to login to the RapidMiner community. Click the Register button to create your account using the same email that you have previously used to login to the RapidMiner community. This will ensure that any previously created content will be synced to your Altair One account. Once you login, you will be asked to provide a username that identifies you to other Community users. Email us at Community with questions.
[SOLVED]EntrySet is not supported by Example
Hi there
I have a project for add a operator to RM, Recently, I use the iterator for deal with 'example'. like:
SEVERE: Process failed: operator cannot be executed (EntrySet is not supported by Example.). Check the log messages...
java.lang.UnsupportedOperationException: EntrySet is not supported by Example.
but, example is a type of Map<String, Object> ?
Could you help me?
Thanks a lot.
Jiang
I have a project for add a operator to RM, Recently, I use the iterator for deal with 'example'. like:
but once I execute my operator, a report of bug will be shown:
public Reader(Example example) {
this.example = example.entrySet().iterator();
}
SEVERE: Process failed: operator cannot be executed (EntrySet is not supported by Example.). Check the log messages...
java.lang.UnsupportedOperationException: EntrySet is not supported by Example.
but, example is a type of Map<String, Object> ?
Could you help me?
Thanks a lot.
Jiang
Tagged:
0
Answers
as you can see in the Example.java class, not every operation from the parent class is supported. You can iterate over all values from an example via Regards,
Marco