public class RuntimeContextUtils extends Object
Constructor and Description |
---|
RuntimeContextUtils() |
Modifier and Type | Method and Description |
---|---|
static Integer |
getIndexOfThisSubtask(org.apache.flink.table.functions.FunctionContext context) |
static int |
getIndexOfThisSubtask(org.apache.flink.api.common.functions.RuntimeContext context) |
static Integer |
getNumberOfParallelSubtasks(org.apache.flink.table.functions.FunctionContext context) |
static int |
getNumberOfParallelSubtasks(org.apache.flink.api.common.functions.RuntimeContext context) |
static boolean |
preferCustomShuffle(org.apache.flink.table.connector.source.LookupTableSource.LookupContext context) |
public static int getNumberOfParallelSubtasks(org.apache.flink.api.common.functions.RuntimeContext context)
public static int getIndexOfThisSubtask(org.apache.flink.api.common.functions.RuntimeContext context)
@Nullable public static Integer getNumberOfParallelSubtasks(org.apache.flink.table.functions.FunctionContext context)
@Nullable public static Integer getIndexOfThisSubtask(org.apache.flink.table.functions.FunctionContext context)
public static boolean preferCustomShuffle(org.apache.flink.table.connector.source.LookupTableSource.LookupContext context)
Copyright © 2023–2025 The Apache Software Foundation. All rights reserved.