org.apache.derby.client.am
Class Section
- java.lang.Object
-
- org.apache.derby.client.am.Section
-
public class Section extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor and Description Section(Agent agent, java.lang.String name, int sectionNumber, java.lang.String cursorName, int resultSetHoldability, boolean isGenerated)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.lang.StringgetClientCursorName()java.lang.StringgetPackage()java.lang.StringgetPackageName()byte[]getPKGNAMCBytes()retrieve the package name and consistency token informationSectiongetPositionedUpdateSection()intgetSectionNumber()java.lang.StringgetServerCursorName()java.lang.StringgetServerCursorNameForPositionedUpdate()intgetStaticStatementType()booleanisReservedPositionedUpdate()voidsetClientCursorName(java.lang.String clientCursorName)voidsetCursorName(java.lang.String name)voidsetPKGNAMCBytes(byte[] b)Store the Packagename and consistency token information for reuse.
-
-
-
Constructor Detail
-
Section
public Section(Agent agent, java.lang.String name, int sectionNumber, java.lang.String cursorName, int resultSetHoldability, boolean isGenerated)
-
-
Method Detail
-
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
public java.lang.String getPackageName()
-
getSectionNumber
public int getSectionNumber()
-
getPackage
public java.lang.String getPackage()
-
getServerCursorName
public java.lang.String getServerCursorName()
-
getServerCursorNameForPositionedUpdate
public java.lang.String getServerCursorNameForPositionedUpdate()
-
getClientCursorName
public java.lang.String getClientCursorName()
-
setClientCursorName
public void setClientCursorName(java.lang.String clientCursorName)
-
isReservedPositionedUpdate
public boolean isReservedPositionedUpdate()
-
getStaticStatementType
public int getStaticStatementType()
-
getPositionedUpdateSection
public Section getPositionedUpdateSection() throws SqlException
- Throws:
SqlException
-
setCursorName
public void setCursorName(java.lang.String name)
-
-
DataMelt 3.0 © DataMelt by jWork.ORG