org.hibernate.search.annotations.TikaBridge Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of infinispan-embedded-query
Show all versions of infinispan-embedded-query
Infinispan Embedded Query All-in-One module
The newest version!
/*
* Hibernate Search, full-text search for your domain model
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later
* See the lgpl.txt file in the root directory or .
*/
package org.hibernate.search.annotations;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Defines a bridge for integrating with Apache Tika.
*
* The bridge supports the following data types:
*
* - {@code String} - where the string value is interpreted as a file path
* - {@code URI} - where the URI is interpreted as a resource URI
* - {@code byte[]}
* - {@code java.sql.Blob}
*
*
* @author Hardy Ferentschik
*/
@Retention(RetentionPolicy.RUNTIME)
@Target({ ElementType.FIELD, ElementType.METHOD })
@Documented
public @interface TikaBridge {
/**
* @return Class used for optional Tika metadata pre- and post-processing
*/
Class> metadataProcessor() default void.class;
/**
* @return Class used for optionally providing a Tika parsing context
*/
Class> parseContextProvider() default void.class;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy