Package org.teamapps.data.value.filter
Class NumericFilter
java.lang.Object
org.teamapps.data.value.filter.AbstractFilter
org.teamapps.data.value.filter.NumericFilter
- All Implemented Interfaces:
Filter
public class NumericFilter extends AbstractFilter
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNumericFilter.Comparator -
Constructor Summary
Constructors Constructor Description NumericFilter(java.lang.String property, double value, NumericFilter.Comparator comparator) -
Method Summary
Modifier and Type Method Description java.lang.Stringexplain(int filterLevel)NumericFilter.ComparatorgetComparator()FilterTypegetType()java.lang.DoublegetValue()intgetValueAsInt()longgetValueAsLong()booleanmatches(DataRecord record, boolean treatNullAsDefaultValue)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.teamapps.data.value.filter.Filter
and, asOrFilter, createLevelIndentString, explain, matches, or
-
Constructor Details
-
Method Details
-
getType
-
matches
-
explain
public java.lang.String explain(int filterLevel) -
getValue
public java.lang.Double getValue() -
getComparator
-
getValueAsInt
public int getValueAsInt() -
getValueAsLong
public long getValueAsLong()
-