Class InsertBaseStatement

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected org.apache.iotdb.tsfile.file.metadata.enums.TSDataType[] dataTypes  
      protected org.apache.iotdb.commons.path.PartialPath devicePath
      if use id table, this filed is id form of device path
      if not, this filed is device path
      protected boolean isAligned  
      protected java.lang.String[] measurements  
    • Field Detail

      • devicePath

        protected org.apache.iotdb.commons.path.PartialPath devicePath
        if use id table, this filed is id form of device path
        if not, this filed is device path
      • isAligned

        protected boolean isAligned
      • measurements

        protected java.lang.String[] measurements
      • dataTypes

        protected org.apache.iotdb.tsfile.file.metadata.enums.TSDataType[] dataTypes
    • Constructor Detail

      • InsertBaseStatement

        public InsertBaseStatement()
    • Method Detail

      • getDevicePath

        public org.apache.iotdb.commons.path.PartialPath getDevicePath()
      • setDevicePath

        public void setDevicePath​(org.apache.iotdb.commons.path.PartialPath devicePath)
      • getMeasurements

        public java.lang.String[] getMeasurements()
      • setMeasurements

        public void setMeasurements​(java.lang.String[] measurements)
      • getDataTypes

        public org.apache.iotdb.tsfile.file.metadata.enums.TSDataType[] getDataTypes()
      • setDataTypes

        public void setDataTypes​(org.apache.iotdb.tsfile.file.metadata.enums.TSDataType[] dataTypes)
      • isAligned

        public boolean isAligned()
      • setAligned

        public void setAligned​(boolean aligned)
      • isEmpty

        public abstract boolean isEmpty()
        Returns true when this statement is empty and no need to write into the server
      • getPaths

        public java.util.List<org.apache.iotdb.commons.path.PartialPath> getPaths()
        Specified by:
        getPaths in class Statement
      • collectRedirectInfo

        public abstract java.util.List<org.apache.iotdb.common.rpc.thrift.TEndPoint> collectRedirectInfo​(org.apache.iotdb.commons.partition.DataPartition dataPartition)