📄 nodewriteexception.html
字号:
long pointer)</CODE>
<BR>
Overloaded</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B>ReadNode.</B><B><A HREF="../../rtree/ReadNode.html#modifyElement(int, rtree.Rect)">modifyElement</A></B>(int index, <A HREF="../../rtree/Rect.html" title="class in rtree">Rect</A> rect)</CODE>
<BR>
Overloaded</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B>ReadNode.</B><B><A HREF="../../rtree/ReadNode.html#setParent(long)">setParent</A></B>(long prnt)</CODE>
<BR>
No error echecking at all.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B>ReadNode.</B><B><A HREF="../../rtree/ReadNode.html#deleteNode()">deleteNode</A></B>()</CODE>
<BR>
Adds the node to the free stack.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> boolean</CODE></FONT></TD>
<TD><CODE><B>ReadNode.</B><B><A HREF="../../rtree/ReadNode.html#flush()">flush</A></B>()</CODE>
<BR>
This is a new methos that will help the phylosophy where one should write to tbe cache only when required.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B>Node.</B><B><A HREF="../../rtree/Node.html#deleteElement(int, boolean)">deleteElement</A></B>(int index, boolean force)</CODE>
<BR>
This method delets the element with the given index from the node.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B>Node.</B><B><A HREF="../../rtree/Node.html#insertElement(rtree.Element)">insertElement</A></B>(<A HREF="../../rtree/Element.html" title="class in rtree">Element</A> elmt)</CODE>
<BR>
to add an element at the end As elements are allocated to this node, each allocated element's children node's parent are reset.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private void</CODE></FONT></TD>
<TD><CODE><B>Node.</B><B><A HREF="../../rtree/Node.html#writeLastElement(rtree.Element)">writeLastElement</A></B>(<A HREF="../../rtree/Element.html" title="class in rtree">Element</A> elmt)</CODE>
<BR>
This func.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B>Node.</B><B><A HREF="../../rtree/Node.html#insertElement(rtree.Element[], boolean)">insertElement</A></B>(<A HREF="../../rtree/Element.html" title="class in rtree">Element</A>[] elmts, boolean updateChldrn)</CODE>
<BR>
to add more than onr element at the end.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private void</CODE></FONT></TD>
<TD><CODE><B>Node.</B><B><A HREF="../../rtree/Node.html#writeLastElements(rtree.Element[])">writeLastElements</A></B>(<A HREF="../../rtree/Element.html" title="class in rtree">Element</A>[] elmts)</CODE>
<BR>
This method helps in bulk loading.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private void</CODE></FONT></TD>
<TD><CODE><B>Node.</B><B><A HREF="../../rtree/Node.html#writeNodeHeader(long, int, long, int, int)">writeNodeHeader</A></B>(long nodeIdx, int totElmt, long prnt, int elmtSz, int elmtTp)</CODE>
<BR>
this func.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private void</CODE></FONT></TD>
<TD><CODE><B>Node.</B><B><A HREF="../../rtree/Node.html#writeNodeHeader(long, int, long, int, int, java.io.DataOutputStream)">writeNodeHeader</A></B>(long nodeIdx, int totElmt, long prnt, int elmtSz, int elmtTp, java.io.DataOutputStream ds)</CODE>
<BR>
This method will write the node header into the <code>ds</code>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../rtree/Element.html" title="class in rtree">Element</A></CODE></FONT></TD>
<TD><CODE><B>Node.</B><B><A HREF="../../rtree/Node.html#getLeastEnlargement(rtree.Element)">getLeastEnlargement</A></B>(<A HREF="../../rtree/Element.html" title="class in rtree">Element</A> elmt)</CODE>
<BR>
Returns the element(of the current node) whose rectangle needs the least enlargment to include <code>elmt</code>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../rtree/Node.html" title="class in rtree">Node</A>[]</CODE></FONT></TD>
<TD><CODE><B>Node.</B><B><A HREF="../../rtree/Node.html#splitNode(rtree.Element, long)">splitNode</A></B>(<A HREF="../../rtree/Element.html" title="class in rtree">Element</A> elmtM1, long slotIndex)</CODE>
<BR>
See ./Logic.txt Linear split Algo.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B>Node.</B><B><A HREF="../../rtree/Node.html#modifyElement(int, rtree.Element)">modifyElement</A></B>(int index, <A HREF="../../rtree/Element.html" title="class in rtree">Element</A> elmt)</CODE>
<BR>
Used to overwrite the old Element with the new one.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B>Node.</B><B><A HREF="../../rtree/Node.html#modifyElement(int, long)">modifyElement</A></B>(int index, long pointer)</CODE>
<BR>
Overloaded</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B>Node.</B><B><A HREF="../../rtree/Node.html#modifyElement(int, rtree.Rect)">modifyElement</A></B>(int index, <A HREF="../../rtree/Rect.html" title="class in rtree">Rect</A> rect)</CODE>
<BR>
Overloaded</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B>Node.</B><B><A HREF="../../rtree/Node.html#setParent(long)">setParent</A></B>(long prnt)</CODE>
<BR>
No error echecking at all.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B>Node.</B><B><A HREF="../../rtree/Node.html#deleteNode()">deleteNode</A></B>()</CODE>
<BR>
Adds the node to the free stack.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> boolean</CODE></FONT></TD>
<TD><CODE><B>Node.</B><B><A HREF="../../rtree/Node.html#flush()">flush</A></B>()</CODE>
<BR>
This is a new methos that will help the phylosophy where one should write to tbe cache only when required.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B>CachedNodes.</B><B><A HREF="../../rtree/CachedNodes.html#setCacheSize(int)">setCacheSize</A></B>(int size)</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private <A HREF="../../rtree/Node.html" title="class in rtree">Node</A></CODE></FONT></TD>
<TD><CODE><B>CachedNodes.</B><B><A HREF="../../rtree/CachedNodes.html#getNode(java.io.RandomAccessFile, java.lang.String, long, rtree.FileHdr, int)">getNode</A></B>(java.io.RandomAccessFile file, java.lang.String fileName, long lndIndex, <A HREF="../../rtree/FileHdr.html" title="class in rtree">FileHdr</A> flHdr, int type)</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private <A HREF="../../rtree/Node.html" title="class in rtree">Node</A></CODE></FONT></TD>
<TD><CODE><B>CachedNodes.</B><B><A HREF="../../rtree/CachedNodes.html#getNode(java.io.RandomAccessFile, java.lang.String, long, int, rtree.FileHdr, int)">getNode</A></B>(java.io.RandomAccessFile file, java.lang.String fileName, long parentIndex, int elmtType, <A HREF="../../rtree/FileHdr.html" title="class in rtree">FileHdr</A> flHdr, int type)</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../rtree/seeded/SdNode.html" title="class in rtree.seeded">SdNode</A></CODE></FONT></TD>
<TD><CODE><B>CachedNodes.</B><B><A HREF="../../rtree/CachedNodes.html#getSdNode(java.io.RandomAccessFile, java.lang.String, long, rtree.FileHdr)">getSdNode</A></B>(java.io.RandomAccessFile file, java.lang.String fileName, long lndIndex, <A HREF="../../rtree/FileHdr.html" title="class in rtree">FileHdr</A> flHdr)</CODE>
<BR>
This one returns an existing <code>SdNode</code></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../rtree/seeded/SdNode.html" title="class in rtree.seeded">SdNode</A></CODE></FONT></TD>
<TD><CODE><B>CachedNodes.</B><B><A HREF="../../rtree/CachedNodes.html#getSdNode(java.io.RandomAccessFile, java.lang.String, long, int, rtree.FileHdr)">getSdNode</A></B>(java.io.RandomAccessFile file, java.lang.String fileName, long parentIndex, int elmtType, <A HREF="../../rtree/FileHdr.html" title="class in rtree">FileHdr</A> flHdr)</CODE>
<BR>
This one returns an existing <code>SdNode</code>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../rtree/Node.html" title="class in rtree">Node</A></CODE></FONT></TD>
<TD><CODE><B>CachedNodes.</B><B><A HREF="../../rtree/CachedNodes.html#getNode(java.io.RandomAccessFile, java.lang.String, long, rtree.FileHdr)">getNode</A></B>(java.io.RandomAccessFile file, java.lang.String fileName, long lndIndex, <A HREF="../../rtree/FileHdr.html" title="class in rtree">FileHdr</A> flHdr)</CODE>
<BR>
This one returns an existing <code>Node</code>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../rtree/Node.html" title="class in rtree">Node</A></CODE></FONT></TD>
<TD><CODE><B>CachedNodes.</B><B><A HREF="../../rtree/CachedNodes.html#getNode(java.io.RandomAccessFile, java.lang.String, long, int, rtree.FileHdr)">getNode</A></B>(java.io.RandomAccessFile file, java.lang.String fileName, long parentIndex, int elmtType, <A HREF="../../rtree/FileHdr.html" title="class in rtree">FileHdr</A> flHdr)</CODE>
<BR>
This one returns an new <code>SdNode</code>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../rtree/Node.html" title="class in rtree">Node</A></CODE></FONT></TD>
<TD><CODE><B>CachedNodes.</B><B><A HREF="../../rtree/CachedNodes.html#getNode(java.io.RandomAccessFile, java.lang.String, long, int, rtree.FileHdr, rtree.Node)">getNode</A></B>(java.io.RandomAccessFile file, java.lang.String fileName, long parentIndex, int elmtType, <A HREF="../../rtree/FileHdr.html" title="class in rtree">FileHdr</A> flHdr, <A HREF="../../rtree/Node.html" title="class in rtree">Node</A> type)</CODE>
<BR>
This one returns an new <code>Node</code>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../rtree/ReadNode.html" title="class in rtree">ReadNode</A></CODE></FONT></TD>
<TD><CODE><B>CachedNodes.</B><B><A HREF="../../rtree/CachedNodes.html#getReadNode(java.io.RandomAccessFile, java.lang.String, long, rtree.FileHdr)">getReadNode</A></B>(java.io.RandomAccessFile file, java.lang.String fileName, long lndIndex, <A HREF="../../rtree/FileHdr.html" title="class in rtree">FileHdr</A> flHdr)</CODE>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -