@Internal public final class LookupJoinUtil extends Object
LookupTableSource
.Modifier and Type | Class and Description |
---|---|
static class |
LookupJoinUtil.ConstantLookupKey
A
LookupJoinUtil.LookupKey whose value is constant. |
static class |
LookupJoinUtil.FieldRefLookupKey
A
LookupJoinUtil.LookupKey whose value comes from the left table field. |
static class |
LookupJoinUtil.LookupKey
A field used as an equal condition when querying content from a dimension table.
|
Modifier and Type | Method and Description |
---|---|
static UserDefinedFunction |
getLookupFunction(org.apache.calcite.plan.RelOptTable temporalTable,
Collection<Integer> lookupKeys)
Gets LookupFunction from temporal table according to the given lookup keys.
|
static int[] |
getOrderedLookupKeys(Collection<Integer> allLookupKeys)
Gets lookup keys sorted by index in ascending order.
|
public static int[] getOrderedLookupKeys(Collection<Integer> allLookupKeys)
public static UserDefinedFunction getLookupFunction(org.apache.calcite.plan.RelOptTable temporalTable, Collection<Integer> lookupKeys)
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.