Class RegexpFilter
- java.lang.Object
-
- org.apache.iotdb.db.mpp.common.filter.QueryFilter
-
- org.apache.iotdb.db.mpp.common.filter.FunctionFilter
-
- org.apache.iotdb.db.mpp.common.filter.RegexpFilter
-
- All Implemented Interfaces:
java.lang.Comparable<QueryFilter>
public class RegexpFilter extends FunctionFilter
fuzzy query structure RegexpFilter.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Stringvalue-
Fields inherited from class org.apache.iotdb.db.mpp.common.filter.QueryFilter
filterType, isLeaf
-
-
Constructor Summary
Constructors Constructor Description RegexpFilter(FilterConstant.FilterType filterType, org.apache.iotdb.commons.path.PartialPath path, java.lang.String value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RegexpFiltercopy()static RegexpFilterdeserialize(java.nio.ByteBuffer byteBuffer)booleanequals(java.lang.Object o)java.lang.StringgetValue()inthashCode()voidserialize(java.nio.ByteBuffer byteBuffer)java.lang.StringshowTree(int spaceNum)java.lang.StringtoString()protected org.apache.iotdb.tsfile.utils.Pair<org.apache.iotdb.tsfile.read.expression.IUnaryExpression,java.lang.String>transformToSingleQueryFilter(java.util.Map<org.apache.iotdb.commons.path.PartialPath,org.apache.iotdb.tsfile.file.metadata.enums.TSDataType> pathTSDataTypeHashMap)it will be used in BasicFunction Operator.-
Methods inherited from class org.apache.iotdb.db.mpp.common.filter.FunctionFilter
addChildOperator, reverseFunc
-
Methods inherited from class org.apache.iotdb.db.mpp.common.filter.QueryFilter
compareTo, getChildren, getFilterName, getFilterSymbol, getFilterType, getPathSet, getSinglePath, isLeaf, isSingle, serializeWithoutType, setChildren, setFilterType, setIsSingle, setPathSet, setSinglePath, showTree, transformToExpression
-
-
-
-
Constructor Detail
-
RegexpFilter
public RegexpFilter(FilterConstant.FilterType filterType, org.apache.iotdb.commons.path.PartialPath path, java.lang.String value)
-
-
Method Detail
-
transformToSingleQueryFilter
protected org.apache.iotdb.tsfile.utils.Pair<org.apache.iotdb.tsfile.read.expression.IUnaryExpression,java.lang.String> transformToSingleQueryFilter(java.util.Map<org.apache.iotdb.commons.path.PartialPath,org.apache.iotdb.tsfile.file.metadata.enums.TSDataType> pathTSDataTypeHashMap) throws StatementAnalyzeException, org.apache.iotdb.commons.exception.MetadataExceptionDescription copied from class:QueryFilterit will be used in BasicFunction Operator.- Overrides:
transformToSingleQueryFilterin classQueryFilter- Returns:
- - pair.left: UnaryQueryFilter constructed by its one child; pair.right: Path represented by this child.
- Throws:
org.apache.iotdb.commons.exception.MetadataException- exception in filter transformingStatementAnalyzeException
-
showTree
public java.lang.String showTree(int spaceNum)
- Overrides:
showTreein classQueryFilter
-
copy
public RegexpFilter copy()
- Overrides:
copyin classQueryFilter
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classQueryFilter
-
hashCode
public int hashCode()
- Overrides:
hashCodein classQueryFilter
-
toString
public java.lang.String toString()
- Overrides:
toStringin classQueryFilter
-
getValue
public java.lang.String getValue()
-
serialize
public void serialize(java.nio.ByteBuffer byteBuffer)
- Overrides:
serializein classFunctionFilter
-
deserialize
public static RegexpFilter deserialize(java.nio.ByteBuffer byteBuffer)
-
-