|
Oracle® Data Integrator Java API Reference 11g Release 1 (11.1.1.3.0) E17060-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.odi.domain.support.BusinessObject oracle.odi.domain.support.PersistableValue oracle.odi.domain.model.OdiColumn.FileDescriptor
public static class OdiColumn.FileDescriptor
Defines OdiColumn
properties that are specific to OdiColumns on
FILE technologies.
OdiColumn.setFileDescriptor(oracle.odi.domain.model.OdiColumn.FileDescriptor)
,
Serialized FormNested Class Summary | |
---|---|
static class |
OdiColumn.FileDescriptor.OnErrorOption
Defines the possible action in that can be taken during file loading if when the actual content of the file does not match the column definition. |
Field Summary | |
---|---|
static int |
DECIMAL_SEPARATOR_MAX_LENGTH
Maximum length supported for the "decimalSeparator" property. |
Constructor Summary | |
---|---|
OdiColumn.FileDescriptor()
Creates a new OdiColumn.FileDescriptor . |
|
OdiColumn.FileDescriptor(java.lang.Integer pStartPosition,
int pBytes,
java.lang.String pLogicalFormat,
java.lang.String[] pRecordCodes,
boolean pExcludeRecordCodes,
java.lang.String pDecimalSeparator,
OdiColumn.FileDescriptor.OnErrorOption pOnErrorOption)
Creates a new OdiColumn.FileDescriptor . |
|
OdiColumn.FileDescriptor(java.lang.Integer pStartPosition,
int pBytes,
java.lang.String pLogicalFormat,
java.lang.String pRecordCodes,
java.lang.String pDecimalSeparator,
OdiColumn.FileDescriptor.OnErrorOption pOnErrorOption)
Deprecated. |
Method Summary | |
---|---|
int |
getBytes()
Returns the physical length in bytes. |
java.lang.String |
getDecimalSeparator()
Returns the decimal separator. |
java.lang.String |
getLogicalFormat()
Returns the format used to parse date. |
OdiColumn.FileDescriptor.OnErrorOption |
getOnErrorOption()
Returns the OdiColumn.FileDescriptor.OnErrorOption for this column. |
java.lang.String[] |
getRecordCodeList()
Returns the record codes. |
java.lang.Integer |
getStartPosition()
Returns the start position of the column in the row. |
boolean |
isRecordCodesExcluded()
Returns true if the rows respecting the record codes will be
excluded instead of being included when loading the file. |
void |
setBytes(int pBytes)
Sets the physical length in bytes. |
void |
setDecimalSeparator(java.lang.String pDecimalSeparator)
Sets the separator used for decimal parsing. |
void |
setLogicalFormat(java.lang.String pLogicalFormat)
Sets the format used for date parsing. |
void |
setOnErrorOption(OdiColumn.FileDescriptor.OnErrorOption pOnErrorOption)
Sets the OdiColumn.FileDescriptor.OnErrorOption for this column. |
void |
setRecordCodeList(java.lang.String[] pRecordCodeList)
Sets the record codes. |
void |
setRecordCodesExcluded(boolean pExcludeRecordCodes)
Sets if the rows respecting the record codes will be excluded instead of being included when loading the file. |
void |
setStartPosition(java.lang.Integer pStartPosition)
Sets the start position of the column in the row. |
Methods inherited from class oracle.odi.domain.support.BusinessObject |
---|
clone |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int DECIMAL_SEPARATOR_MAX_LENGTH
setDecimalSeparator(String)
,
Constant Field ValuesConstructor Detail |
---|
public OdiColumn.FileDescriptor()
OdiColumn.FileDescriptor
.
public OdiColumn.FileDescriptor(java.lang.Integer pStartPosition, int pBytes, java.lang.String pLogicalFormat, java.lang.String[] pRecordCodes, boolean pExcludeRecordCodes, java.lang.String pDecimalSeparator, OdiColumn.FileDescriptor.OnErrorOption pOnErrorOption)
OdiColumn.FileDescriptor
.
pStartPosition
- the start position from the beginning of the row.pBytes
- the physical length of the column in bytes.pLogicalFormat
- the logical format used for dates.pRecordCodes
- the array of record codes.pExcludeRecordCodes
- if true
the rows respecting the
record codes will be excluded instead of being included when
loading the filepDecimalSeparator
- The decimal separator.pOnErrorOption
- The OnErrorOption@Deprecated public OdiColumn.FileDescriptor(java.lang.Integer pStartPosition, int pBytes, java.lang.String pLogicalFormat, java.lang.String pRecordCodes, java.lang.String pDecimalSeparator, OdiColumn.FileDescriptor.OnErrorOption pOnErrorOption)
OdiColumn.FileDescriptor
.
pStartPosition
- the start position from the beginning of the row.pBytes
- the physical length of the column in bytes.pLogicalFormat
- the logical format used for dates.pRecordCodes
- the list of record codes.pDecimalSeparator
- The decimal separator.pOnErrorOption
- The OnErrorOptionMethod Detail |
---|
public int getBytes()
setBytes(int)
public java.lang.String getDecimalSeparator()
setDecimalSeparator(String)
public java.lang.String getLogicalFormat()
setLogicalFormat(String)
public OdiColumn.FileDescriptor.OnErrorOption getOnErrorOption()
OdiColumn.FileDescriptor.OnErrorOption
for this column.
Default value is OdiColumn.FileDescriptor.OnErrorOption.FAIL
.
OdiColumn.FileDescriptor.OnErrorOption
setOnErrorOption(OnErrorOption)
public java.lang.String[] getRecordCodeList()
setRecordCodeList(String[] pRecordCodeList)
public java.lang.Integer getStartPosition()
setStartPosition(Integer)
public boolean isRecordCodesExcluded()
true
if the rows respecting the record codes will be
excluded instead of being included when loading the file.
setRecordCodesExcluded(boolean pExcludeRecordCodes)
public void setBytes(int pBytes)
pBytes
- the physical length.getBytes()
public void setDecimalSeparator(java.lang.String pDecimalSeparator)
pDecimalSeparator
- the decimal separator
java.lang.IllegalArgumentException
- if pDecimalSeparator is longer than
1getDecimalSeparator()
public void setLogicalFormat(java.lang.String pLogicalFormat)
pLogicalFormat
- the date format.getLogicalFormat()
public void setOnErrorOption(OdiColumn.FileDescriptor.OnErrorOption pOnErrorOption)
OdiColumn.FileDescriptor.OnErrorOption
for this column.
pOnErrorOption
- the OdiColumn.FileDescriptor.OnErrorOption
getOnErrorOption()
public void setRecordCodeList(java.lang.String[] pRecordCodeList)
pRecordCodeList
- the list of record codesgetRecordCodeList()
public void setRecordCodesExcluded(boolean pExcludeRecordCodes)
pExcludeRecordCodes
- records will be excluded if true
isRecordCodesExcluded()
public void setStartPosition(java.lang.Integer pStartPosition)
pStartPosition
- the start position.getStartPosition()
|
Oracle® Data Integrator Java API Reference 11g Release 1 (11.1.1.3.0) E17060-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |