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
Forever Free Full-Stack Observability | Grafana Cloud Icon
Forever Free Full-Stack Observability | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
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