Class UnaryFilter<T extends Comparable<T>>
- java.lang.Object
-
- org.apache.iotdb.tsfile.read.filter.basic.UnaryFilter<T>
-
- Type Parameters:
T- comparable data type
- All Implemented Interfaces:
Serializable,Filter
public abstract class UnaryFilter<T extends Comparable<T>> extends Object implements Filter, 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(ByteBuffer buffer)booleanequals(Object obj)FilterTypegetFilterType()TgetValue()inthashCode()voidserialize(DataOutputStream outputStream)voidsetValue(T value)abstract 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
-
value
protected T extends Comparable<T> value
-
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()
-
serialize
public void serialize(DataOutputStream outputStream)
-
deserialize
public void deserialize(ByteBuffer buffer)
- Specified by:
deserializein interfaceFilter
-
-