public class DefaultChunkColumnValue extends DefaultColumnValue implements ChunkColumnValue
RowLCRBLOB, CLOB, LONG, LONGRAW, NCLOB, XMLTYPEBINARY_DOUBLE, BINARY_FLOAT, CHAR, DATE, INTERVALDS, INTERVALYM, NUMBER, RAW, TIMESTAMP, TIMESTAMPLTZ, TIMESTAMPTZ| Constructor and Description |
|---|
DefaultChunkColumnValue(java.lang.String columnName, oracle.sql.Datum columnData, int chunkType)
Constructs a DefaultChunkColumnValue object with the column information.
|
DefaultChunkColumnValue(java.lang.String columnName, oracle.sql.Datum columnData, int chunkType, java.math.BigInteger chunkOffset, java.math.BigInteger chunkOperationSize)
Constructs a DefaultChunkColumnValue object with the column information.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getCharSetId()
Gets the chunk character set identifier (ID) for an XMLTYPE chunk
The character set ID indicates the character set used to interpret the XMLTYPE chunk data. |
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 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 |
setColumnData(oracle.sql.Datum columnData)
Sets the column data for a ChunkColumnValue.
|
void |
setColumnData(oracle.sql.Datum columnData, int columnDataType)
Sets the column data.
|
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.
|
java.lang.String |
toString() |
getCharsetId, getColumnData, getColumnDataType, getColumnName, getTDEFlag, is32kData, set32kData, setCharsetId, setColumnName, setTDEFlagequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetCharsetId, getColumnData, getColumnDataType, getColumnName, getTDEFlag, is32kData, set32kData, setCharsetId, setColumnName, setTDEFlagpublic DefaultChunkColumnValue(java.lang.String columnName,
oracle.sql.Datum columnData,
int chunkType)
throws StreamsException
columnName - The column name, cannot be NULLcolumnData - The column data, can be NULL. If NULL is used, a valid chunk type must be specified.chunkType - The chunk type as defined in ChunkColumnValueStreamsException - is thrown if columnName is NULLpublic DefaultChunkColumnValue(java.lang.String columnName,
oracle.sql.Datum columnData,
int chunkType,
java.math.BigInteger chunkOffset,
java.math.BigInteger chunkOperationSize)
throws StreamsException
columnName - The column name, cannot be NULLcolumnData - The column data, can be NULL. If NULL is used, a valid chunk type must be specified.chunkType - The chunk type as defined in ChunkColumnValuechunkOffset - The chunk operation offsetchunkOperationSize - The chunk operation sizeStreamsException - is thrown if chunkType is invalidpublic int getChunkType()
getChunkType in interface ChunkColumnValuepublic void setChunkType(int chunkType)
throws StreamsException
setChunkType in interface ChunkColumnValuechunkType - The chunk type as defined in ChunkColumnValueStreamsException - is thrown if chunk type is unsupportedpublic void setColumnData(oracle.sql.Datum columnData)
columnData - The column data, instance of oracle.sql.Datum subclass.public void setColumnData(oracle.sql.Datum columnData,
int columnDataType)
throws StreamsException
setColumnData in interface ColumnValuesetColumnData in class DefaultColumnValuecolumnData - The column data, instance of oracle.sql.Datum subclasses.columnDataType - The column data type as defined in ColumnValue.StreamsException - is thrown if the columnData is NULL and the columnDataType maintained internally is invalid.public java.math.BigInteger getChunkOffset()
getChunkOffset in interface ChunkColumnValuepublic int getCharSetId()
getCharSetId in interface ChunkColumnValuepublic void setChunkOffset(java.math.BigInteger chunkOffset)
setChunkOffset in interface ChunkColumnValuechunkOffset - The chunk operation offsetpublic java.math.BigInteger getChunkOperationSize()
getChunkOperationSize in interface ChunkColumnValuepublic void setChunkOperationSize(java.math.BigInteger chunkOperationSize)
setChunkOperationSize in interface ChunkColumnValuechunkOperationSize - The chunk operation sizepublic boolean isLastChunk()
isLastChunk in interface ChunkColumnValuepublic boolean isEmptyChunk()
isEmptyChunk in interface ChunkColumnValuepublic boolean isXMLDiff()
isXMLDiff in interface ChunkColumnValuepublic boolean isEndOfRow()
isEndOfRow in interface ChunkColumnValuepublic void setLastChunk(boolean lastChunk)
setLastChunk in interface ChunkColumnValuelastChunk - The last chunk flagpublic void setEmptyChunk(boolean emptyChunk)
setEmptyChunk in interface ChunkColumnValueemptyChunk - The empty chunk flagpublic void setXMLDiff(boolean xmlDiff)
setXMLDiff in interface ChunkColumnValuexmlDiff - The XMLDiff flagpublic void setEndOfRow(boolean endOfRow)
setEndOfRow in interface ChunkColumnValueendOfRow - The endOfRow chunk flagpublic void setCharSetId(int charSetId)
setCharSetId in interface ChunkColumnValuecharSetId - The character set idpublic java.lang.String toString()
toString in class DefaultColumnValue