public class LookupUtils extends Object
Constructor and Description |
---|
LookupUtils() |
Modifier and Type | Method and Description |
---|---|
static int |
fileKibiBytes(File file) |
static <T> T |
lookup(Comparator<InternalRow> keyComparator,
InternalRow target,
SortedRun level,
BiFunctionWithIOE<InternalRow,DataFileMeta,T> lookup) |
static <T> T |
lookup(Levels levels,
InternalRow key,
int startLevel,
BiFunctionWithIOE<InternalRow,SortedRun,T> lookup,
BiFunctionWithIOE<InternalRow,TreeSet<DataFileMeta>,T> level0Lookup) |
static <T> T |
lookupLevel0(Comparator<InternalRow> keyComparator,
InternalRow target,
TreeSet<DataFileMeta> level0,
BiFunctionWithIOE<InternalRow,DataFileMeta,T> lookup) |
public static <T> T lookup(Levels levels, InternalRow key, int startLevel, BiFunctionWithIOE<InternalRow,SortedRun,T> lookup, BiFunctionWithIOE<InternalRow,TreeSet<DataFileMeta>,T> level0Lookup) throws IOException
IOException
public static <T> T lookupLevel0(Comparator<InternalRow> keyComparator, InternalRow target, TreeSet<DataFileMeta> level0, BiFunctionWithIOE<InternalRow,DataFileMeta,T> lookup) throws IOException
IOException
public static <T> T lookup(Comparator<InternalRow> keyComparator, InternalRow target, SortedRun level, BiFunctionWithIOE<InternalRow,DataFileMeta,T> lookup) throws IOException
IOException
public static int fileKibiBytes(File file)
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.