Question: PLEASE WRITE A FUNCTION OR METHOD FOR FILTER! DO IT AS SOON AS POSSIBLE! iN JAVA LANGUAGE!! 5. Filter entities (30 points) a. Based on

 PLEASE WRITE A FUNCTION OR METHOD FOR FILTER! DO IT AS

PLEASE WRITE A FUNCTION OR METHOD FOR FILTER! DO IT AS SOON AS POSSIBLE! iN JAVA LANGUAGE!!

5. Filter entities (30 points) a. Based on any given field or set of fields and according to some rules: b. string fields i. starts with ii. ends with iii. contains iv. null c. date, time, and numeric fields i. equal (eq) ii. greater than (gt) iii. less than (lt) iv. greater and equal to (ge) v. less and equal to (le) vi. between (bt) vii. null d. date and time i. in a specific year (y) CSCI 1202 - Programming Principles II Fall / 2021-22 ii. in a specific month (m) iii. in a specific day (d) e. [IF you take clustld as a Boolean value (i.e., is high fatality] i. Equal (eq) [true or false) f. Examples: i. select all the crashes happened in 1962 which has death rate (opposite of survival Rate) greater than 50%. ii. select all the crashes happened any time in 20:00 - 00:00 by operator Aeroflot iii. select all the crashes happened in Cameroon iv. select all the crashes which caused more than 20 dead on the ground 5. Filter entities (30 points) a. Based on any given field or set of fields and according to some rules: b. string fields i. starts with ii. ends with iii. contains iv. null c. date, time, and numeric fields i. equal (eq) ii. greater than (gt) iii. less than (lt) iv. greater and equal to (ge) v. less and equal to (le) vi. between (bt) vii. null d. date and time i. in a specific year (y) CSCI 1202 - Programming Principles II Fall / 2021-22 ii. in a specific month (m) iii. in a specific day (d) e. [IF you take clustld as a Boolean value (i.e., is high fatality] i. Equal (eq) [true or false) f. Examples: i. select all the crashes happened in 1962 which has death rate (opposite of survival Rate) greater than 50%. ii. select all the crashes happened any time in 20:00 - 00:00 by operator Aeroflot iii. select all the crashes happened in Cameroon iv. select all the crashes which caused more than 20 dead on the ground

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!