Class NotHavingSpec
java.lang.Object
org.apache.druid.query.groupby.having.NotHavingSpec
- All Implemented Interfaces:
Cacheable,HavingSpec
The logical "not" operator for the "having" clause.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanEvaluates if a given row satisfies the having spec.byte[]Get a byte array used as a cache key.inthashCode()voidsetQuery(GroupByQuery query) Informs this HavingSpec that rows passed to "eval" will originate from a particular groupBy query.toString()
-
Constructor Details
-
NotHavingSpec
-
-
Method Details
-
getHavingSpec
-
setQuery
Description copied from interface:HavingSpecInforms this HavingSpec that rows passed to "eval" will originate from a particular groupBy query.- Specified by:
setQueryin interfaceHavingSpec
-
eval
Description copied from interface:HavingSpecEvaluates if a given row satisfies the having spec.- Specified by:
evalin interfaceHavingSpec- Parameters:
row- A Row of data that may contain aggregated values- Returns:
- true if the given row satisfies the having spec. False otherwise.
-
toString
-
equals
-
hashCode
public int hashCode() -
getCacheKey
public byte[] getCacheKey()Description copied from interface:CacheableGet a byte array used as a cache key.- Specified by:
getCacheKeyin interfaceCacheable- Returns:
- bytes to be used as cache key - or null if this object should not be cached.
-