Class FinderColumn<T extends BaseModel<T>>

java.lang.Object
com.liferay.portal.kernel.service.persistence.impl.FinderColumn<T>
Direct Known Subclasses:
ArrayableFinderColumn

public class FinderColumn<T extends BaseModel<T>> extends Object
Author:
Shuyang Zhou
  • Field Details

    • caseSensitive

      protected final boolean caseSensitive
    • convertNull

      protected final boolean convertNull
    • hqlBind

      protected final String hqlBind
    • hqlIsNull

      protected final String hqlIsNull
    • hqlNull

      protected final String hqlNull
    • sqlBind

      protected final String sqlBind
    • sqlIsNull

      protected final String sqlIsNull
    • sqlNull

      protected final String sqlNull
    • type

      protected final FinderColumn.Type type
    • valueExtractor

      protected final Function<T extends BaseModel<T>,Object> valueExtractor
  • Constructor Details

  • Method Details

    • bindValue

      public void bindValue(QueryPos queryPos, Object normalizedValue)
    • extractValue

      public Object extractValue(T entity)
    • getKeyFragment

      public String getKeyFragment()
    • getSqlFragment

      public String getSqlFragment(Object normalizedValue, boolean sqlQuery)
    • matches

      public boolean matches(T entity, Object normalizedValue)
    • normalizeValue

      public Object normalizeValue(Object value)
    • toFinderArg

      public Object toFinderArg(Object normalizedValue)