UUID_HEX, UUID_STRING, UUID_TYPE4_HEX, UUID_TYPE4_STRING| Constructor and Description |
|---|
GeneratorImpl(Seq seq,
String name,
StoreContext ctx,
ClassMetaData meta)
Constructor; supply delegate.
|
| Modifier and Type | Method and Description |
|---|---|
void |
allocate(int additional)
Hint to the sequence to allocate additional values up-front for
efficiency.
|
Object |
current()
The current sequence value, or null if the sequence does not
support current values.
|
boolean |
equals(Object other) |
Seq |
getDelegate()
Delegate.
|
String |
getName()
The sequence name.
|
int |
hashCode() |
Object |
next()
The next sequence value.
|
public GeneratorImpl(Seq seq, String name, StoreContext ctx, ClassMetaData meta)
public Seq getDelegate()
getDelegate in interface Generatorpublic Object current()
Generatorpublic void allocate(int additional)
GeneratorCopyright © 2006–2022 Apache Software Foundation. All rights reserved.