Class CNPhysicalPlanGenerator
java.lang.Object
org.apache.iotdb.confignode.persistence.schema.CNPhysicalPlanGenerator
- All Implemented Interfaces:
Iterable<ConfigPhysicalPlan>,Iterator<ConfigPhysicalPlan>
public class CNPhysicalPlanGenerator
extends Object
implements Iterator<ConfigPhysicalPlan>, Iterable<ConfigPhysicalPlan>
-
Constructor Summary
ConstructorsConstructorDescriptionCNPhysicalPlanGenerator(Path schemaInfoFile, Path templateFile) CNPhysicalPlanGenerator(Path snapshotFilePath, CNSnapshotFileType fileType) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliteratorMethods inherited from interface java.util.Iterator
forEachRemaining, remove
-
Constructor Details
-
CNPhysicalPlanGenerator
public CNPhysicalPlanGenerator(Path snapshotFilePath, CNSnapshotFileType fileType) throws IOException - Throws:
IOException
-
CNPhysicalPlanGenerator
- Throws:
IOException
-
-
Method Details
-
iterator
- Specified by:
iteratorin interfaceIterable<ConfigPhysicalPlan>
-
hasNext
public boolean hasNext()- Specified by:
hasNextin interfaceIterator<ConfigPhysicalPlan>
-
next
- Specified by:
nextin interfaceIterator<ConfigPhysicalPlan>
-
checkException
- Throws:
Exception
-