| Package | Description |
|---|---|
| org.apache.hugegraph.serializer.direct | |
| org.apache.hugegraph.serializer.direct.util |
| Modifier and Type | Method and Description |
|---|---|
short |
HBaseSerializer.getPartition(HugeType type,
Id id) |
| Modifier and Type | Class and Description |
|---|---|
static class |
IdGenerator.LongId |
static class |
IdGenerator.StringId
id defines
|
static class |
IdGenerator.UuidId |
| Modifier and Type | Field and Description |
|---|---|
static Id |
IdGenerator.ZERO |
| Modifier and Type | Method and Description |
|---|---|
static Id |
IdGenerator.of(byte[] bytes,
Id.IdType type) |
static Id |
IdGenerator.of(long id) |
static Id |
IdGenerator.of(Object id) |
static Id |
IdGenerator.of(String id) |
static Id |
IdGenerator.of(String id,
boolean uuid) |
static Id |
IdGenerator.of(UUID id) |
static Id |
IdGenerator.ofStoredString(String id,
Id.IdType type) |
static Id |
SplicingIdGenerator.splicing(String... parts)
Concat multiple parts into a single id with ID_SPLITOR
|
| Modifier and Type | Method and Description |
|---|---|
static String |
IdGenerator.asStoredString(Id id) |
int |
IdGenerator.StringId.compareTo(Id other) |
int |
IdGenerator.LongId.compareTo(Id other) |
int |
IdGenerator.UuidId.compareTo(Id other) |
static Id.IdType |
IdGenerator.idType(Id id) |
static String[] |
SplicingIdGenerator.parse(Id id)
Parse a single id into multiple parts with ID_SPLITOR
|
BytesBuffer |
BytesBuffer.writeId(Id id) |
BytesBuffer |
BytesBuffer.writeId(Id id,
boolean big) |
BytesBuffer |
BytesBuffer.writeIndexId(Id id,
HugeType type) |
BytesBuffer |
BytesBuffer.writeIndexId(Id id,
HugeType type,
boolean withEnding) |
Copyright © 2023 The Apache Software Foundation. All rights reserved.