public class JoinPrefixUtils extends Object
| Constructor and Description |
|---|
JoinPrefixUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
checkPrefixesForDuplicatesAndShadowing(List<String> prefixes)
Check if any prefixes in the provided list duplicate or shadow each other.
|
static boolean |
isPrefixedBy(String columnName,
String prefix) |
static String |
validatePrefix(String prefix)
Checks that "prefix" is a valid prefix for a join clause (see
JoinableClause.getPrefix()) and, if so,
returns it. |
public static String validatePrefix(@Nullable String prefix)
JoinableClause.getPrefix()) and, if so,
returns it. Otherwise, throws an exception.public static void checkPrefixesForDuplicatesAndShadowing(List<String> prefixes)
prefixes - A mutable list containing the prefixes to check. This list will be sorted by descending
string length.Copyright © 2011–2022 The Apache Software Foundation. All rights reserved.