|
Oracle® Database XStream Java API Reference 12c Release 1 (12.1) E17774-03 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
oracle.streams.DefaultColumnValue
oracle.streams.DefaultChunkColumnValue
public class DefaultChunkColumnValue
The DefaultChunkColumnValue class provides an Oracle default implementation of the ChunkColumnValue interface.
RowLCR| Field Summary |
|---|
| Fields inherited from interface oracle.streams.ChunkColumnValue |
|---|
BLOB, CLOB, LONG, LONGRAW, NCLOB, XMLTYPE |
| Fields inherited from interface oracle.streams.ColumnValue |
|---|
BINARY_DOUBLE, BINARY_FLOAT, CHAR, DATE, INTERVALDS, INTERVALYM, NUMBER, RAW, TIMESTAMP, TIMESTAMPLTZ, TIMESTAMPTZ |
| Constructor Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
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() |
| Methods inherited from class oracle.streams.DefaultColumnValue |
|---|
getCharsetId, getColumnData, getColumnDataType, getColumnName, getTDEFlag, is32kData, set32kData, setCharsetId, setColumnName, setTDEFlag |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface oracle.streams.ColumnValue |
|---|
getCharsetId, getColumnData, getColumnDataType, getColumnName, getTDEFlag, is32kData, set32kData, setCharsetId, setColumnName, setTDEFlag |
| Constructor Detail |
|---|
public 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 NULL
public 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 invalid| Method Detail |
|---|
public int getChunkType()
getChunkType in interface ChunkColumnValue
public 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
|
Oracle® Database XStream Java API Reference 12c Release 1 (12.1) E17774-03 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||