Modifier and Type | Method and Description |
---|---|
static boolean |
isDdlKeyword(String identifier)
Returns whether the identifier is a DDL keyword or not.
|
static String |
quoteIdentifier(String identifier)
Returns the valid identifier token in Hive DDL.
|
static String |
quoteLiteral(char quote,
String string)
Returns the quoted string literal.
|
public static boolean isDdlKeyword(String identifier)
identifier
- the target identifiertrue
if the identifier is one of DDL keyword, otherwise false
public static String quoteIdentifier(String identifier)
identifier
- the bare identifierCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.