public class AsyncUtil extends Object
AsyncScalarFunction
.Modifier and Type | Class and Description |
---|---|
static class |
AsyncUtil.Options
Options for configuring async behavior.
|
Constructor and Description |
---|
AsyncUtil() |
Modifier and Type | Method and Description |
---|---|
static boolean |
containsAsyncCall(org.apache.calcite.rex.RexNode node)
Checks whether it contains the specified kind of async function call in the specified node.
|
static boolean |
containsNonAsyncCall(org.apache.calcite.rex.RexNode node)
Checks whether it contains non-async function call in the specified node.
|
static AsyncUtil.Options |
getAsyncOptions(ExecNodeConfig config)
Gets the options required to run the operator.
|
static boolean |
isAsyncCall(org.apache.calcite.rex.RexNode node)
Checks whether the specified node is the specified kind of async function call.
|
static boolean |
isNonAsyncCall(org.apache.calcite.rex.RexNode node)
Checks whether the specified node is a non-async function call.
|
public static boolean containsAsyncCall(org.apache.calcite.rex.RexNode node)
node
- the RexNode to checkpublic static boolean containsNonAsyncCall(org.apache.calcite.rex.RexNode node)
node
- the RexNode to checkpublic static boolean isAsyncCall(org.apache.calcite.rex.RexNode node)
node
- the RexNode to checkpublic static boolean isNonAsyncCall(org.apache.calcite.rex.RexNode node)
node
- the RexNode to checkpublic static AsyncUtil.Options getAsyncOptions(ExecNodeConfig config)
config
- The config from which to fetch the optionsCopyright © 2014–2024 The Apache Software Foundation. All rights reserved.