public class SqlEngines extends Object
| Constructor and Description |
|---|
SqlEngines() |
| Modifier and Type | Method and Description |
|---|---|
static void |
validateNoSpecialContextKeys(QueryContext queryContext,
Set<String> specialContextKeys)
Validates that a provided query context does not have any of the internal, special context keys listed in the
specialContextKeys collection. |
public static void validateNoSpecialContextKeys(QueryContext queryContext, Set<String> specialContextKeys) throws org.apache.calcite.tools.ValidationException
specialContextKeys collection.
Returns quietly if the context is OK; throws ValidationException if there is a problem.
This is a helper function used by SqlEngine.validateContext(org.apache.druid.query.QueryContext) implementations.org.apache.calcite.tools.ValidationExceptionCopyright © 2011–2022 The Apache Software Foundation. All rights reserved.