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
Keep company data safe with Chrome Enterprise Icon
Keep company data safe with Chrome Enterprise

Protect your business with AI policies and data loss prevention in the browser

Make AI work your way with Chrome Enterprise. Block unapproved sites and set custom data controls that align with your company's policies.
Download Chrome
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