1 line
6.6 KiB
XML
1 line
6.6 KiB
XML
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" height="76px" width="811px" viewBox="-10 -10 831 96" content="<mxGraphModel dx="1421" dy="377" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="0" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0"><root><mxCell id="0"/><mxCell id="1" parent="0"/><mxCell id="4" value="" style="edgeStyle=none;html=1;" parent="1" source="2" target="3" edge="1"><mxGeometry relative="1" as="geometry"/></mxCell><mxCell id="2" value="继承DataSourceV2和WriteSupport接口,返回" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1"><mxGeometry x="-340" y="200" width="120" height="60" as="geometry"/></mxCell><mxCell id="6" style="edgeStyle=none;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="3" target="5"><mxGeometry relative="1" as="geometry"/></mxCell><mxCell id="3" value="继承DataSourceWriter&lt;br&gt;返回writerFactory" style="whiteSpace=wrap;html=1;rounded=0;" parent="1" vertex="1"><mxGeometry x="-140" y="200" width="120" height="60" as="geometry"/></mxCell><mxCell id="8" style="edgeStyle=none;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="5" target="7"><mxGeometry relative="1" as="geometry"/></mxCell><mxCell id="5" value="继承 DataWriterFactory, 重写DataWriter" style="whiteSpace=wrap;html=1;rounded=0;" vertex="1" parent="1"><mxGeometry x="70" y="200" width="120" height="60" as="geometry"/></mxCell><mxCell id="7" value="&amp;nbsp;继承 DataWriter 重写 write 方法实现具体的写入数据库逻辑,重写 commit 方法用来提交事务,重写 abort 方法用来做事务回滚" style="whiteSpace=wrap;html=1;rounded=0;" vertex="1" parent="1"><mxGeometry x="280" y="192.5" width="190" height="75" as="geometry"/></mxCell></root></mxGraphModel>"><style type="text/css"></style><path d="M 120.5 38 L 194.13 38" fill="none" stroke="#f0f0f0" stroke-miterlimit="10" pointer-events="none"/><path d="M 199.38 38 L 192.38 41.5 L 194.13 38 L 192.38 34.5 Z" fill="#f0f0f0" stroke="#f0f0f0" stroke-miterlimit="10" pointer-events="none"/><rect x="0.5" y="8" width="120" height="60" fill="#2a2a2a" stroke="#f0f0f0" pointer-events="none"/><g><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 118px; height: 1px; padding-top: 38px; margin-left: 2px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; "><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: #f0f0f0; line-height: 1.2; pointer-events: none; white-space: normal; word-wrap: normal; ">继承DataSourceV2和WriteSupport接口,返回</div></div></div></foreignObject></g><path d="M 320.5 38 L 404.13 38" fill="none" stroke="#f0f0f0" stroke-miterlimit="10" pointer-events="none"/><path d="M 409.38 38 L 402.38 41.5 L 404.13 38 L 402.38 34.5 Z" fill="#f0f0f0" stroke="#f0f0f0" stroke-miterlimit="10" pointer-events="none"/><rect x="200.5" y="8" width="120" height="60" fill="#2a2a2a" stroke="#f0f0f0" pointer-events="none"/><g><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 118px; height: 1px; padding-top: 38px; margin-left: 202px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; "><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: #f0f0f0; line-height: 1.2; pointer-events: none; white-space: normal; word-wrap: normal; ">继承DataSourceWriter<br />返回writerFactory</div></div></div></foreignObject></g><path d="M 530.5 38 L 614.13 38" fill="none" stroke="#f0f0f0" stroke-miterlimit="10" pointer-events="none"/><path d="M 619.38 38 L 612.38 41.5 L 614.13 38 L 612.38 34.5 Z" fill="#f0f0f0" stroke="#f0f0f0" stroke-miterlimit="10" pointer-events="none"/><rect x="410.5" y="8" width="120" height="60" fill="#2a2a2a" stroke="#f0f0f0" pointer-events="none"/><g><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 118px; height: 1px; padding-top: 38px; margin-left: 412px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; "><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: #f0f0f0; line-height: 1.2; pointer-events: none; white-space: normal; word-wrap: normal; ">继承 DataWriterFactory, 重写DataWriter</div></div></div></foreignObject></g><rect x="620.5" y="0.5" width="190" height="75" fill="#2a2a2a" stroke="#f0f0f0" pointer-events="none"/><g><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 188px; height: 1px; padding-top: 38px; margin-left: 622px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; "><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: #f0f0f0; line-height: 1.2; pointer-events: none; white-space: normal; word-wrap: normal; "> 继承 DataWriter 重写 write 方法实现具体的写入数据库逻辑,重写 commit 方法用来提交事务,重写 abort 方法用来做事务回滚</div></div></div></foreignObject></g></svg> |