|
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 |
java.lang.Object
oracle.streams.DefaultColumnValue
public class DefaultColumnValue
The DefaultColumnValue class provides an Oracle default implementation of ColumnValue interface.
RowLCR
Field Summary |
---|
Fields inherited from interface oracle.streams.ColumnValue |
---|
BINARY_DOUBLE, BINARY_FLOAT, CHAR, DATE, INTERVALDS, INTERVALYM, NUMBER, RAW, TIMESTAMP, TIMESTAMPLTZ, TIMESTAMPTZ |
Constructor Summary | |
---|---|
DefaultColumnValue(java.lang.String columnName, oracle.sql.Datum columnData) Constructs a DefaultColumnValue object with columnName and columnData. This constructor can be used when columnData is not null. |
|
DefaultColumnValue(java.lang.String columnName, oracle.sql.Datum columnData, int columnDataType) Constructs a DefaultColumnValue object with columnName, columnData, and columnDataType. When columnData is NULL, a valid columnDataType is expected. |
Method Summary | |
---|---|
int |
getCharsetId() Gets the column character set identifier (ID). |
oracle.sql.Datum |
getColumnData() Gets the column data. |
int |
getColumnDataType() Gets the column data type as defined in ColumnValue interface. |
java.lang.String |
getColumnName() Gets the column name. |
boolean |
getTDEFlag() Gets the Transparent Data Encryption (TDE) flag. |
void |
setCharsetId(int charsetId) Sets the Oracle character set ID for the column. |
void |
setColumnData(oracle.sql.Datum columnData, int columnDataType) Sets the column data. |
void |
setColumnName(java.lang.String columnName) Sets the column name. |
void |
setTDEFlag(boolean tdeFlag) Sets the TDE flag. |
java.lang.String |
toString() |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DefaultColumnValue(java.lang.String columnName, oracle.sql.Datum columnData, int columnDataType) throws StreamsException
columnName
- The column name, cannot be NULLcolumnData
- The column data.columnDataType
- The column data type.StreamsException
- is thrown if the columnName is NULL, or the columnData is NULL and the columnDataType is invalidpublic DefaultColumnValue(java.lang.String columnName, oracle.sql.Datum columnData) throws StreamsException
columnName
- the column name, cannot be NULL.columnData
- the column data, cannot be NULL.StreamsException
- is thrown if the columnData is NULL and the columnDataType is invalid.Method Detail |
---|
public java.lang.String getColumnName()
getColumnName
in interface ColumnValue
public void setColumnName(java.lang.String columnName)
setColumnName
in interface ColumnValue
columnName
- The column name.public oracle.sql.Datum getColumnData()
getColumnData
in interface ColumnValue
public void setColumnData(oracle.sql.Datum columnData, int columnDataType) throws StreamsException
setColumnData
in interface ColumnValue
columnData
- 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 is invalid.public int getColumnDataType()
getColumnDataType
in interface ColumnValue
public boolean getTDEFlag()
getTDEFlag
in interface ColumnValue
public void setTDEFlag(boolean tdeFlag)
setTDEFlag
in interface ColumnValue
tdeFlag
- A boolean value indicates whether TDE Flag should be set.public void setCharsetId(int charsetId)
setCharsetId
in interface ColumnValue
charsetId
- The character set ID.CharacterSet
public int getCharsetId()
getCharsetId
in interface ColumnValue
CharacterSet
public java.lang.String toString()
toString
in class java.lang.Object
|
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 |