Class QueryPlan

    • Field Detail

      • WITHOUT_NULL_FILTER_ERROR_MESSAGE

        public static final java.lang.String WITHOUT_NULL_FILTER_ERROR_MESSAGE
        See Also:
        Constant Field Values
      • resultColumns

        protected java.util.List<ResultColumn> resultColumns
      • withoutNullColumnsIndex

        protected java.util.Set<java.lang.Integer> withoutNullColumnsIndex
    • Constructor Detail

      • QueryPlan

        public QueryPlan()
    • Method Detail

      • getWithoutNullColumnsIndex

        public java.util.Set<java.lang.Integer> getWithoutNullColumnsIndex()
      • deduplicate

        public abstract void deduplicate​(PhysicalGenerator physicalGenerator)
                                  throws org.apache.iotdb.commons.exception.MetadataException
        Throws:
        org.apache.iotdb.commons.exception.MetadataException
      • getTSExecuteStatementResp

        public org.apache.iotdb.service.rpc.thrift.TSExecuteStatementResp getTSExecuteStatementResp​(boolean isJdbcQuery)
                                                                                             throws org.apache.thrift.TException,
                                                                                                    org.apache.iotdb.commons.exception.MetadataException
        Construct the header of result set. Return TSExecuteStatementResp.
        Throws:
        org.apache.thrift.TException
        org.apache.iotdb.commons.exception.MetadataException
      • getWideQueryHeaders

        public java.util.List<org.apache.iotdb.tsfile.file.metadata.enums.TSDataType> getWideQueryHeaders​(java.util.List<java.lang.String> respColumns,
                                                                                                          java.util.List<java.lang.String> respSgColumns,
                                                                                                          boolean isJdbcQuery,
                                                                                                          java.util.BitSet aliasList)
                                                                                                   throws org.apache.thrift.TException,
                                                                                                          org.apache.iotdb.commons.exception.MetadataException
        Throws:
        org.apache.thrift.TException
        org.apache.iotdb.commons.exception.MetadataException
      • setPaths

        public void setPaths​(java.util.List<org.apache.iotdb.commons.path.PartialPath> paths)
        Overrides:
        setPaths in class PhysicalPlan
      • getDataTypes

        public java.util.List<org.apache.iotdb.tsfile.file.metadata.enums.TSDataType> getDataTypes()
      • getRowLimit

        public int getRowLimit()
      • setRowLimit

        public void setRowLimit​(int rowLimit)
      • getRowOffset

        public int getRowOffset()
      • setRowOffset

        public void setRowOffset​(int rowOffset)
      • hasLimit

        public boolean hasLimit()
      • isAlignByTime

        public boolean isAlignByTime()
      • setAlignByTime

        public void setAlignByTime​(boolean align)
      • setColumnNameToDatasetOutputIndex

        public void setColumnNameToDatasetOutputIndex​(java.lang.String columnName,
                                                      java.lang.Integer index)
      • isGroupByLevel

        public boolean isGroupByLevel()
      • getPathToIndex

        public java.util.Map<java.lang.String,​java.lang.Integer> getPathToIndex()
      • isAscending

        public boolean isAscending()
      • setAscending

        public void setAscending​(boolean ascending)
      • getColumnForReaderFromPath

        public java.lang.String getColumnForReaderFromPath​(org.apache.iotdb.commons.path.PartialPath path,
                                                           int pathIndex)
      • getColumnForDisplay

        public java.lang.String getColumnForDisplay​(java.lang.String columnForReader,
                                                    int pathIndex)
      • isEnableRedirect

        public boolean isEnableRedirect()
      • setEnableRedirect

        public void setEnableRedirect​(boolean enableRedirect)
      • isEnableTracing

        public boolean isEnableTracing()
      • setEnableTracing

        public void setEnableTracing​(boolean enableTracing)
      • getResultColumns

        public java.util.List<ResultColumn> getResultColumns()
      • setResultColumns

        public void setResultColumns​(java.util.List<ResultColumn> resultColumns)
      • isWithoutAnyNull

        public boolean isWithoutAnyNull()
      • setWithoutAnyNull

        public void setWithoutAnyNull​(boolean withoutAnyNull)
      • isWithoutAllNull

        public boolean isWithoutAllNull()
      • setWithoutAllNull

        public void setWithoutAllNull​(boolean withoutAllNull)