ParserUtility.validateQuery(String query) 方法

public static void validateQuery(String query)

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

参数

query
String

query to be validated

例外

IllegalArgumentException

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

适用于