public interface QueryContext
Modifier and Type | Method and Description |
---|---|
void |
addMarkedTable(String mark_name,
Table table)
Marks a table in a query plan.
|
void |
clearCache()
Clears the cache of any cached tables.
|
long |
currentSequenceValue(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(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.
|
String |
getUserName()
Returns the user name of the connection.
|
long |
nextSequenceValue(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(String generator_name,
long value)
Sets the current sequence value for the given sequence generator.
|
TransactionSystem getSystem()
String getUserName()
FunctionLookup getFunctionLookup()
long nextSequenceValue(String generator_name)
long currentSequenceValue(String generator_name)
void setSequenceValue(String generator_name, long value)
Table getMarkedTable(String mark_name)
void putCachedNode(long id, Table table)
Table getCachedNode(long id)
void clearCache()
Copyright © 2015. All rights reserved.