com.ibm.ims.db
Class DLIClobSegmentStream

java.lang.Object
  |
  +--com.ibm.ims.db.DLIClobSegmentStream
All Implemented Interfaces:
DLISegmentStream

public class DLIClobSegmentStream
extends java.lang.Object
implements DLISegmentStream

This is the implementation for segment producing streams like used by the clob or XMSShredder.


Field Summary
protected  int baseFieldOffset
           
protected  short baseFieldSize
           
protected static int CLOB_VERSION
           
protected  int clobLength
           
protected  boolean moreSegments
           
protected static int moreSegmentsMask
           
protected  char[] nextCharArea
           
protected  int nextCharLength
           
protected  byte[] overflowIOArea
           
protected  DLISegment overflowSegment
           
protected  short overflowSize
           
protected  java.io.Reader reader
           
protected static int segmentLengthMask
           
protected  short seq
           
 
Method Summary
 boolean fillTopSegment(DLISegment topSegment)
           
 DLISegment getSegment()
           
 boolean moreSegments()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

moreSegments

protected boolean moreSegments

reader

protected java.io.Reader reader

clobLength

protected int clobLength

baseFieldSize

protected short baseFieldSize

baseFieldOffset

protected int baseFieldOffset

overflowSegment

protected DLISegment overflowSegment

overflowIOArea

protected byte[] overflowIOArea

overflowSize

protected short overflowSize

nextCharLength

protected int nextCharLength

nextCharArea

protected char[] nextCharArea

seq

protected short seq

CLOB_VERSION

protected static final int CLOB_VERSION

moreSegmentsMask

protected static final int moreSegmentsMask

segmentLengthMask

protected static final int segmentLengthMask
Method Detail

fillTopSegment

public boolean fillTopSegment(DLISegment topSegment)
                       throws java.io.IOException,
                              DLIException
Specified by:
fillTopSegment in interface DLISegmentStream

moreSegments

public boolean moreSegments()
                     throws java.io.IOException
Specified by:
moreSegments in interface DLISegmentStream

getSegment

public DLISegment getSegment()
                      throws java.io.IOException,
                             DLIException
Specified by:
getSegment in interface DLISegmentStream


(C) International Business Machines Corporation 2004. All rights reserved.