Apache.Calcite.Extensions 1.0.2

dotnet add package Apache.Calcite.Extensions --version 1.0.2
                    
NuGet\Install-Package Apache.Calcite.Extensions -Version 1.0.2
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Apache.Calcite.Extensions" Version="1.0.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Apache.Calcite.Extensions" Version="1.0.2" />
                    
Directory.Packages.props
<PackageReference Include="Apache.Calcite.Extensions" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Apache.Calcite.Extensions --version 1.0.2
                    
#r "nuget: Apache.Calcite.Extensions, 1.0.2"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Apache.Calcite.Extensions@1.0.2
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Apache.Calcite.Extensions&version=1.0.2
                    
Install as a Cake Addin
#tool nuget:?package=Apache.Calcite.Extensions&version=1.0.2
                    
Install as a Cake Tool

Apache.Calcite.Extensions

NuGet

Apache.Calcite.Extensions provides .NET-friendly helper and interop types for working with Apache Calcite via IKVM. It bridges the gap between the Java-oriented Calcite configuration API and idiomatic .NET code.

This package is used internally by Apache.Calcite.Data and Apache.Calcite.Adapter.AdoNet. Reference it directly when you need typed access to Calcite connection properties from your own code.

Install

dotnet add package Apache.Calcite.Extensions

Key types

CalciteConnectionProperties

Provides strongly-typed .NET properties over a Calcite java.util.Properties map. Instead of reading and writing raw string keys, you get compile-time-checked access to every Calcite connection option:

using Apache.Calcite.Data;
using java.util;
using org.apache.calcite.avatica.util;

var props = new CalciteConnectionProperties();

// Typed setters — no magic strings needed.
props.Lex                  = Lex.MYSQL_ANSI;
props.CaseSensitive        = false;
props.DefaultNullCollation = NullCollation.LOW;
props.Fun                  = "oracle,spatial";
props.TimeZone             = "UTC";
props.ForceDecorrelate     = true;
props.MaterializationsEnabled = false;

Available properties mirror every CalciteConnectionProperty enum value:

Property Type Default Description
Model string URI or inline JSON model.
Schema string Default schema name.
CaseSensitive bool true Case-sensitive identifier matching.
Lex Lex ORACLE Lexical policy (ORACLE, MYSQL, MYSQL_ANSI, SQL_SERVER, JAVA, BIG_QUERY).
Quoting Quoting from Lex Identifier quote character.
QuotedCasing Casing? from Lex Storage of quoted identifiers.
UnquotedCasing Casing? from Lex Storage of unquoted identifiers.
Fun string standard Function libraries, e.g. oracle,spatial.
Conformance SqlConformanceEnum DEFAULT SQL conformance level.
DefaultNullCollation NullCollation HIGH NULL sort order when NULLS FIRST/LAST is omitted.
TimeZone string JVM default Session time zone.
Locale string JVM default Session locale.
ForceDecorrelate bool true Aggressive subquery de-correlation.
MaterializationsEnabled bool false Use materializations in the planner.
TypeCoercion bool true Implicit type coercion during validation.
ApproximateDecimal bool false Allow approximate DECIMAL aggregate results.
ApproximateDistinctCount bool false Allow approximate COUNT(DISTINCT ...).
ApproximateTopN bool false Allow approximate Top-N results.
Spark bool false Use Spark as the in-process execution engine.
TopdownOpt bool false Enable top-down optimization in the Volcano planner.
LenientOperatorLookup bool false Silently create unknown functions during parsing.
SchemaFactory string Schema factory class name (when not using a model).
SchemaType string MAP Schema type: MAP, JDBC, or CUSTOM.
ParserFactory string Custom SQL parser factory.
TypeSystem string Type system class name.

CalciteConnectionPropertiesSchemaMap

Exposes the schema.*-prefixed sub-properties of a CalciteConnectionProperties instance as a typed dictionary, making it easy to pass operand values to a custom schema factory:

var props = new CalciteConnectionProperties();
props.SchemaProperties["directory"] = "data/csv";
props.SchemaProperties["flavor"]    = "scannable";
Package Purpose
Apache.Calcite.Data Core ADO.NET provider for Apache Calcite.
Apache.Calcite.Adapter.AdoNet Federated ADO.NET adapter for Calcite.

Further reading

License

Apache License 2.0.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.2 86 5/28/2026
1.0.1 85 5/26/2026
1.0.0 78 5/26/2026
0.0.4 129 1/29/2026