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 |
Section(Agent agent,
java.lang.String name,
int sectionNumber,
java.lang.String cursorName,
int resultSetHoldability)
|
Section(Agent agent,
java.lang.String name,
int sectionNumber,
java.lang.String cursorName,
int resultSetHoldability,
boolean isGenerated)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
sectionNumber
protected int sectionNumber
packageName
protected java.lang.String packageName
serverCursorName
protected java.lang.String serverCursorName
resultSetHoldability_
int resultSetHoldability_
PKGNAMCBytes
byte[] PKGNAMCBytes
isGenerated
boolean isGenerated
serverCursorNameForPositionedUpdate_
public java.lang.String serverCursorNameForPositionedUpdate_
clientCursorName_
protected transient java.lang.String clientCursorName_
agent_
protected Agent agent_
Section
public Section(Agent agent,
java.lang.String name,
int sectionNumber,
java.lang.String cursorName,
int resultSetHoldability)
Section
public Section(Agent agent,
java.lang.String name,
int sectionNumber,
java.lang.String cursorName,
int resultSetHoldability,
boolean isGenerated)
init
private void init(Agent agent,
java.lang.String name,
int sectionNumber,
java.lang.String cursorName,
int resultSetHoldability,
boolean isGenerated)
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
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)
free
public void free()
isReservedPositionedUpdate
public boolean isReservedPositionedUpdate()
getStaticStatementType
public int getStaticStatementType()
getPositionedUpdateSection
public Section getPositionedUpdateSection()
throws SqlException
- Throws:
SqlException
setCursorName
public void setCursorName(java.lang.String name)
Apache Derby V10.6 Internals - Copyright © 2004,2007 The Apache Software Foundation. All Rights Reserved.