public class SectionManager extends Object
| Modifier and Type | Field and Description |
|---|---|
byte[] |
holdPKGNAMCBytes |
byte[] |
noHoldPKGNAMCBytes |
| Constructor and Description |
|---|
SectionManager(String collection,
Agent agent,
String databaseName) |
| Modifier and Type | Method and Description |
|---|---|
void |
freeSection(Section section,
int resultSetHoldability) |
Section |
getDynamicSection(int resultSetHoldability) |
protected Section |
getSection(Stack freeSections,
String packageName,
String cursorNamePrefix,
int resultSetHoldability) |
void |
setPKGNAMCBytes(byte[] b,
int resultSetHoldability)
Store the Packagename and consistency token information This is called from Section.setPKGNAMCBytes
|
public byte[] holdPKGNAMCBytes
public byte[] noHoldPKGNAMCBytes
public void setPKGNAMCBytes(byte[] b,
int resultSetHoldability)
b - bytearray that has the PKGNAMC information to be storedresultSetHoldability - depending on the holdability store it in the correct byte array packagename and
consistency token information for when holdability is set to HOLD_CURSORS_OVER_COMMIT
is stored in holdPKGNAMCBytes and in noHoldPKGNAMCBytes when holdability is set to
CLOSE_CURSORS_AT_COMMITpublic Section getDynamicSection(int resultSetHoldability) throws SqlException
SqlExceptionprotected Section getSection(Stack freeSections, String packageName, String cursorNamePrefix, int resultSetHoldability) throws SqlException
SqlExceptionpublic void freeSection(Section section, int resultSetHoldability)
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.