java.lang.Object
org.apache.derby.client.am.SectionManager
- public class SectionManager
- extends java.lang.Object
|
Method Summary |
void |
freeSection(Section section,
int resultSetHoldability)
|
Section |
getDynamicSection(int resultSetHoldability)
|
(package private) ResultSet |
getPositionedUpdateResultSet(java.lang.String cursorName)
|
(package private) Section |
getPositionedUpdateSection(Section querySection)
|
(package private) Section |
getPositionedUpdateSection(java.lang.String cursorName,
boolean useExecuteImmediateSection)
|
protected Section |
getSection(java.util.Stack freeSections,
java.lang.String packageName,
java.lang.String cursorNamePrefix,
int resultSetHoldability)
|
(package private) void |
mapCursorNameToQuerySection(java.lang.String cursorName,
Section section)
|
(package private) void |
mapCursorNameToResultSet(java.lang.String cursorName,
ResultSet resultSet)
|
(package private) void |
removeCursorNameToQuerySectionMapping(java.lang.String clientCursorName,
java.lang.String serverCursorName)
|
(package private) void |
removeCursorNameToResultSetMapping(java.lang.String clientCursorName,
java.lang.String serverCursorName)
|
void |
setPKGNAMCBytes(byte[] b,
int resultSetHoldability)
Store the Packagename and consistency token information This is called from Section.setPKGNAMCBytes |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
collection_
java.lang.String collection_
agent_
Agent agent_
HOLD
static final int HOLD
- See Also:
- Constant Field Values
NO_HOLD
static final int NO_HOLD
- See Also:
- Constant Field Values
freeSectionsNonHold_
java.util.Stack freeSectionsNonHold_
freeSectionsHold_
java.util.Stack freeSectionsHold_
nextAvailableSectionNumber_
int nextAvailableSectionNumber_
holdPKGNAMCBytes
public static byte[] holdPKGNAMCBytes
noHoldPKGNAMCBytes
public static byte[] noHoldPKGNAMCBytes
packageNameWithHold__
static final java.lang.String packageNameWithHold__
- See Also:
- Constant Field Values
packageNameWithNoHold__
static final java.lang.String packageNameWithNoHold__
- See Also:
- Constant Field Values
cursorNamePrefixWithHold__
static final java.lang.String cursorNamePrefixWithHold__
- See Also:
- Constant Field Values
cursorNamePrefixWithNoHold__
static final java.lang.String cursorNamePrefixWithNoHold__
- See Also:
- Constant Field Values
positionedUpdateCursorNameToQuerySection_
private java.util.Hashtable positionedUpdateCursorNameToQuerySection_
positionedUpdateCursorNameToResultSet_
private java.util.Hashtable positionedUpdateCursorNameToResultSet_
databaseName
java.lang.String databaseName
maxNumSections_
int maxNumSections_
SectionManager
public SectionManager(java.lang.String collection,
Agent agent,
java.lang.String databaseName)
setPKGNAMCBytes
public void setPKGNAMCBytes(byte[] b,
int resultSetHoldability)
- Store the Packagename and consistency token information This is called from Section.setPKGNAMCBytes
getDynamicSection
public Section getDynamicSection(int resultSetHoldability)
throws SqlException
getSection
protected Section getSection(java.util.Stack freeSections,
java.lang.String packageName,
java.lang.String cursorNamePrefix,
int resultSetHoldability)
throws SqlException
freeSection
public void freeSection(Section section,
int resultSetHoldability)
getPositionedUpdateSection
Section getPositionedUpdateSection(Section querySection)
throws SqlException
getPositionedUpdateSection
Section getPositionedUpdateSection(java.lang.String cursorName,
boolean useExecuteImmediateSection)
throws SqlException
mapCursorNameToQuerySection
void mapCursorNameToQuerySection(java.lang.String cursorName,
Section section)
mapCursorNameToResultSet
void mapCursorNameToResultSet(java.lang.String cursorName,
ResultSet resultSet)
getPositionedUpdateResultSet
ResultSet getPositionedUpdateResultSet(java.lang.String cursorName)
throws SqlException
removeCursorNameToResultSetMapping
void removeCursorNameToResultSetMapping(java.lang.String clientCursorName,
java.lang.String serverCursorName)
removeCursorNameToQuerySectionMapping
void removeCursorNameToQuerySectionMapping(java.lang.String clientCursorName,
java.lang.String serverCursorName)