public class PartitionSchema extends ChangedFlag implements Cloneable, org.pentaho.di.shared.SharedObjectInterface, ResourceHolderInterface, org.pentaho.di.repository.RepositoryElementInterface, org.pentaho.di.core.xml.XMLInterface
| 限定符和类型 | 字段和说明 |
|---|---|
static org.pentaho.di.repository.RepositoryObjectType |
REPOSITORY_ELEMENT_TYPE |
static String |
XML_TAG |
| 构造器和说明 |
|---|
PartitionSchema() |
PartitionSchema(Node partitionSchemaNode) |
PartitionSchema(String name,
List<String> partitionIDs) |
| 限定符和类型 | 方法和说明 |
|---|---|
Object |
clone() |
boolean |
equals(Object obj) |
void |
expandPartitionsDynamically(int nrSlaves,
org.pentaho.di.core.variables.VariableSpace space) |
Date |
getChangedDate() |
String |
getDescription() |
String |
getHolderType()
Gets the high-level type of resource holder.
|
String |
getName() |
String |
getNumberOfPartitionsPerSlave() |
org.pentaho.di.repository.ObjectId |
getObjectId() |
org.pentaho.di.repository.ObjectRevision |
getObjectRevision() |
List<String> |
getPartitionIDs() |
org.pentaho.di.repository.RepositoryDirectoryInterface |
getRepositoryDirectory()
Not supported for Partition schema, return the root.
|
org.pentaho.di.repository.RepositoryObjectType |
getRepositoryElementType() |
String |
getTypeId() |
String |
getXML() |
int |
hashCode() |
boolean |
isDynamicallyDefined() |
boolean |
isShared() |
void |
replaceMeta(PartitionSchema partitionSchema) |
void |
retainPartitionsForSlaveServer(int slaveCount,
int slaveNumber)
Slaves don't need ALL the partitions, they just need a few.
|
void |
setChangedDate(Date changedDate) |
void |
setDescription(String description) |
void |
setDynamicallyDefined(boolean dynamicallyDefined) |
void |
setName(String name) |
void |
setNumberOfPartitionsPerSlave(String numberOfPartitionsPerSlave) |
void |
setObjectId(org.pentaho.di.repository.ObjectId id) |
void |
setObjectRevision(org.pentaho.di.repository.ObjectRevision objectRevision) |
void |
setPartitionIDs(List<String> partitionIDs) |
void |
setRepositoryDirectory(org.pentaho.di.repository.RepositoryDirectoryInterface repositoryDirectory) |
void |
setShared(boolean shared) |
String |
toString() |
addObserver, clearChanged, deleteObserver, hasChanged, notifyObservers, setChanged, setChangedpublic static final org.pentaho.di.repository.RepositoryObjectType REPOSITORY_ELEMENT_TYPE
public PartitionSchema()
public PartitionSchema(String name, List<String> partitionIDs)
name - partitionIDs - public PartitionSchema(Node partitionSchemaNode)
public void replaceMeta(PartitionSchema partitionSchema)
public String getName()
getName 在接口中 org.pentaho.di.repository.RepositoryElementInterfacegetName 在接口中 org.pentaho.di.repository.RepositoryObjectInterfacegetName 在接口中 ResourceHolderInterfacegetName 在接口中 org.pentaho.di.shared.SharedObjectInterfacepublic void setName(String name)
setName 在接口中 org.pentaho.di.repository.RepositoryElementInterfacename - the name to setpublic void setPartitionIDs(List<String> partitionIDs)
partitionIDs - the partitionIDs to setpublic String getXML()
getXML 在接口中 org.pentaho.di.core.xml.XMLInterfacegetXML 在接口中 org.pentaho.di.shared.SharedObjectInterfacepublic boolean isShared()
isShared 在接口中 org.pentaho.di.shared.SharedObjectInterfacepublic void setShared(boolean shared)
setShared 在接口中 org.pentaho.di.shared.SharedObjectInterfaceshared - the shared to setpublic org.pentaho.di.repository.ObjectId getObjectId()
getObjectId 在接口中 org.pentaho.di.repository.RepositoryElementInterfacegetObjectId 在接口中 org.pentaho.di.repository.RepositoryObjectInterfacegetObjectId 在接口中 ResourceHolderInterfacepublic String getDescription()
getDescription 在接口中 org.pentaho.di.repository.RepositoryElementInterfacegetDescription 在接口中 ResourceHolderInterfacepublic String getHolderType()
ResourceHolderInterfacegetHolderType 在接口中 ResourceHolderInterfacepublic String getTypeId()
getTypeId 在接口中 ResourceHolderInterfacepublic boolean isDynamicallyDefined()
public void setDynamicallyDefined(boolean dynamicallyDefined)
dynamicallyDefined - the dynamicallyDefined to setpublic String getNumberOfPartitionsPerSlave()
public void setNumberOfPartitionsPerSlave(String numberOfPartitionsPerSlave)
numberOfPartitionsPerSlave - the number of partitions per slave to set...public void expandPartitionsDynamically(int nrSlaves,
org.pentaho.di.core.variables.VariableSpace space)
public void retainPartitionsForSlaveServer(int slaveCount,
int slaveNumber)
slaveCount - slaveNumber - 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 void setObjectId(org.pentaho.di.repository.ObjectId id)
setObjectId 在接口中 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 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.