简体   繁体   中英

how to import .CSV file into Drools

I am new to using Drools Rule Engine and have downloaded the 6.2.0.Final zip and all the other files to allow the Rule engine to work. However, my first issue is that where are the examples kept in order to see how the Rules engine actually functions, and secondly how would i be able to import a CSV file into Eclipse which can then be read, and then generate a new CSV file as an output? or if there are examples available, where could i find them? i have looked everywhere and have had no luck,

thanks

You can't use CSV file but you can use XLS file this will work fine.

For Adding decision table - After creating drools project in Eclipse just right click on src/main/resources/rules -> New -> other -> DecisionTable -> Next -> provide a name -> Finish.

This will create a new Decision table with example in it.

If you are facing issues while creating Drools project in Eclipse then follow - link section 6.1.3.

If you are facing issues in configuring drools rule engine with eclipse then follow - link .

To configure Drools runtime follow - link

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM