|
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.Objectoracle.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.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 |
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 |
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 AbstractOdiDataServer.IConnectionSettings getConnectionSettings()
AbstractOdiDataServerAbstractOdiDataServer.IConnectionSettings defined for this data server.
getConnectionSettings in class AbstractOdiDataServerAbstractOdiDataServer.setConnectionSettings(IConnectionSettings)public OdiPhysicalSchema getDefaultPhysicalSchema()
OdiDataServer from
its associated physical schemas.
OdiPhysicalSchema.isDefaultPhysicalSchema()public int getFetchArraySize()
setFetchArraySize(int)public java.lang.String getName()
OdiDataServer.
getName in interface IOdiEntitygetName in class oracle.odi.domain.support.AbstractOdiEntitysetName(String)public java.util.Collection<OdiPhysicalSchema> getPhysicalSchemas()
OdiPhysicalSchemas that belongs
to this OdiDataServer.
OdiPhysicalSchemaspublic java.lang.String getServerInstanceName()
null if none.
OdiTechnology.isInstanceServerSupported(),
setServerInstanceName(String)public OdiTechnology getTechnology()
public 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 remove
java.lang.IllegalArgumentException - if pPhysicalSchema is null or does not
belong to this OdiDataServerpublic void setBatchUpdateSize(int pBatchUpdateSize)
Default is 30.
pBatchUpdateSize - batch size to setgetBatchUpdateSize()public void setConnectionSettings(AbstractOdiDataServer.IConnectionSettings pSettings)
AbstractOdiDataServerAbstractOdiDataServer.
setConnectionSettings in class AbstractOdiDataServerpSettings - the connection settings of this data servergetConnectionSettings()public void setFetchArraySize(int pFetchArraySize)
Default is 30.
pFetchArraySize - fetch size to setgetFetchArraySize()public void setName(java.lang.String pName)
OdiDataServer.
pName - the name to set
java.lang.IllegalArgumentException - if the name is null or emptygetName()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()
|
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 | ||||||||