use of com.facebook.presto.orc.metadata.OrcType in project presto by prestodb.
the class StripeReader method includeOrcColumnsRecursive.
private static void includeOrcColumnsRecursive(List<OrcType> types, Set<Integer> result, int typeId) {
result.add(typeId);
OrcType type = types.get(typeId);
int children = type.getFieldCount();
for (int i = 0; i < children; ++i) {
includeOrcColumnsRecursive(types, result, type.getFieldTypeIndex(i));
}
}
Aggregations