|
Oracle® Database XStream Java API Reference 11g Release 2 (11.2) E16674-02 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ChunkColumnValue
The ChunkColumnValue interface encapsulates the information about a LOB, LONG, or XMLTYPE column in a RowLCR. This interface allows large column data to be divided into small chunks and streamed.
You can have a customized implementation of ChunkColumnValue by implementing this interface.
RowLCR
Field Summary | |
---|---|
static int |
BLOB |
static int |
CLOB |
static int |
LONG |
static int |
LONGRAW |
static int |
NCLOB |
static int |
XMLTYPE |
Fields inherited from interface oracle.streams.ColumnValue |
---|
BINARY_DOUBLE, BINARY_FLOAT, CHAR, DATE, INTERVALDS, INTERVALYM, NUMBER, RAW, TIMESTAMP, TIMESTAMPLTZ, TIMESTAMPTZ |
Method Summary | |
---|---|
int |
getCharSetId() Gets the chunk character set ID. |
java.math.BigInteger |
getChunkOffset() Gets the chunk operation offset. |
java.math.BigInteger |
getChunkOperationSize() Gets the chunk operation size. |
int |
getChunkType() Gets the chunk type. |
boolean |
isEmptyChunk() Indicates whether the chunk is empty. |
boolean |
isEndOfRow() Indicates whether the chunk is the end of the entire row change. |
boolean |
isLastChunk() Indicates whether the chunk is the last one for the column. |
boolean |
isXMLDiff() Indicates whether the XMLType chunk is an XMLDiff. |
void |
setCharSetId(int charSetId) Sets the character set ID for an XMLTYPE chunk. |
void |
setChunkOffset(java.math.BigInteger chunkOffset) Sets the chunk operation offset. |
void |
setChunkOperationSize(java.math.BigInteger chunkOperationSize) Sets the chunk operation size. |
void |
setChunkType(int chunkType) Sets the chunk type. |
void |
setEmptyChunk(boolean emptyChunk) Sets the empty chunk flag. |
void |
setEndOfRow(boolean endOfRow) Sets the endOfRow chunk flag. |
void |
setLastChunk(boolean lastChunk) Sets the last chunk flag. |
void |
setXMLDiff(boolean xmlDiff) Sets the XMLDiff flag. |
Methods inherited from interface oracle.streams.ColumnValue |
---|
getCharsetId, getColumnData, getColumnDataType, getColumnName, getTDEFlag, setCharsetId, setColumnData, setColumnName, setTDEFlag |
Field Detail |
---|
static final int CLOB
static final int BLOB
static final int NCLOB
static final int XMLTYPE
static final int LONG
static final int LONGRAW
Method Detail |
---|
int getChunkType()
java.math.BigInteger getChunkOffset()
java.math.BigInteger getChunkOperationSize()
int getCharSetId()
void setChunkType(int chunkType) throws StreamsException
chunkType
- The chunk type as defined in this interfaceStreamsException
- is thrown if chunk type is invalid.void setChunkOffset(java.math.BigInteger chunkOffset)
chunkOffset
- The chunk operation offsetvoid setChunkOperationSize(java.math.BigInteger chunkOperationSize)
chunkOperationSize
- The chunk operation sizeboolean isLastChunk()
boolean isEmptyChunk()
boolean isXMLDiff()
boolean isEndOfRow()
void setEmptyChunk(boolean emptyChunk)
emptyChunk
- The empty chunk flagvoid setXMLDiff(boolean xmlDiff)
xmlDiff
- The XMLDiff flagvoid setLastChunk(boolean lastChunk)
lastChunk
- The last chunk flagvoid setEndOfRow(boolean endOfRow)
endOfRow
- The endOfRow chunk flagvoid setCharSetId(int charSetId)
charSetId
- The character set id
|
Oracle® Database XStream Java API Reference 11g Release 2 (11.2) E16674-02 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |