org.apache.derby.client.am
Class Section

java.lang.Object
  extended by org.apache.derby.client.am.Section

public class Section
extends java.lang.Object


Field Summary
protected  Agent agent_
           
protected  java.lang.String clientCursorName_
           
(package private)  boolean isGenerated
           
protected  java.lang.String packageName
           
(package private)  byte[] PKGNAMCBytes
           
(package private)  int resultSetHoldability_
           
protected  int sectionNumber
           
protected  java.lang.String serverCursorName
           
 java.lang.String serverCursorNameForPositionedUpdate_
           
 
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)
           
 
Method Summary
 void free()
           
 java.lang.String getClientCursorName()
           
 java.lang.String getPackage()
           
 java.lang.String getPackageName()
           
 byte[] getPKGNAMCBytes()
          retrieve the package name and consistency token information
 Section getPositionedUpdateSection()
           
 int getSectionNumber()
           
 java.lang.String getServerCursorName()
           
 java.lang.String getServerCursorNameForPositionedUpdate()
           
 int getStaticStatementType()
           
private  void init(Agent agent, java.lang.String name, int sectionNumber, java.lang.String cursorName, int resultSetHoldability, boolean isGenerated)
           
 boolean isReservedPositionedUpdate()
           
 void setClientCursorName(java.lang.String clientCursorName)
           
 void setCursorName(java.lang.String name)
           
 void setPKGNAMCBytes(byte[] b)
          Store the Packagename and consistency token information for reuse.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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_
Constructor Detail

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)
Method Detail

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)

Built on Thu 2012-03-29 21:53:33+0000, from revision ???

Apache Derby V10.6 Internals - Copyright © 2004,2007 The Apache Software Foundation. All Rights Reserved.