Class Section
java.lang.Object
org.apache.derby.client.am.Section
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) voidfree()byte[]retrieve the package name and consistency token informationintintprivate voidinit(Agent agent, String name, int sectionNumber, String cursorName, int resultSetHoldability, boolean isGenerated) booleanvoidsetClientCursorName(String clientCursorName) voidsetCursorName(String name) voidsetPKGNAMCBytes(byte[] b) Store the Packagename and consistency token information for reuse.
-
Field Details
-
sectionNumber
private int sectionNumber -
packageName
-
serverCursorName
-
resultSetHoldability_
private int resultSetHoldability_ -
PKGNAMCBytes
private byte[] PKGNAMCBytes -
isGenerated
private boolean isGenerated -
agent_
-
serverCursorNameForPositionedUpdate_
String serverCursorNameForPositionedUpdate_ -
clientCursorName_
-
-
Constructor Details
-
Section
-
Section
-
-
Method Details
-
init
-
setPKGNAMCBytes
public void setPKGNAMCBytes(byte[] b) Store the Packagename and consistency token information for reuse.- Case 1: if it is generated section, just store the byte array in PKGNAMCBytes.
- Case 2: for not a generated section, information is stored in the correct byte array depending on the holdability in SectionManager.
- Parameters:
b- the Packagename and consistency token information to store; should never be null.
-
getPKGNAMCBytes
public byte[] getPKGNAMCBytes()retrieve the package name and consistency token information -
getPackageName
-
getSectionNumber
public int getSectionNumber() -
getPackage
-
getServerCursorName
-
getServerCursorNameForPositionedUpdate
-
getClientCursorName
-
setClientCursorName
-
free
void free() -
isReservedPositionedUpdate
public boolean isReservedPositionedUpdate() -
getStaticStatementType
public int getStaticStatementType() -
getPositionedUpdateSection
- Throws:
SqlException
-
setCursorName
-