|
Oracle® Data Integrator Java API Reference 11g Release 1 (11.1.1.7.0) E17060-04 |
|||||||||
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.String |
getRecordCodes() Deprecated. replaced by getRecordCodeList() |
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 |
setRecordCodes(java.lang.String pRecordCodes) Deprecated. replaced by setRecordCodeList(String[] pRecordCodeList) |
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
.
@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 OnErrorOptionpublic 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 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)
@Deprecated
public java.lang.String getRecordCodes()
getRecordCodeList()
setRecordCodes(String)
public java.lang.Integer getStartPosition()
setStartPosition(Integer)
public void setBytes(int pBytes)
pBytes
- the physical length.getBytes()
public void setDecimalSeparator(java.lang.String pDecimalSeparator)
pDecimalSeparator
- the decimal separatorDomainRuntimeException
- 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()
@Deprecated
public void setRecordCodes(java.lang.String pRecordCodes)
setRecordCodeList(String[] pRecordCodeList)
pRecordCodes
- the list of record codes separated by ";". The list have to be prefixed with $INC$ if the codes are included or by $EXC$ if the codes are excluded.getRecordCodes()
public void setStartPosition(java.lang.Integer pStartPosition)
pStartPosition
- the start position.getStartPosition()
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 setRecordCodesExcluded(boolean pExcludeRecordCodes)
pExcludeRecordCodes
- records will be excluded if true
isRecordCodesExcluded()
public java.lang.String[] getRecordCodeList()
setRecordCodeList(String[] pRecordCodeList)
public void setRecordCodeList(java.lang.String[] pRecordCodeList)
pRecordCodeList
- the list of record codesgetRecordCodeList()
|
Oracle® Data Integrator Java API Reference 11g Release 1 (11.1.1.7.0) E17060-04 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |