Package io.higson.runtime.validation
Class TableNameValidator
java.lang.Object
io.higson.runtime.validation.TableNameValidator
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidvalidateTableName(String table) If table name is invalid throws exception with proper message: - Table name is blank - Table name too long [name].
-
Method Details
-
validateTableName
If table name is invalid throws exception with proper message: - Table name is blank - Table name too long [name]. Max length: 128 - Table name is a reserved keyword: [keyword] - Table name contains forbidden character: [name]- Parameters:
table- table name to validate
-