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
Auth0 B2B Essentials: SSO, MFA, and RBAC Built In Icon
Auth0 B2B Essentials: SSO, MFA, and RBAC Built In

Unlimited organizations, 3 enterprise SSO connections, role-based access control, and pro MFA included. Dev and prod tenants out of the box.

Auth0's B2B Essentials plan gives you everything you need to ship secure multi-tenant apps. Unlimited orgs, enterprise SSO, RBAC, audit log streaming, and higher auth and API limits included. Add on M2M tokens, enterprise MFA, or additional SSO connections as you scale.
Sign Up 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