This repository contains common parts for Virtual Schema adapters for document data sources.
This Virtual Schema adapter supports pushing-down certain filters from the WHERE
clause to the data source. Which filters are supported specifically depends on the dialect.
When pushing down LIKE
expressions this adapter only supports \
as escape character.
If you specify a different escape character like in the following example the Virtual Schema will throw an Exception.
SELECT * FROM FAMILY WHERE NAME LIKE 'T?' ESCAPE ':';
If you specify a different escape character by setting DEFAULT_LIKE_ESCAPE_CHARACTER
the Virtual Schema will ignore it and still use \
.
You can use this repository as a basis for developing a custom Virtual Schema for document data.
Integration tests require a JDK 17 for building a mock adapter project. Please set one of the following environment variables pointing to a JDK 17 home:
JAVA17_HOME
JAVA_HOME_17_X64