This Java library provides a basic implementation of the java.util.Comparator interface for delimited flat file records.

The compare method assumes String arguments which are tokenized. These tokens represent the individual columns that are to be sorted based on rules that are injected prior to execution.

The data structure of the file is also defined prior to execution.

This implementation sorts the following column data types:

- java.lang.String
- java.Math.BigInteger
- java.Math.BigDecimal
- org.joda.time.DateTime

Columns are sorted based on specified attributes, some of which are type specific. For example:

- Treat Null as Low Sort Order (boolean)
- Ascending Order (boolean)
- DateTime Pattern (String)
- BigDecimal Scale (integer)

... and others

Project Activity

See All Activity >

Follow Multi-Column Row Comparator

Multi-Column Row Comparator Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Multi-Column Row Comparator!

Additional Project Details

Registered

2013-12-22