接口 FilterSource

  • 所有已知实现类:
    FilterSourceImpl

    public interface FilterSource
    Defines the source of filter information. May have an associated FilterDefinition. Relates to both <filter/> and @Filter
    作者:
    Steve Ebersole
    • 方法详细资料

      • getName

        String getName()
        Get the name of the filter being described.
        返回:
        The name.
      • getCondition

        String getCondition()
        Get the condition associated with the filter. Can be null in the case of a filter described further by a "filter def" which contains the condition text.
        返回:
        The condition defined on the filter.
        另请参阅:
        FilterSourceImpl.getCondition()
      • shouldAutoInjectAliases

        boolean shouldAutoInjectAliases()
        Should Hibernate perform automatic alias injection into the supplied condition string? The default is to perform auto injection *unless* explicit alias(es) are supplied.
        返回:
        true indicates auto injection should occur; false that it should not
      • getAliasToTableMap

        Map<String,​String> getAliasToTableMap()
        Get the map of explicit alias to table name mappings.
        返回:
        The alias to table map
      • getAliasToEntityMap

        Map<String,​String> getAliasToEntityMap()
        Get the map of explicit alias to entity name mappings.
        返回:
        The alias to entity map