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
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

Build gen AI apps with an all-in-one modern database: MongoDB Atlas

MongoDB Atlas provides built-in vector search and a flexible document model so developers can build, scale, and run gen AI apps without stitching together multiple databases. From LLM integration to semantic search, Atlas simplifies your AI architecture—and it’s free to get started.
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