Package me.ahoo.cosid.jackson
Annotation Interface AsString
The AsString annotation defines how to convert IDs.
-
Nested Class Summary
-
Optional Element Summary
-
Element Details
-
value
AsString.Type value- Default:
- RADIX
-
radixPadStart
boolean radixPadStart- Default:
- true
-
radixCharSize
int radixCharSize- Default:
- 11
-
epoch
long epochepoch ofSnowflakeId
.- Returns:
- epoch
- Default:
- 1577203200000L
-
timestampBit
int timestampBit- Default:
- 41
-
machineBit
int machineBit- Default:
- 10
-
sequenceBit
int sequenceBit- Default:
- 12
-