Class OperateFilePlan
- java.lang.Object
-
- org.apache.iotdb.db.qp.physical.PhysicalPlan
-
- org.apache.iotdb.db.qp.physical.sys.OperateFilePlan
-
- All Implemented Interfaces:
org.apache.iotdb.consensus.common.request.IConsensusRequest
public class OperateFilePlan extends PhysicalPlan
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.iotdb.db.qp.physical.PhysicalPlan
PhysicalPlan.Factory, PhysicalPlan.PhysicalPlanType
-
-
Field Summary
-
Fields inherited from class org.apache.iotdb.db.qp.physical.PhysicalPlan
canBeSplit, index
-
-
Constructor Summary
Constructors Constructor Description OperateFilePlan(java.io.File file, java.io.File targetDir, Operator.OperatorType operatorType)OperateFilePlan(java.io.File file, Operator.OperatorType operatorType)OperateFilePlan(java.io.File file, Operator.OperatorType operatorType, boolean autoCreateSchema, int sgLevel, boolean verifyMetadata)used for generate loading tsfile physical plan.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.io.FilegetFile()java.util.List<org.apache.iotdb.commons.path.PartialPath>getPaths()intgetSgLevel()java.io.FilegetTargetDir()booleangetVerifyMetadata()booleanisAutoCreateSchema()java.lang.StringtoString()-
Methods inherited from class org.apache.iotdb.db.qp.physical.PhysicalPlan
canBeSplit, checkIntegrity, deserialize, deserialize, getAggregations, getAuthPaths, getIndex, getLoginUserName, getOperatorName, getOperatorType, isAuthenticationRequired, isDebug, isPrefixMatch, isQuery, isSelectInto, putString, putString, putStrings, putStrings, readString, readStrings, serialize, serialize, serializeImpl, serializeToByteBuffer, setDebug, setIndex, setLoginUserName, setOperatorType, setPaths, setPrefixMatch, setQuery
-
-
-
-
Constructor Detail
-
OperateFilePlan
public OperateFilePlan(java.io.File file, Operator.OperatorType operatorType)
-
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 fileoperatorType- the operator typeautoCreateSchema- auto create schema if neededsgLevel- the level of sgverifyMetadata- 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:
getPathsin classPhysicalPlan
-
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:
toStringin classjava.lang.Object
-
-