public class ClusterSchema extends ChangedFlag implements Cloneable, org.pentaho.di.shared.SharedObjectInterface, org.pentaho.di.core.variables.VariableSpace, org.pentaho.di.repository.RepositoryElementInterface, org.pentaho.di.core.xml.XMLInterface
| 限定符和类型 | 字段和说明 |
|---|---|
static org.pentaho.di.repository.RepositoryObjectType |
REPOSITORY_ELEMENT_TYPE |
static String |
XML_TAG |
| 构造器和说明 |
|---|
ClusterSchema() |
ClusterSchema(Node clusterSchemaNode,
List<SlaveServer> referenceSlaveServers) |
ClusterSchema(String name,
List<SlaveServer> slaveServers) |
| 限定符和类型 | 方法和说明 |
|---|---|
ClusterSchema |
clone() |
void |
copyVariablesFrom(org.pentaho.di.core.variables.VariableSpace space) |
String |
environmentSubstitute(String aString) |
String[] |
environmentSubstitute(String[] aString) |
boolean |
equals(Object obj) |
String |
fieldSubstitute(String aString,
org.pentaho.di.core.row.RowMetaInterface rowMeta,
Object[] rowData) |
SlaveServer |
findMaster() |
int |
findNrSlaves() |
SlaveServer |
findSlaveServer(String slaveServerName) |
String |
getBasePort() |
boolean |
getBooleanValueOfVariable(String variableName,
boolean defaultValue) |
Date |
getChangedDate() |
String |
getDescription() |
String |
getName() |
org.pentaho.di.repository.ObjectId |
getObjectId() |
org.pentaho.di.repository.ObjectRevision |
getObjectRevision() |
org.pentaho.di.core.variables.VariableSpace |
getParentVariableSpace() |
org.pentaho.di.repository.RepositoryDirectoryInterface |
getRepositoryDirectory()
Not supported for Partition schema, return the root.
|
org.pentaho.di.repository.RepositoryObjectType |
getRepositoryElementType() |
List<SlaveServer> |
getSlaveServers() |
List<SlaveServer> |
getSlaveServersFromMasterOrLocal() |
String[] |
getSlaveServerStrings() |
String |
getSocketsBufferSize() |
String |
getSocketsFlushInterval() |
String |
getVariable(String variableName) |
String |
getVariable(String variableName,
String defaultValue) |
String |
getXML() |
int |
hashCode() |
void |
initializeVariablesFrom(org.pentaho.di.core.variables.VariableSpace parent) |
void |
injectVariables(Map<String,String> prop) |
boolean |
isDynamic() |
boolean |
isShared() |
boolean |
isSocketsCompressed() |
String[] |
listVariables() |
void |
replaceMeta(ClusterSchema clusterSchema) |
void |
setBasePort(String basePort) |
void |
setChangedDate(Date changedDate) |
void |
setDescription(String description) |
void |
setDynamic(boolean dynamic) |
void |
setName(String name) |
void |
setObjectId(org.pentaho.di.repository.ObjectId id) |
void |
setObjectRevision(org.pentaho.di.repository.ObjectRevision objectRevision) |
void |
setParentVariableSpace(org.pentaho.di.core.variables.VariableSpace parent) |
void |
setRepositoryDirectory(org.pentaho.di.repository.RepositoryDirectoryInterface repositoryDirectory) |
void |
setShared(boolean shared) |
void |
setSlaveServers(List<SlaveServer> slaveServers) |
void |
setSocketsBufferSize(String socketsBufferSize) |
void |
setSocketsCompressed(boolean socketsCompressed) |
void |
setSocketsFlushInterval(String socketFlushInterval) |
void |
setVariable(String variableName,
String variableValue) |
void |
shareVariablesWith(org.pentaho.di.core.variables.VariableSpace space) |
String |
toString() |
addObserver, clearChanged, deleteObserver, hasChanged, notifyObservers, setChanged, setChangedpublic static final org.pentaho.di.repository.RepositoryObjectType REPOSITORY_ELEMENT_TYPE
public ClusterSchema()
public ClusterSchema(String name, List<SlaveServer> slaveServers)
name - slaveServers - public ClusterSchema(Node clusterSchemaNode, List<SlaveServer> referenceSlaveServers)
public ClusterSchema clone()
public void replaceMeta(ClusterSchema clusterSchema)
public String getXML()
getXML 在接口中 org.pentaho.di.core.xml.XMLInterfacegetXML 在接口中 org.pentaho.di.shared.SharedObjectInterfacepublic String getName()
getName 在接口中 org.pentaho.di.repository.RepositoryElementInterfacegetName 在接口中 org.pentaho.di.repository.RepositoryObjectInterfacegetName 在接口中 org.pentaho.di.shared.SharedObjectInterfacepublic void setName(String name)
setName 在接口中 org.pentaho.di.repository.RepositoryElementInterfacename - the name to setpublic List<SlaveServer> getSlaveServers()
public void setSlaveServers(List<SlaveServer> slaveServers)
slaveServers - the slaveServers to setpublic String[] getSlaveServerStrings()
public boolean isShared()
isShared 在接口中 org.pentaho.di.shared.SharedObjectInterfacepublic void setShared(boolean shared)
setShared 在接口中 org.pentaho.di.shared.SharedObjectInterfaceshared - the shared to setpublic String getBasePort()
public void setBasePort(String basePort)
basePort - the basePort to setpublic SlaveServer findMaster() throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleExceptionpublic int findNrSlaves()
public String getSocketsFlushInterval()
public void setSocketsFlushInterval(String socketFlushInterval)
socketFlushInterval - the socketFlushInterval to setpublic String getSocketsBufferSize()
public void setSocketsBufferSize(String socketsBufferSize)
socketsBufferSize - the socketsBufferSize to setpublic boolean isSocketsCompressed()
public void setSocketsCompressed(boolean socketsCompressed)
socketsCompressed - the socketsCompressed to setpublic SlaveServer findSlaveServer(String slaveServerName)
public org.pentaho.di.repository.ObjectId getObjectId()
getObjectId 在接口中 org.pentaho.di.repository.RepositoryElementInterfacegetObjectId 在接口中 org.pentaho.di.repository.RepositoryObjectInterfacepublic void setObjectId(org.pentaho.di.repository.ObjectId id)
setObjectId 在接口中 org.pentaho.di.repository.RepositoryElementInterfacepublic void copyVariablesFrom(org.pentaho.di.core.variables.VariableSpace space)
copyVariablesFrom 在接口中 org.pentaho.di.core.variables.VariableSpacepublic String environmentSubstitute(String aString)
environmentSubstitute 在接口中 org.pentaho.di.core.variables.VariableSpacepublic String[] environmentSubstitute(String[] aString)
environmentSubstitute 在接口中 org.pentaho.di.core.variables.VariableSpacepublic String fieldSubstitute(String aString, org.pentaho.di.core.row.RowMetaInterface rowMeta, Object[] rowData) throws org.pentaho.di.core.exception.KettleValueException
fieldSubstitute 在接口中 org.pentaho.di.core.variables.VariableSpaceorg.pentaho.di.core.exception.KettleValueExceptionpublic org.pentaho.di.core.variables.VariableSpace getParentVariableSpace()
getParentVariableSpace 在接口中 org.pentaho.di.core.variables.VariableSpacepublic void setParentVariableSpace(org.pentaho.di.core.variables.VariableSpace parent)
setParentVariableSpace 在接口中 org.pentaho.di.core.variables.VariableSpacepublic String getVariable(String variableName, String defaultValue)
getVariable 在接口中 org.pentaho.di.core.variables.VariableSpacepublic String getVariable(String variableName)
getVariable 在接口中 org.pentaho.di.core.variables.VariableSpacepublic boolean getBooleanValueOfVariable(String variableName, boolean defaultValue)
getBooleanValueOfVariable 在接口中 org.pentaho.di.core.variables.VariableSpacepublic void initializeVariablesFrom(org.pentaho.di.core.variables.VariableSpace parent)
initializeVariablesFrom 在接口中 org.pentaho.di.core.variables.VariableSpacepublic String[] listVariables()
listVariables 在接口中 org.pentaho.di.core.variables.VariableSpacepublic void setVariable(String variableName, String variableValue)
setVariable 在接口中 org.pentaho.di.core.variables.VariableSpacepublic void shareVariablesWith(org.pentaho.di.core.variables.VariableSpace space)
shareVariablesWith 在接口中 org.pentaho.di.core.variables.VariableSpacepublic void injectVariables(Map<String,String> prop)
injectVariables 在接口中 org.pentaho.di.core.variables.VariableSpacepublic boolean isDynamic()
public void setDynamic(boolean dynamic)
dynamic - the dynamic to setpublic List<SlaveServer> getSlaveServersFromMasterOrLocal() throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException - when none of the masters can be contacted.public org.pentaho.di.repository.RepositoryDirectoryInterface getRepositoryDirectory()
getRepositoryDirectory 在接口中 org.pentaho.di.repository.RepositoryElementInterfacepublic void setRepositoryDirectory(org.pentaho.di.repository.RepositoryDirectoryInterface repositoryDirectory)
setRepositoryDirectory 在接口中 org.pentaho.di.repository.RepositoryElementInterfacepublic org.pentaho.di.repository.RepositoryObjectType getRepositoryElementType()
getRepositoryElementType 在接口中 org.pentaho.di.repository.RepositoryElementInterfacepublic org.pentaho.di.repository.ObjectRevision getObjectRevision()
getObjectRevision 在接口中 org.pentaho.di.repository.RepositoryElementInterfacepublic void setObjectRevision(org.pentaho.di.repository.ObjectRevision objectRevision)
setObjectRevision 在接口中 org.pentaho.di.repository.RepositoryElementInterfacepublic String getDescription()
getDescription 在接口中 org.pentaho.di.repository.RepositoryElementInterfacepublic void setDescription(String description)
setDescription 在接口中 org.pentaho.di.repository.RepositoryElementInterfacepublic Date getChangedDate()
getChangedDate 在接口中 org.pentaho.di.shared.SharedObjectInterfacepublic void setChangedDate(Date changedDate)
changedDate - the changedDate to setCopyright © 2024 Hitachi Vantara. All rights reserved.