public class OdiDataServer extends AbstractOdiDataServer implements IDataServer, IMasterOdiEntity, IFlexFieldUser
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".
OdiTechnologyAbstractOdiDataServer.Axis2DeploymentSettings, AbstractOdiDataServer.BICSConnectionSettings, AbstractOdiDataServer.BigDataCloudConnectionSettings, AbstractOdiDataServer.DirectoryDeploymentSettings, AbstractOdiDataServer.DummyConnectionSettings, AbstractOdiDataServer.FtpDeploymentSettings, AbstractOdiDataServer.IConnectionSettings, AbstractOdiDataServer.JdbcSettings, AbstractOdiDataServer.JndiSettings, AbstractOdiDataServer.ObjectStorageConnectionSettings, AbstractOdiDataServer.OracleWalletConnectionSettings, AbstractOdiDataServer.StorageCSConnectionSettings, AbstractOdiDataServer.WsContainerSettings| Constructor and Description |
|---|
OdiDataServer(OdiTechnology pTechnology,
java.lang.String pName)
Construct a new
OdiDataServer. |
| Modifier and Type | Method and Description |
|---|---|
void |
addChildDataServer(OdiDataServer childDataSever)
Adds the given
OdiDataServer to the collection of child OdiDataServers. |
int |
getBatchUpdateSize()
Returns the batch update size that should be used when querying this data server.
|
java.util.Collection |
getChildDataServers()
Returns the unmodifable collection of child
OdiDataServers. |
java.lang.String |
getClasspath()
Obtains the classpath for this
OdiDataServer. |
IConnectionInfo |
getConnectionInfo()
Gets information about the connection to the 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 |
getFlexFieldsValues()
* Obtains flex fields values related to this
IFlexFieldUser. |
java.lang.String |
getJagentHost()
Method returns hostname where Oracle Golden Gate's JAgent is located.
|
java.lang.Integer |
getJagentManagerPort()
Method returns host's port number where Oracle Golden Gate's JAgent manager is located.
|
java.lang.Integer |
getJagentPort()
Method returns host's port number where Oracle Golden Gate's JAgent is located.
|
java.lang.String |
getName()
Return the name of this
OdiDataServer. |
java.lang.String |
getOggInstallPath()
Method returns path where Oracle Golden Gate's installation is located.
|
OdiDataServer |
getParentDataServer()
Return the parent OdiDataServer of this OdiDataServer.
|
java.util.Collection |
getPhysicalSchemas()
Obtains an unmodifable collection of
OdiPhysicalSchemas that belongs
to this OdiDataServer. |
java.lang.Integer |
getTargetDOP()
Returns the target degree of Parallelism.
|
void |
initFlexFields(IOdiFlexFieldFinder pOdiFlexFieldFinder)
Initialize flex fields related to this
IFlexFieldUser. |
void |
removeChildDataServer(OdiDataServer childDataSever)
Remove the given
OdiDataServer from the collection of OdiDataServers. |
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 |
setClasspath(java.lang.String classpath)
Specifies the classpath for this
OdiDataServer. |
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 |
setJagentHost(java.lang.String pJagentHost)
Method sets hostname where Oracle Golden Gate's JAgent is located.
|
void |
setJagentManagerPort(java.lang.Integer pJagentManagerPort)
Method sets host's port number where Oracle Golden Gate's JAgent manager is located.
|
void |
setJagentPort(java.lang.Integer pJagentPort)
Method sets host's port number where Oracle Golden Gate's JAgent is located.
|
void |
setName(java.lang.String pName)
Define the name of this
OdiDataServer. |
void |
setOggInstallPath(java.lang.String pOggInstallPath)
Method sets path where Oracle Golden Gate's installation is located.
|
void |
setParentDataServer(OdiDataServer parentDataServer)
Sets the parameter
OdiDataServer as the parent Data Server of this OdiDataServer. |
void |
setTargetDOP(java.lang.Integer pTargetDOP)
Sets the target degree of Parallelism.
|
getDataServerId, getDataServerProperties, getInternalId, getPassword, getSecurityContainer, getServerInstanceName, getTechnology, getUsername, isJndiConnection, removeDataServerProperty, setPassword, setServerInstanceName, setUsernameequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetServerInstanceName, getTechnology, getUsernamegetBigNumericId, getGlobalId, getNumericIdgetFirstDate, getFirstUser, getLastDate, getLastUser, isInstanceLevelSecurityNeededgetGlobalId, getInternalId, getParentpublic 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 namepublic int getBatchUpdateSize()
getBatchUpdateSize in interface IDataServersetBatchUpdateSize(int)public void setBatchUpdateSize(int pBatchUpdateSize)
Default is 30.
pBatchUpdateSize - batch size to setgetBatchUpdateSize()public int getFetchArraySize()
getFetchArraySize in interface IDataServersetFetchArraySize(int)public void setFetchArraySize(int pFetchArraySize)
Default is 30.
pFetchArraySize - fetch size to setgetFetchArraySize()public java.lang.Integer getTargetDOP()
#setTargetDOP(int)public void setTargetDOP(java.lang.Integer pTargetDOP)
Default is 1.
pTargetDOP - target degree of Parallelism to settargetDOP - #geFTargetDOP()public OdiPhysicalSchema getDefaultPhysicalSchema()
OdiDataServer from
its associated physical schemas.getDefaultPhysicalSchema in interface IDataServerOdiPhysicalSchema.isDefaultPhysicalSchema()public java.util.Collection getPhysicalSchemas()
OdiPhysicalSchemas that belongs
to this OdiDataServer.getPhysicalSchemas in interface IDataServerOdiPhysicalSchemaspublic 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 IFlexFieldUsergetName in interface IModelObjectgetName in interface IDataServergetName in interface IOdiEntitysetName(String)public void setName(java.lang.String pName)
OdiDataServer.pName - the name to setDomainRuntimeException - if the name is null or emptygetName()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 getFlexFieldsValues()
IFlexFieldUser.
In most implementations method initFlexFields(IOdiFlexFieldFinder) should be
called before calling this method.getFlexFieldsValues in interface IFlexFieldUserpublic void initFlexFields(IOdiFlexFieldFinder pOdiFlexFieldFinder)
IFlexFieldUserIFlexFieldUser.initFlexFields in interface IFlexFieldUserpOdiFlexFieldFinder - OdiFlexField finder to be used to query flex fieldspublic IConnectionInfo getConnectionInfo()
IDataServergetConnectionInfo in interface IDataServerpublic java.lang.String getJagentHost()
public void setJagentHost(java.lang.String pJagentHost)
pJagentHost - hostname to be set, no validation is performedpublic java.lang.Integer getJagentPort()
public void setJagentPort(java.lang.Integer pJagentPort)
pJagentPort - port number to be setpublic java.lang.Integer getJagentManagerPort()
public void setJagentManagerPort(java.lang.Integer pJagentManagerPort)
pJagentManagerPort - port number to be setpublic java.lang.String getOggInstallPath()
public void setOggInstallPath(java.lang.String pOggInstallPath)
public java.lang.String getClasspath()
OdiDataServer.public void setClasspath(java.lang.String classpath)
OdiDataServer.classpath - the classpath to setpublic OdiDataServer getParentDataServer()
nullsetParentDataServer(OdiDataServer)public void setParentDataServer(OdiDataServer parentDataServer)
OdiDataServer as the parent Data Server of this OdiDataServer.
Parent and the child data servers have to be persisted individually.
Deletion of parent data server sets the parentDataServer in child data server to nullparentDataServer - the parent Data ServergetParentDataServer()public java.util.Collection getChildDataServers()
Returns the unmodifable collection of child OdiDataServers.
Use addChildDataServer(OdiDataServer) and removeChildDataserver(OdiDataServer) respectively to add and remove OdiDataServer.
addChildDataServer(OdiDataServer),
removeChildDataServer(OdiDataServer)public void addChildDataServer(OdiDataServer childDataSever)
Adds the given OdiDataServer to the collection of child OdiDataServers.
This will also set the Parent Data Server of the given OdiDataServer to this OdiDataServer instance.
If the given OdiDataServer was already associated to an other OdiDataServer it will be removed
childDataSever - an OdiDataServer objectpublic void removeChildDataServer(OdiDataServer childDataSever)
Remove the given OdiDataServer from the collection of OdiDataServers.
This will also reset the parent OdiDataServer of the given OdiDataServer to null
childDataSever - an OdiDataServer object