java.lang.Object
me.ahoo.cosid.runtime.GeneratorSpec.Segment
- All Implemented Interfaces:
GeneratorSpec
- Enclosing interface:
GeneratorSpec
A segment generator.
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface me.ahoo.cosid.runtime.GeneratorSpec
GeneratorSpec.CosId80, GeneratorSpec.Custom, GeneratorSpec.Disabled, GeneratorSpec.Instance, GeneratorSpec.PeriodicSegment, GeneratorSpec.Segment, GeneratorSpec.Snowflake, GeneratorSpec.UuidV7 -
Method Summary
-
Method Details
-
builder
A builder of a segment generator.- Parameters:
store- the store name- Returns:
- the builder
-
store
The store name.- Returns:
- the store name
-
batch
The batch policy.- Returns:
- the policy; default
BatchPolicy.DEFAULT
-
codec
The codec list, applied in order.- Returns:
- the codec list; default empty, for none
-
equals
-
hashCode
public int hashCode() -
toString
-