static InstancePartitions |
InstancePartitionsUtils.computeDefaultInstancePartitions(org.apache.helix.HelixManager helixManager,
TableConfig tableConfig,
InstancePartitionsType instancePartitionsType) |
Computes the default instance partitions.
|
static InstancePartitions |
InstancePartitionsUtils.computeDefaultInstancePartitionsForTag(org.apache.helix.HelixManager helixManager,
String tableNameWithType,
String instancePartitionsType,
String serverTag) |
Computes the default instance partitions using the given serverTag.
|
static InstancePartitions |
InstancePartitionsUtils.fetchInstancePartitions(org.apache.helix.store.HelixPropertyStore<org.apache.helix.zookeeper.datamodel.ZNRecord> propertyStore,
String instancePartitionsName) |
Fetches the instance partitions from Helix property store.
|
static InstancePartitions |
InstancePartitionsUtils.fetchInstancePartitionsWithRename(org.apache.helix.store.HelixPropertyStore<org.apache.helix.zookeeper.datamodel.ZNRecord> propertyStore,
String instancePartitionsName,
String newName) |
Gets the instance partitions with the given name, and returns a re-named copy of the same.
|
static InstancePartitions |
InstancePartitionsUtils.fetchOrComputeInstancePartitions(org.apache.helix.HelixManager helixManager,
TableConfig tableConfig,
InstancePartitionsType instancePartitionsType) |
Fetches the instance partitions from Helix property store if it exists, or computes it for backward-compatibility.
|
static InstancePartitions |
InstancePartitions.fromZNRecord(org.apache.helix.zookeeper.datamodel.ZNRecord znRecord) |
|
InstancePartitions |
InstancePartitions.withName(String newName) |
Returns a new instance of InstancePartitions with the given name
|