public interface PartitionService
| Modifier and Type | Method and Description |
|---|---|
default PartitionGroup |
getPartitionGroup(PrimitiveProtocol.Type type)
Returns the first partition group that matches the given primitive type.
|
default PartitionGroup |
getPartitionGroup(ProxyProtocol protocol)
Returns the first partition group that matches the given primitive protocol.
|
PartitionGroup |
getPartitionGroup(String name)
Returns a partition group by name.
|
Collection<PartitionGroup> |
getPartitionGroups()
Returns a collection of all partition groups.
|
PartitionGroup |
getSystemPartitionGroup()
Returns the system partition group.
|
PartitionGroup getSystemPartitionGroup()
PartitionGroup getPartitionGroup(String name)
name - the name of the partition groupdefault PartitionGroup getPartitionGroup(PrimitiveProtocol.Type type)
type - the primitive typedefault PartitionGroup getPartitionGroup(ProxyProtocol protocol)
protocol - the primitive protocolCollection<PartitionGroup> getPartitionGroups()
Copyright © 2013–2018. All rights reserved.