Package org.apache.iotdb.db.qp.utils
Class WildcardsRemover
- java.lang.Object
-
- org.apache.iotdb.db.qp.utils.WildcardsRemover
-
public class WildcardsRemover extends java.lang.ObjectRemoves wildcards (applying memory control and slimit/soffset control)
-
-
Constructor Summary
Constructors Constructor Description WildcardsRemover(QueryOperator queryOperator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancheckIfPathNumberIsOverLimit(java.util.List<ResultColumn> resultColumns)voidcheckIfSoffsetIsExceeded(java.util.List<ResultColumn> resultColumns)java.util.List<MeasurementPath>removeWildcardFrom(org.apache.iotdb.commons.path.PartialPath path)java.util.List<java.util.List<Expression>>removeWildcardsFrom(java.util.List<Expression> expressions)
-
-
-
Constructor Detail
-
WildcardsRemover
public WildcardsRemover(QueryOperator queryOperator)
-
-
Method Detail
-
removeWildcardFrom
public java.util.List<MeasurementPath> removeWildcardFrom(org.apache.iotdb.commons.path.PartialPath path) throws LogicalOptimizeException
- Throws:
LogicalOptimizeException
-
removeWildcardsFrom
public java.util.List<java.util.List<Expression>> removeWildcardsFrom(java.util.List<Expression> expressions) throws LogicalOptimizeException
- Throws:
LogicalOptimizeException
-
checkIfPathNumberIsOverLimit
public boolean checkIfPathNumberIsOverLimit(java.util.List<ResultColumn> resultColumns) throws PathNumOverLimitException
- Returns:
- should break the loop or not
- Throws:
PathNumOverLimitException
-
checkIfSoffsetIsExceeded
public void checkIfSoffsetIsExceeded(java.util.List<ResultColumn> resultColumns) throws LogicalOptimizeException
- Throws:
LogicalOptimizeException
-
-