public class ColumnNameValidator extends Object implements Validator<String>
Following are the checks that this validator performs on the column.
| Constructor and Description |
|---|
ColumnNameValidator() |
| Modifier and Type | Method and Description |
|---|---|
void |
initialize()
Initializes this validator.
|
void |
validate(String name)
Validates the T properties.
|
public void initialize()
throws Exception
initialize in interface Validator<String>Exception - thrown when reserved words file is not accessible.public void validate(String name) throws ValidatorException
validate in interface Validator<String>name - to be validated.ValidatorException - thrown when there are issues with validation.Copyright © 2020 CDAP Licensed under the Apache License, Version 2.0.