@Override public Node createNode(NodeBuilder builder) { try { return FileSystemNode.create(rootDirectory, idGenerator.createId(), builder); } catch (IOException e) { throw new StorageException(e); } }
/** * @see java.lang.Object#clone() Do not use the clone method directly. Operators are cloned when * logical plans are cloned using {@link LogicalPlanCloner} */ @Override protected Object clone() throws CloneNotSupportedException { Object o = super.clone(); Operator opClone = (Operator) o; opClone.mKey = new OperatorKey(mKey.scope, NodeIdGenerator.getGenerator().getNextNodeId(mKey.scope)); return opClone; }