MCPcopy Create free account
hub / github.com/apache/orc / splitName

Method splitName

java/core/src/java/org/apache/orc/impl/ParserUtils.java:244–250  ·  view source on GitHub ↗

Split a compound name into parts separated by '.'. @param source the string to parse into simple names @return a list of simple names from the source

(ParserUtils.StringPosition source)

Source from the content-addressed store, hash-verified

242 * @return a list of simple names from the source
243 */
244 private static List<String> splitName(ParserUtils.StringPosition source) {
245 List<String> result = new ArrayList<>();
246 do {
247 result.add(parseName(source));
248 } while (consumeChar(source, '.'));
249 return result;
250 }
251
252
253 private static final Pattern INTEGER_PATTERN = Pattern.compile("^[0-9]+$");

Callers 2

findColumnMethod · 0.95
findColumnVectorsMethod · 0.95

Calls 3

parseNameMethod · 0.95
consumeCharMethod · 0.95
addMethod · 0.65

Tested by

no test coverage detected