Class OperateFilePlan

  • All Implemented Interfaces:
    org.apache.iotdb.consensus.common.request.IConsensusRequest

    public class OperateFilePlan
    extends PhysicalPlan
    • Constructor Detail

      • OperateFilePlan

        public OperateFilePlan​(java.io.File file,
                               Operator.OperatorType operatorType,
                               boolean autoCreateSchema,
                               int sgLevel,
                               boolean verifyMetadata)
        used for generate loading tsfile physical plan.
        Parameters:
        file - the loading file
        operatorType - the operator type
        autoCreateSchema - auto create schema if needed
        sgLevel - the level of sg
        verifyMetadata - metadata check if needed
      • OperateFilePlan

        public OperateFilePlan​(java.io.File file,
                               java.io.File targetDir,
                               Operator.OperatorType operatorType)
    • Method Detail

      • getPaths

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

        public java.io.File getFile()
      • getTargetDir

        public java.io.File getTargetDir()
      • isAutoCreateSchema

        public boolean isAutoCreateSchema()
      • getSgLevel

        public int getSgLevel()
      • getVerifyMetadata

        public boolean getVerifyMetadata()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object