Class CompoundOrCustomQuery

All Implemented Interfaces:
ICustomQuery, SmartExternalizable, Externalizable, Serializable

public class CompoundOrCustomQuery extends AbstractCompundCustomQuery
Provides a logical OR combination for a list of custom queries.
Since:
8.0.1
Author:
Anna Pavtulov
See Also:
  • Constructor Details

    • CompoundOrCustomQuery

      public CompoundOrCustomQuery()
      Default constructor for Externalizable.
    • CompoundOrCustomQuery

      public CompoundOrCustomQuery(List<ICustomQuery> subQueries)
  • Method Details

    • matches

      public boolean matches(CacheManager cacheManager, ServerEntry entry, String skipAlreadyMatchedIndexPath)
      Description copied from interface: ICustomQuery
      Checks whether the specified entry matches this query.
      Specified by:
      matches in interface ICustomQuery
      Specified by:
      matches in class AbstractCustomQuery
      Returns:
      Returns true if the specified entry matches this query, false otherwise.
    • toSQLQuery

      public SQLQuery toSQLQuery(ITypeDesc typeDesc)
      Parameters:
      typeDesc - TODO
      Returns:
      SQLQuery