|
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.AbstractRepositoryEntity
oracle.odi.domain.support.AbstractOdiEntity
oracle.odi.domain.topology.AbstractOdiDataServer
oracle.odi.domain.topology.OdiDataServer
public class OdiDataServer
An OdiDataServer is a data server that is defined for a technology into the physical topology of ODI. An instance of OdiDataServer belong to a single instance of OdiTechnology and should be used to manage the collection of OdiPhysicalSchema that belong to an instance of OdiDataServer.
The OdiDataServer class contains informations to connect to the described data server and how to manage that connection with properties like "fetchArraySize" and "batchUpdateSize".
OdiTechnology, Serialized Form| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class oracle.odi.domain.topology.AbstractOdiDataServer |
|---|
AbstractOdiDataServer.Axis2DeploymentSettings, AbstractOdiDataServer.DirectoryDeploymentSettings, AbstractOdiDataServer.FtpDeploymentSettings, AbstractOdiDataServer.IConnectionSettings, AbstractOdiDataServer.JdbcSettings, AbstractOdiDataServer.JndiSettings, AbstractOdiDataServer.WsContainerSettings |
| Field Summary |
|---|
| Fields inherited from class oracle.odi.domain.support.AbstractOdiEntity |
|---|
STARTING_INTERNAL_VERSION |
| Constructor Summary | |
|---|---|
OdiDataServer(OdiTechnology pTechnology, java.lang.String pName)Construct a new OdiDataServer. |
|
| Method Summary | |
|---|---|
int |
getBatchUpdateSize()Returns the batch update size that should be used when querying this data server. |
AbstractOdiDataServer.IConnectionSettings |
getConnectionSettings()Returns the AbstractOdiDataServer.IConnectionSettings defined for this data server. |
OdiPhysicalSchema |
getDefaultPhysicalSchema()Looks up the default physical schema for this OdiDataServer from its associated physical schemas. |
int |
getFetchArraySize()Returns the fetch array size that should be used when querying this data server. |
java.util.Collection<IFlexFieldValue> |
getFlexFieldsValues()Obtains flex fields values related to this IFlexFieldUser. |
java.lang.String |
getName()Return the name of this OdiDataServer. |
java.util.Collection<OdiPhysicalSchema> |
getPhysicalSchemas()Obtains an unmodifable collection of OdiPhysicalSchemas that belongs to this OdiDataServer. |
java.lang.String |
getServerInstanceName()Return the server instance name that can be used for some technology (i.e. |
OdiTechnology |
getTechnology()Returns the technology to which this data server is linked. |
void |
initFlexFields(IOdiFlexFieldFinder pOdiFlexFieldFinder)Initialize flex fields related to this IFlexFieldUser. |
void |
removePhysicalSchema(OdiPhysicalSchema pPhysicalSchema)Remove the given OdiPhysicalSchema from the collection of OdiPhysicalSchemas. |
void |
setBatchUpdateSize(int pBatchUpdateSize)Sets the batch update size that should be used when querying this data server. |
void |
setConnectionSettings(AbstractOdiDataServer.IConnectionSettings pSettings)Defines the connection settings for this AbstractOdiDataServer. |
void |
setDefaultPhysicalSchema(OdiPhysicalSchema pPSchema)Defines the specified OdiPhysicalSchema as the new default physical schema. |
void |
setFetchArraySize(int pFetchArraySize)Sets the fetch array size that should be used when querying this data server. |
void |
setName(java.lang.String pName)Define the name of this OdiDataServer. |
void |
setServerInstanceName(java.lang.String pServerInstanceName)Defines the server instance name to be used for this OdiDataServer. |
| Methods inherited from class oracle.odi.domain.topology.AbstractOdiDataServer |
|---|
getDataServerId, getInternalId, getPassword, getSecurityContainer, getUsername, setPassword, setUsername |
| Methods inherited from class oracle.odi.domain.support.AbstractOdiEntity |
|---|
equals, getFirstDate, getFirstUser, getInternalVersion, getLastDate, getLastUser, hashCode, isInstanceLevelSecurityNeeded, isNew, toString |
| Methods inherited from class oracle.odi.domain.support.BusinessObject |
|---|
clone |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface oracle.odi.domain.IOdiEntity |
|---|
getFirstDate, getFirstUser, getLastDate, getLastUser, isInstanceLevelSecurityNeeded |
| Methods inherited from interface oracle.odi.domain.IRepositoryEntity |
|---|
getInternalId, getSecurityContainer |
| Constructor Detail |
|---|
public OdiDataServer(OdiTechnology pTechnology,
java.lang.String pName)
OdiDataServer.
This will adds this new data server to the given OdiTechnology's data servers.
pTechnology - the technology the OdiDataServer belongs topName - the data server's name| Method Detail |
|---|
public int getBatchUpdateSize()
setBatchUpdateSize(int)public void setBatchUpdateSize(int pBatchUpdateSize)
Default is 30.
pBatchUpdateSize - batch size to setgetBatchUpdateSize()public int getFetchArraySize()
setFetchArraySize(int)public void setFetchArraySize(int pFetchArraySize)
Default is 30.
pFetchArraySize - fetch size to setgetFetchArraySize()public java.lang.String getServerInstanceName()
null if none.OdiTechnology.isInstanceServerSupported(), setServerInstanceName(String)public void setServerInstanceName(java.lang.String pServerInstanceName)
OdiDataServer.
If the technology of that data server doesn't support it, this property won't be used.
pServerInstanceName - the server instance nameOdiTechnology.isInstanceServerSupported(), getServerInstanceName()public OdiPhysicalSchema getDefaultPhysicalSchema()
OdiDataServer from its associated physical schemas.OdiPhysicalSchema.isDefaultPhysicalSchema()public java.util.Collection<OdiPhysicalSchema> getPhysicalSchemas()
OdiPhysicalSchemas that belongs to this OdiDataServer.OdiPhysicalSchemaspublic void removePhysicalSchema(OdiPhysicalSchema pPhysicalSchema)
OdiPhysicalSchema from the collection of OdiPhysicalSchemas. This will also reset the OdiDataServer of the given OdiPhysicalSchema to null.
If the removed OdiPhysicalSchema is the default one then this method will assign the default OdiPhysicalSchema status to the first one found from the physical schemas of this data server.
pPhysicalSchema - physical schema to removeDomainRuntimeException - if pPhysicalSchema is null or does not belong to this OdiDataServerpublic void setDefaultPhysicalSchema(OdiPhysicalSchema pPSchema)
OdiPhysicalSchema as the new default physical schema.
Since only one default schema is allowed per OdiDataServer, any previous default schema will no longer be defined as default schema.
pPSchema - the new default schemapublic java.lang.String getName()
OdiDataServer.getName in interface IOdiEntitygetName in class oracle.odi.domain.support.AbstractOdiEntitysetName(String)public void setName(java.lang.String pName)
OdiDataServer.pName - the name to setDomainRuntimeException - if the name is null or emptygetName()public OdiTechnology getTechnology()
public void setConnectionSettings(AbstractOdiDataServer.IConnectionSettings pSettings)
AbstractOdiDataServerAbstractOdiDataServer.setConnectionSettings in class AbstractOdiDataServerpSettings - the connection settings of this data servergetConnectionSettings()public AbstractOdiDataServer.IConnectionSettings getConnectionSettings()
AbstractOdiDataServerAbstractOdiDataServer.IConnectionSettings defined for this data server.getConnectionSettings in class AbstractOdiDataServerAbstractOdiDataServer.setConnectionSettings(IConnectionSettings)public java.util.Collection<IFlexFieldValue> getFlexFieldsValues()
IFlexFieldUserIFlexFieldUser.getFlexFieldsValues in interface IFlexFieldUserpublic void initFlexFields(IOdiFlexFieldFinder pOdiFlexFieldFinder)
IFlexFieldUserIFlexFieldUser.initFlexFields in interface IFlexFieldUserpOdiFlexFieldFinder - OdiFlexField finder to be used to query flex fields
|
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 | |||||||||