public final class ValidationUtility extends Object
Modifier and Type | Method and Description |
---|---|
static void |
validateSkewedColNames(List<String> colNames,
List<String> skewedColNames)
Skewed column name should be a valid column defined.
|
static void |
validateSkewedColNameValueNumberMatch(List<String> skewedColNames,
List<List<String>> skewedColValues)
Skewed column name and value should match.
|
static void |
validateSkewedColumnNameUniqueness(List<String> names)
Find out duplicate name.
|
static void |
validateSkewedInformation(List<String> colNames,
List<String> skewedColNames,
List<List<String>> skewedColValues)
Validate skewed table information.
|
public static void validateSkewedInformation(List<String> colNames, List<String> skewedColNames, List<List<String>> skewedColValues) throws SemanticException
colNames
- column namesskewedColNames
- skewed column namesskewedColValues
- skewed column valuesSemanticException
public static void validateSkewedColNameValueNumberMatch(List<String> skewedColNames, List<List<String>> skewedColValues) throws SemanticException
skewedColNames
- skewedColValues
- SemanticException
public static void validateSkewedColNames(List<String> colNames, List<String> skewedColNames) throws SemanticException
colNames
- skewedColNames
- SemanticException
public static void validateSkewedColumnNameUniqueness(List<String> names) throws SemanticException
names
- SemanticException
Copyright © 2017 The Apache Software Foundation. All rights reserved.