public final class ProviderCapabilities:
Immutable, machine-readable capability set published by one provider.
Capability validation occurs before a provider opens a connection, file or cursor. This prevents an unsupported plan from failing after partial output.
capabilities = repository.providerCapabilities() assert capabilities.supports(ProviderCapability.FILTERING)
| Modifier and Type | Member | Description |
|---|---|---|
| public readonly property | providerprovider as String |
Stable provider family or dialect name. |
| Modifier and Type | Member | Description |
|---|---|---|
| public | ProviderCapabilitiesProviderCapabilities(
provider as String,
modes as Map<ProviderCapability, ProviderExecutionMode>
): |
Creates an immutable capability set from explicit execution modes. |
| Modifier and Type | Member | Description |
|---|---|---|
| public static | documentdocument(provider as String, indexed as Boolean = false) as ProviderCapabilities: |
Creates the read-only, fully buffered document capability set. |
| public static | memorymemory(provider as String = "memory") as ProviderCapabilities: |
Creates the standard fully local memory-provider capability set. |
| public | modemode(capability as ProviderCapability) as ProviderExecutionMode: |
Returns the declared mode for a capability. |
| public static | nonenone(provider as String = "unknown") as ProviderCapabilities: |
Creates an explicit capability set with no supported operation. |
| public static | sqlsql(
provider as String,
rightJoin as Boolean = true,
fullOuterJoin as Boolean = true
) as ProviderCapabilities: |
Creates the standard relational SQL-provider capability set. |
| public | supportssupports(capability as ProviderCapability) as Boolean: |
Tests whether the provider supports a capability in any execution mode. |
| public | validatevalidate(plan as QueryPlanView) as Void: |
Validates every feature required by a public plan view. |