Class ImageDirectoryProcessor
java.lang.Object
org.apache.drill.exec.store.image.ImageDirectoryProcessor
Although each image format can contain different metadata,
they also have common basic information. The class handles
basic metadata as well as complex tags.
- See Also:
-
GenericMetadataDirectory
Directory
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected static void
processDirectory
(ImageBatchReader.MapColumnDefn writer, com.drew.metadata.Directory directory, com.drew.metadata.Metadata metadata, ImageFormatConfig config) protected static void
processGenericMetadataDirectory
(GenericMetadataDirectory directory, LinkedHashMap<String, ImageBatchReader.ColumnDefn> genericColumns, ImageFormatConfig config) protected static void
processValue
(ImageBatchReader.MapColumnDefn writer, String name, Object value) Convert the value if necessaryprotected static void
processXmpDirectory
(ImageBatchReader.MapColumnDefn writer, com.drew.metadata.xmp.XmpDirectory directory)
-
Constructor Details
-
ImageDirectoryProcessor
public ImageDirectoryProcessor()
-
-
Method Details
-
processGenericMetadataDirectory
protected static void processGenericMetadataDirectory(GenericMetadataDirectory directory, LinkedHashMap<String, ImageBatchReader.ColumnDefn> genericColumns, ImageFormatConfig config) -
processXmpDirectory
protected static void processXmpDirectory(ImageBatchReader.MapColumnDefn writer, com.drew.metadata.xmp.XmpDirectory directory) -
processDirectory
protected static void processDirectory(ImageBatchReader.MapColumnDefn writer, com.drew.metadata.Directory directory, com.drew.metadata.Metadata metadata, ImageFormatConfig config) -
processValue
protected static void processValue(ImageBatchReader.MapColumnDefn writer, String name, Object value) Convert the value if necessary- Parameters:
writer
- MapColumnDefnname
- Tag Namevalue
- Tag Value- See Also:
-