Class LikeFilter

  • All Implemented Interfaces:
    java.lang.Comparable<QueryFilter>

    public class LikeFilter
    extends FunctionFilter
    fuzzy query structure LikeFilter.
    • Field Detail

      • value

        protected java.lang.String value
    • Constructor Detail

      • LikeFilter

        public LikeFilter​(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.MetadataException
        Description copied from class: QueryFilter
        it will be used in BasicFunction Operator.
        Overrides:
        transformToSingleQueryFilter in class QueryFilter
        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 transforming
        StatementAnalyzeException
      • showTree

        public java.lang.String showTree​(int spaceNum)
        Overrides:
        showTree in class QueryFilter
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class QueryFilter
      • getValue

        public java.lang.String getValue()
      • serialize

        public void serialize​(java.nio.ByteBuffer byteBuffer)
        Overrides:
        serialize in class FunctionFilter
      • deserialize

        public static LikeFilter deserialize​(java.nio.ByteBuffer byteBuffer)