/** * Gets the blob paths of the document type. Extractor properties are ignored. * * @param documentType the document type * @return the list of blob paths * * @since 8.3 */ public List<String> getBlobPaths(DocumentType documentType) { String docType = documentType.getName(); List<String> paths = docBlobPaths.get(docType); if (paths == null) { paths = new ArrayList<>(); for (Schema schema : documentType.getSchemas()) { findBlobPaths(schema, null, schema, paths); } docBlobPaths.put(docType, paths); } return paths; }
Type fieldType = ((ListType) type).getFieldType(); if (fieldType.isComplexType()) { findBlobPaths((ComplexType) fieldType, fieldPath + "/*", schema, paths); } else { continue; // not binary text findBlobPaths(ctype, fieldPath, schema, paths);