📄 snapshotisolationtransaction.html
字号:
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/axiondb/engine/SnapshotIsolationTransaction.html#getName()">getName</A></B>()</CODE>
<BR>
Returns the name of this <code>Database</code>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../org/axiondb/Database.html">Database</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/axiondb/engine/SnapshotIsolationTransaction.html#getOpenOnTransaction()">getOpenOnTransaction</A></B>()</CODE>
<BR>
Get the <A HREF="../../../org/axiondb/Database.html"><CODE>Database</CODE></A> upon which I am open (i.e., the state to which we will return to if I am rolled back.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/util/Set.html">Set</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/axiondb/engine/SnapshotIsolationTransaction.html#getReadTables()">getReadTables</A></B>()</CODE>
<BR>
Return a <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/util/Set.html"><CODE>Set</CODE></A> of <A HREF="../../../org/axiondb/Table.html"><CODE>Table</CODE></A>s that have been read thus far in this transaction.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../org/axiondb/Sequence.html">Sequence</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/axiondb/engine/SnapshotIsolationTransaction.html#getSequence(java.lang.String)">getSequence</A></B>(<A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A> name)</CODE>
<BR>
Get the specified <A HREF="../../../org/axiondb/Sequence.html"><CODE>Sequence</CODE></A>, or <tt>null</tt> if no such sequence can be found.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/axiondb/engine/SnapshotIsolationTransaction.html#getState()">getState</A></B>()</CODE>
<BR>
Return my current transaction state.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../org/axiondb/Table.html">Table</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/axiondb/engine/SnapshotIsolationTransaction.html#getTable(java.lang.String)">getTable</A></B>(<A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A> name)</CODE>
<BR>
Get the specified <A HREF="../../../org/axiondb/Table.html"><CODE>Table</CODE></A>, or <tt>null</tt> if no such table can be found.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../org/axiondb/Table.html">Table</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/axiondb/engine/SnapshotIsolationTransaction.html#getTable(org.axiondb.TableIdentifier)">getTable</A></B>(<A HREF="../../../org/axiondb/TableIdentifier.html">TableIdentifier</A> table)</CODE>
<BR>
Get the specified <A HREF="../../../org/axiondb/Table.html"><CODE>Table</CODE></A>, or <tt>null</tt> if no such table can be found.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/io/File.html">File</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/axiondb/engine/SnapshotIsolationTransaction.html#getTableDirectory()">getTableDirectory</A></B>()</CODE>
<BR>
Get the directory into which table information is stored, or <tt>null</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../org/axiondb/TableFactory.html">TableFactory</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/axiondb/engine/SnapshotIsolationTransaction.html#getTableFactory(java.lang.String)">getTableFactory</A></B>(<A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A> name)</CODE>
<BR>
Get the <A HREF="../../../org/axiondb/TableFactory.html"><CODE>TableFactory</CODE></A> currently registered for the given name, or <tt>null</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../org/axiondb/TransactionManager.html">TransactionManager</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/axiondb/engine/SnapshotIsolationTransaction.html#getTransactionManager()">getTransactionManager</A></B>()</CODE>
<BR>
Get the <A HREF="../../../org/axiondb/TransactionManager.html"><CODE>TransactionManager</CODE></A> for this database.</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><A HREF="../../../org/axiondb/engine/SnapshotIsolationTransaction.html#isReadOnly()">isReadOnly</A></B>()</CODE>
<BR>
Is this database read-only?</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><A HREF="../../../org/axiondb/engine/SnapshotIsolationTransaction.html#remount(java.io.File)">remount</A></B>(<A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/io/File.html">File</A> newdir)</CODE>
<BR>
Notify this database that its root directory has been moved to the given location.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../org/axiondb/Selectable.html">Selectable</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/axiondb/engine/SnapshotIsolationTransaction.html#resolveSelectable(org.axiondb.Selectable, org.axiondb.TableIdentifier[])">resolveSelectable</A></B>(<A HREF="../../../org/axiondb/Selectable.html">Selectable</A> selectable, <A HREF="../../../org/axiondb/TableIdentifier.html">TableIdentifier</A>[] tables)</CODE>
<BR>
"Resolve" the given <A HREF="../../../org/axiondb/Selectable.html"><CODE>Selectable</CODE></A> relative to the given list of <A HREF="../../../org/axiondb/TableIdentifier.html"><CODE>tables</CODE></A>, converting aliased or relative references into absolute ones.</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><A HREF="../../../org/axiondb/engine/SnapshotIsolationTransaction.html#resolveWhereNode(org.axiondb.WhereNode, org.axiondb.TableIdentifier[])">resolveWhereNode</A></B>(<A HREF="../../../org/axiondb/WhereNode.html">WhereNode</A> where, <A HREF="../../../org/axiondb/TableIdentifier.html">TableIdentifier</A>[] tables)</CODE>
<BR>
"Resolve" the <A HREF="../../../org/axiondb/Selectable.html"><CODE>Selectable</CODE></A>s within the given <A HREF="../../../org/axiondb/WhereNode.html"><CODE>WhereNode</CODE></A> tree, relative to the given list of <A HREF="../../../org/axiondb/TableIdentifier.html"><CODE>tables</CODE></A>, converting aliased or relative references into absolute ones.</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><A HREF="../../../org/axiondb/engine/SnapshotIsolationTransaction.html#rollback()">rollback</A></B>()</CODE>
<BR>
This transaction has been aborted.</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><A HREF="../../../org/axiondb/engine/SnapshotIsolationTransaction.html#rowDeleted(org.axiondb.event.RowEvent)">rowDeleted</A></B>(<A HREF="../../../org/axiondb/event/RowEvent.html">RowEvent</A> event)</CODE>
<BR>
</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><A HREF="../../../org/axiondb/engine/SnapshotIsolationTransaction.html#rowInserted(org.axiondb.event.RowEvent)">rowInserted</A></B>(<A HREF="../../../org/axiondb/event/RowEvent.html">RowEvent</A> event)</CODE>
<BR>
</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><A HREF="../../../org/axiondb/engine/SnapshotIsolationTransaction.html#rowUpdated(org.axiondb.event.RowEvent)">rowUpdated</A></B>(<A HREF="../../../org/axiondb/event/RowEvent.html">RowEvent</A> event)</CODE>
<BR>
</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><A HREF="../../../org/axiondb/engine/SnapshotIsolationTransaction.html#shutdown()">shutdown</A></B>()</CODE>
<BR>
Close this database and free any resources associated with it.</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><A HREF="../../../org/axiondb/engine/SnapshotIsolationTransaction.html#tableAltered(org.axiondb.Table)">tableAltered</A></B>(<A HREF="../../../org/axiondb/Table.html">Table</A> table)</CODE>
<BR>
Update metadata tables since this table has changed.</TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/Object.html">Object</A></B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/Object.html#clone()">clone</A>, <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/Object.html#finalize()">finalize</A>, <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/Object.html#getClass()">getClass</A>, <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/Object.html#notify()">notify</A>, <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/Object.html#toString()">toString</A>, <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/Object.html#wait()">wait</A>, <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/Object.html#wait(long)">wait</A>, <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/Object.html#wait(long, int)">wait</A></CODE></TD>
</TR>
</TABLE>
<P>
<!-- ============ FIELD DETAIL =========== -->
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="SnapshotIsolationTransaction(org.axiondb.Database)"><!-- --></A><H3>
SnapshotIsolationTransaction</H3>
<PRE>
public <B>SnapshotIsolationTransaction</B>(<A HREF="../../../org/axiondb/Database.html">Database</A> db)</PRE>
<DL>
</DL>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="getState()"><!-- --></A><H3>
getState</H3>
<PRE>
public int <B>getState</B>()</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../org/axiondb/Transaction.html">Transaction</A></CODE></B></DD>
<DD>Return my current transaction state. Returns one of <A HREF="../../../org/axiondb/Transaction.html#STATE_OPEN"><CODE>Transaction.STATE_OPEN</CODE></A>, <A HREF="../../../org/axiondb/Transaction.html#STATE_COMMITTED"><CODE>Transaction.STATE_COMMITTED</CODE></A>, <A HREF="../../../org/axiondb/Transaction.html#STATE_ABORTED"><CODE>Transaction.STATE_ABORTED</CODE></A>, <A HREF="../../../org/axiondb/Transaction.html#STATE_APPLIED"><CODE>Transaction.STATE_APPLIED</CODE></A>.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A HREF="../../../org/axiondb/Transaction.html#getState()">getState</A></CODE> in interface <CODE><A HREF="../../../org/axiondb/Transaction.html">Transaction</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="getName()"><!-- --></A><H3>
getName</H3>
<PRE>
public <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/String.html">String</A> <B>getName</B>()</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../org/axiondb/Database.html">Database</A></CODE></B></DD>
<DD>Returns the name of this <code>Database</code>.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A HREF="../../../org/axiondb/Database.html#getName()">getName</A></CODE> in interface <CODE><A HREF="../../../org/axiondb/Database.html">Database</A></CODE></DL>
</DD>
</DL>
<HR>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -