ParserUtility.validateQuery(String query) 方法

定义

Validates if query contains select and from keywords and also if it is a valid utf-8 string

public static void validateQuery(String query)

参数

query
String

query to be validated

例外

IllegalArgumentException

if query does not contain "select" or "from" or is not a valid utf-8 string

适用于