From 19b42986ca9b94569581b44a7f219202fe870c8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20Gr=C3=BCn?= Date: Mon, 26 Oct 2026 22:34:54 +0100 Subject: [PATCH] Update README.md --- README.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/README.md b/README.md index f79d74f..0168a82 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,8 @@ [![Build](https://github.com/nRo/query-compiler/actions/workflows/build.yml/badge.svg)](https://github.com/nRo/query-compiler/actions/workflows/build.yml) [![codecov](https://codecov.io/gh/nRo/query-compiler/branch/master/graph/badge.svg)](https://codecov.io/gh/nRo/query-compiler) +[![Maven Central](https://img.shields.io/maven-central/v/dev.gruen/query-compiler.svg?label=Maven%20Central)](https://central.sonatype.com/artifact/dev.gruen/query-compiler) +[![Javadocs](https://javadoc.io/badge2/dev.gruen/dataframe/javadoc.svg)](https://javadoc.io/doc/dev.gruen/query-compiler) [![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE.txt) A Java library that parses filter queries and turns them into any target object @@ -12,6 +14,8 @@ The grammar is built with [ANTLR 4](https://www.antlr.org/). String ──► ANTLR lexer/parser ──► QueryTree ──► optimizations ──► your creators ──► target object ``` + + Supported query formats: ``` @@ -26,6 +30,23 @@ Term operators: `==`, `!=`, `<`, `<=`, `>`, `>=`, `text`, `regex`, `in`, `!in` Logical operators, from highest to lowest precedence: `AND` (`&`, `&&`), `XOR`, `OR` (`|`, `||`) and `NOR`. Operators of the same level are grouped from left to right; use brackets to override: `(a || b) && c`. +Install +------- + +Add this to your `pom.xml`: + +```xml + +... + + dev.gruen + query-compiler + 0.5.1 + +... + +``` + ## Build Requires JDK 21 or newer.