public class PartitionUtils
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static void |
validateFieldExistence(ColumnDTO[] columns,
java.lang.String[] fieldName)
Validates the existence of the partition field in the table.
|
public static void validateFieldExistence(ColumnDTO[] columns, java.lang.String[] fieldName) throws java.lang.IllegalArgumentException
columns
- The columns of the table.fieldName
- The name of the field to validate.java.lang.IllegalArgumentException
- If the field does not exist in the table, this exception is
thrown.