Class PipePluginInfo
java.lang.Object
org.apache.iotdb.confignode.persistence.pipe.PipePluginInfo
- All Implemented Interfaces:
SnapshotProcessor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidcheckPipePluginExistence(Map<String, String> extractorAttributes, Map<String, String> processorAttributes, Map<String, String> connectorAttributes) createPipePlugin(CreatePipePluginPlan createPipePluginPlan) dropPipePlugin(DropPipePluginPlan dropPipePluginPlan) booleangetPipePluginJar(GetPipePluginJarPlan getPipePluginJarPlan) inthashCode()booleanvoidprocessLoadSnapshot(File snapshotDir) booleanprocessTakeSnapshot(File snapshotDir) voidtoString()booleanvalidateBeforeCreatingPipePlugin(String pluginName, boolean isSetIfNotExistsCondition) booleanvalidateBeforeDroppingPipePlugin(String pluginName, boolean isSetIfExistsCondition)
-
Constructor Details
-
PipePluginInfo
- Throws:
IOException
-
-
Method Details
-
acquirePipePluginInfoLock
public void acquirePipePluginInfoLock() -
releasePipePluginInfoLock
public void releasePipePluginInfoLock() -
validateBeforeCreatingPipePlugin
public boolean validateBeforeCreatingPipePlugin(String pluginName, boolean isSetIfNotExistsCondition) - Returns:
- true if the pipe plugin is already created and the isSetIfNotExistsCondition is true, false otherwise
- Throws:
PipeException- if the pipe plugin is already created and the isSetIfNotExistsCondition is false
-
validateBeforeDroppingPipePlugin
- Returns:
- true if the pipe plugin is not created and the isSetIfExistsCondition is true, false otherwise
- Throws:
PipeException- if the pipe plugin is not created and the isSetIfExistsCondition is false
-
isJarNeededToBeSavedWhenCreatingPipePlugin
-
checkPipePluginExistence
-
createPipePlugin
-
dropPipePlugin
-
showPipePlugins
-
getPipePluginJar
-
processTakeSnapshot
- Specified by:
processTakeSnapshotin interfaceSnapshotProcessor- Throws:
IOException
-
processLoadSnapshot
- Specified by:
processLoadSnapshotin interfaceSnapshotProcessor- Throws:
IOException
-
hashCode
public int hashCode() -
equals
-
toString
-