Apache Calcite's Avatica is a framework for building database drivers.
Avatica is a sub-project of Apache Calcite.
For more details, see the home page.