|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface QueryContext
Facts about a particular query including the root table sources, user name of the controlling context, sequence state, etc.
Method Summary | |
---|---|
void |
addMarkedTable(java.lang.String mark_name,
Table table)
Marks a table in a query plan. |
void |
clearCache()
Clears the cache of any cached tables. |
long |
currentSequenceValue(java.lang.String generator_name)
Returns the current sequence value returned for the given sequence generator within the connection defined by this context. |
Table |
getCachedNode(long id)
Returns a cached table or null if it isn't cached. |
FunctionLookup |
getFunctionLookup()
Returns a FunctionLookup object used to convert FunctionDef objects to Function objects when evaluating an expression. |
Table |
getMarkedTable(java.lang.String mark_name)
Returns a table that was marked in a query plan or null if no mark was found. |
TransactionSystem |
getSystem()
Returns a TransactionSystem object that is used to determine information about the transactional system. |
java.lang.String |
getUserName()
Returns the user name of the connection. |
long |
nextSequenceValue(java.lang.String generator_name)
Increments the sequence generator and returns the next unique key. |
void |
putCachedNode(long id,
Table table)
Put a Table into the cache. |
void |
setSequenceValue(java.lang.String generator_name,
long value)
Sets the current sequence value for the given sequence generator. |
Method Detail |
---|
TransactionSystem getSystem()
java.lang.String getUserName()
FunctionLookup getFunctionLookup()
long nextSequenceValue(java.lang.String generator_name)
long currentSequenceValue(java.lang.String generator_name)
void setSequenceValue(java.lang.String generator_name, long value)
void addMarkedTable(java.lang.String mark_name, Table table)
Table getMarkedTable(java.lang.String mark_name)
void putCachedNode(long id, Table table)
Table getCachedNode(long id)
void clearCache()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |