public class PlacementGroupId extends BaseId implements Serializable
| 限定符和类型 | 字段和说明 |
|---|---|
static int |
LENGTH |
static PlacementGroupId |
NIL |
| 限定符和类型 | 方法和说明 |
|---|---|
static PlacementGroupId |
fromByteBuffer(ByteBuffer bb)
Creates a PlacementGroupId from the given ByteBuffer.
|
static PlacementGroupId |
fromBytes(byte[] bytes)
Create a PlacementGroupId instance according to the given bytes.
|
static PlacementGroupId |
fromRandom()
Generate an PlacementGroupId with random value.
|
int |
size()
Derived class should implement this function.
|
byteBuffer2Bytes, equals, getBytes, hashCode, hexString2Bytes, isNil, toByteBuffer, toStringpublic static final int LENGTH
public static final PlacementGroupId NIL
public static PlacementGroupId fromByteBuffer(ByteBuffer bb)
public static PlacementGroupId fromBytes(byte[] bytes)
public static PlacementGroupId fromRandom()
Copyright © 2022. All rights reserved.