Skip navigation links
com.splicemachine.db.iapi.store.raw

Interface RawStoreFactory

Parameters:
contextMgr - is the context manager to use. An exception will be thrown if context is not the current context.
transName - is the name of the transaction. Thsi name will be displayed by the transactiontable VTI.
Throws:
StandardException - Standard Derby error policy
See Also:
Transaction, Context, StandardException
Only one user transaction can be active in a context at any one time. After a commit the transaction may be re-used.

Raw Store Transaction Context Behaviour
The cleanupOnError() method of this context behaves as follows:

Parameters:
contextMgr - is the context manager to use. An exception will be thrown if context is not the current context.
format_id - the format id part of the Xid - ie. Xid.getFormatId().
global_id - the global transaction identifier part of XID - ie. Xid.getGlobalTransactionId().
local_id - The branch qualifier of the Xid - ie. Xid.getBranchQaulifier()
Throws:
StandardException - Standard Derby error policy
See Also:
Transaction, Context, StandardException

AN internal transaction is identical to a user transaction with the exception that

Only one internal transaction can be active in a context at any one time. After a commit the transaction may be re-used.

Raw Store Internal Transaction Context Behaviour
The cleanupOnError() method of this context behaves as follows:

Throws:
StandardException - Standard Derby error policy
See Also:
Transaction, Context, StandardException
Only one user transaction and one nested user transaction can be active in a context at any one time. After a commit the transaction may be re-used.

Raw Store Transaction Context Behaviour
The cleanupOnError() method of this context behaves as follows:

Parameters:
compatibilitySpace - compatibility space to use for locks.
contextMgr - is the context manager to use. An exception will be thrown if context is not the current context.
transName - is the name of the transaction. This name will be displayed by the transactiontable VTI.
Throws:
StandardException - Standard Derby error policy
See Also:
Transaction, Context, StandardException
Only one user transaction and one nested user transaction can be active in a context at any one time. After a commit the transaction may be re-used.

Raw Store Transaction Context Behaviour
The cleanupOnError() method of this context behaves as follows:

Parameters:
contextMgr - is the context manager to use. An exception will be thrown if context is not the current context.
transName - is the name of the transaction. This name will be displayed by the transactiontable VTI.
flush_log_on_xact_end - By default should the transaction commit and abort be synced to the log. Normal usage should pick true, unless there is specific performance need and usage works correctly if a commit can be lost on system crash.
Throws:
StandardException - Standard Derby error policy
See Also:
Transaction, Context, StandardException
Skip navigation links