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

Method parseSchema

src/org/apache/pig/impl/util/Utils.java:244–249  ·  view source on GitHub ↗
(String schemaString)

Source from the content-addressed store, hash-verified

242 }
243
244 public static LogicalSchema parseSchema(String schemaString) throws ParserException {
245 QueryParserDriver queryParser = new QueryParserDriver( new PigContext(),
246 "util", new HashMap<String, String>() ) ;
247 LogicalSchema schema = queryParser.parseSchema(schemaString);
248 return schema;
249 }
250
251 public static Object parseConstant(String constantString) throws ParserException {
252 QueryParserDriver queryParser = new QueryParserDriver( new PigContext(),

Calls 1

parseSchemaMethod · 0.95