MCPcopy Create free account
hub / github.com/apache/pig / removeQuotes

Method removeQuotes

src/org/apache/pig/parser/QueryParserUtils.java:56–61  ·  view source on GitHub ↗
(String str)

Source from the content-addressed store, hash-verified

54public class QueryParserUtils {
55
56 public static String removeQuotes(String str) {
57 if (str.startsWith("\u005c'") && str.endsWith("\u005c'"))
58 return str.substring(1, str.length() - 1);
59 else
60 return str;
61 }
62
63 public static void attachStorePlan(String scope, LogicalPlan lp, String fileName, String func,
64 Operator input, String alias, PigContext pigContext) throws FrontendException {

Callers 2

macroImportMethod · 0.95
attachStorePlanMethod · 0.95

Calls 1

lengthMethod · 0.80

Tested by

no test coverage detected