Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 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 groundStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started