Class HibernateSearchPropertyHelper.SearchFieldIndexingMetadata

java.lang.Object
org.infinispan.query.dsl.embedded.impl.HibernateSearchPropertyHelper.SearchFieldIndexingMetadata
All Implemented Interfaces:
org.infinispan.query.objectfilter.impl.syntax.IndexedFieldProvider.FieldIndexingMetadata<Class<?>>
Enclosing class:
HibernateSearchPropertyHelper

public static final class HibernateSearchPropertyHelper.SearchFieldIndexingMetadata extends Object implements org.infinispan.query.objectfilter.impl.syntax.IndexedFieldProvider.FieldIndexingMetadata<Class<?>>
  • Constructor Details

    • SearchFieldIndexingMetadata

      public SearchFieldIndexingMetadata(org.hibernate.search.engine.backend.metamodel.IndexDescriptor indexDescriptor)
  • Method Details

    • hasProperty

      public boolean hasProperty(String[] propertyPath)
      Specified by:
      hasProperty in interface org.infinispan.query.objectfilter.impl.syntax.IndexedFieldProvider.FieldIndexingMetadata<Class<?>>
    • isSearchable

      public boolean isSearchable(String[] propertyPath)
      Description copied from interface: org.infinispan.query.objectfilter.impl.syntax.IndexedFieldProvider.FieldIndexingMetadata
      Checks if the property of the indexed entity is indexed.
      Specified by:
      isSearchable in interface org.infinispan.query.objectfilter.impl.syntax.IndexedFieldProvider.FieldIndexingMetadata<Class<?>>
      Parameters:
      propertyPath - the path of the property
      Returns:
      true if the property is indexed, false otherwise.
    • isAnalyzed

      public boolean isAnalyzed(String[] propertyPath)
      Description copied from interface: org.infinispan.query.objectfilter.impl.syntax.IndexedFieldProvider.FieldIndexingMetadata
      Checks if the property of the indexed entity is analyzed.
      Specified by:
      isAnalyzed in interface org.infinispan.query.objectfilter.impl.syntax.IndexedFieldProvider.FieldIndexingMetadata<Class<?>>
      Parameters:
      propertyPath - the path of the property
      Returns:
      true if the property is analyzed, false otherwise.
    • isNormalized

      public boolean isNormalized(String[] propertyPath)
      Description copied from interface: org.infinispan.query.objectfilter.impl.syntax.IndexedFieldProvider.FieldIndexingMetadata
      Checks if the property of the indexed entity is normalized.
      Specified by:
      isNormalized in interface org.infinispan.query.objectfilter.impl.syntax.IndexedFieldProvider.FieldIndexingMetadata<Class<?>>
      Parameters:
      propertyPath - the path of the property
      Returns:
      true if the property is normalized, false otherwise.
    • isProjectable

      public boolean isProjectable(String[] propertyPath)
      Description copied from interface: org.infinispan.query.objectfilter.impl.syntax.IndexedFieldProvider.FieldIndexingMetadata
      Checks if the property of the indexed entity is projectable.
      Specified by:
      isProjectable in interface org.infinispan.query.objectfilter.impl.syntax.IndexedFieldProvider.FieldIndexingMetadata<Class<?>>
      Parameters:
      propertyPath - the path of the property
      Returns:
      true if the property is projectable, false otherwise.
    • isAggregable

      public boolean isAggregable(String[] propertyPath)
      Description copied from interface: org.infinispan.query.objectfilter.impl.syntax.IndexedFieldProvider.FieldIndexingMetadata
      Checks if the property of the indexed entity is aggregable.
      Specified by:
      isAggregable in interface org.infinispan.query.objectfilter.impl.syntax.IndexedFieldProvider.FieldIndexingMetadata<Class<?>>
      Parameters:
      propertyPath - the path of the property
      Returns:
      true if the property is aggregable, false otherwise.
    • isSortable

      public boolean isSortable(String[] propertyPath)
      Description copied from interface: org.infinispan.query.objectfilter.impl.syntax.IndexedFieldProvider.FieldIndexingMetadata
      Checks if the property of the indexed entity is sortable.
      Specified by:
      isSortable in interface org.infinispan.query.objectfilter.impl.syntax.IndexedFieldProvider.FieldIndexingMetadata<Class<?>>
      Parameters:
      propertyPath - the path of the property
      Returns:
      true if the property is sortable, false otherwise.
    • isVector

      public boolean isVector(String[] propertyPath)
      Specified by:
      isVector in interface org.infinispan.query.objectfilter.impl.syntax.IndexedFieldProvider.FieldIndexingMetadata<Class<?>>
    • getNullMarker

      public Object getNullMarker(String[] propertyPath)
      Specified by:
      getNullMarker in interface org.infinispan.query.objectfilter.impl.syntax.IndexedFieldProvider.FieldIndexingMetadata<Class<?>>
    • keyType

      public Class<?> keyType(String property)
      Specified by:
      keyType in interface org.infinispan.query.objectfilter.impl.syntax.IndexedFieldProvider.FieldIndexingMetadata<Class<?>>
    • isSpatial

      public boolean isSpatial(String[] propertyPath)
      Description copied from interface: org.infinispan.query.objectfilter.impl.syntax.IndexedFieldProvider.FieldIndexingMetadata
      Checks if the property of the indexed entity is a spatial property.
      Specified by:
      isSpatial in interface org.infinispan.query.objectfilter.impl.syntax.IndexedFieldProvider.FieldIndexingMetadata<Class<?>>
      Parameters:
      propertyPath - the path of the property
      Returns:
      true if the property is spatial, false otherwise.