Menu

Querying Java 2 dimensional Arrays - The ArrayFilter class

The FormattedDataSet has added a utility class for Java 2 dim arrays (Obejct[][]) that allow a developer to query arrays. The class does for arrays what a SQL 'select' statement does for database tables. The API allows a developer to filter by columns and rows. Filtering columns is similar to the list of columns in a select statement and filtering rows is similar to a 'select' statements 'where clause' (i.e column and row filters used together are like the following: 'select col1,col2, col5 from array where col1="jones"and col2>20000'.)

Posted by Steve Souza 2004-06-25

Log in to post a comment.

MongoDB Logo MongoDB