Class UnaryFilter<T extends java.lang.Comparable<T>>
- java.lang.Object
-
- org.apache.iotdb.tsfile.read.filter.basic.UnaryFilter<T>
-
- Type Parameters:
T- comparable data type
- All Implemented Interfaces:
java.io.Serializable,Filter
public abstract class UnaryFilter<T extends java.lang.Comparable<T>> extends java.lang.Object implements Filter, java.io.Serializable
Definition for unary filter operations.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected FilterTypefilterTypeprotected Tvalue
-
Constructor Summary
Constructors Modifier Constructor Description protectedUnaryFilter()protectedUnaryFilter(T value, FilterType filterType)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voiddeserialize(java.nio.ByteBuffer buffer)booleanequals(java.lang.Object obj)FilterTypegetFilterType()TgetValue()inthashCode()voidserialize(java.io.DataOutputStream outputStream)voidsetValue(T value)abstract java.lang.StringtoString()-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.iotdb.tsfile.read.filter.basic.Filter
allSatisfy, containStartEndTime, copy, getSerializeId, getTimeRanges, reverse, satisfy, satisfy, satisfyStartEndTime, serialize
-
-
-
-
Field Detail
-
filterType
protected FilterType filterType
-
-
Constructor Detail
-
UnaryFilter
protected UnaryFilter()
-
UnaryFilter
protected UnaryFilter(T value, FilterType filterType)
-
-
Method Detail
-
getValue
public T getValue()
-
setValue
public void setValue(T value)
-
getFilterType
public FilterType getFilterType()
-
toString
public abstract java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
serialize
public void serialize(java.io.DataOutputStream outputStream)
-
deserialize
public void deserialize(java.nio.ByteBuffer buffer)
- Specified by:
deserializein interfaceFilter
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-