| Package | Description |
|---|---|
| org.apache.avalon.excalibur.datasource.ids |
| Modifier and Type | Method and Description |
|---|---|
protected abstract java.math.BigDecimal |
AbstractDataSourceBlockIdGenerator.allocateBigDecimalIdBlock(int blockSize)
Allocates a block, of the given size, of ids from the database.
|
protected java.math.BigDecimal |
TableIdGenerator.allocateBigDecimalIdBlock(int blockSize)
Allocates a block, of the given size, of ids from the database.
|
private java.lang.Object |
TableIdGenerator.allocateIdBlock(int blockSize,
boolean useBigDecimals)
Allocates a block of ids of the given size and returns the first id.
|
protected abstract long |
AbstractDataSourceBlockIdGenerator.allocateLongIdBlock(int blockSize)
Allocates a block, of the given size, of ids from the database.
|
protected long |
TableIdGenerator.allocateLongIdBlock(int blockSize)
Allocates a block, of the given size, of ids from the database.
|
java.math.BigDecimal |
IdGenerator.getNextBigDecimalId()
Returns the next Id from the pool.
|
java.math.BigDecimal |
AbstractIdGenerator.getNextBigDecimalId()
Returns the next Id from the pool.
|
protected java.math.BigDecimal |
AbstractDataSourceBlockIdGenerator.getNextBigDecimalIdInner()
Gets the next id as a Big Decimal.
|
protected abstract java.math.BigDecimal |
AbstractIdGenerator.getNextBigDecimalIdInner()
Gets the next id as a Big Decimal.
|
protected java.math.BigDecimal |
SequenceIdGenerator.getNextBigDecimalIdInner()
Gets the next id as a Big Decimal.
|
byte |
IdGenerator.getNextByteId()
Returns the next Id from the pool.
|
byte |
AbstractIdGenerator.getNextByteId()
Returns the next Id from the pool.
|
int |
IdGenerator.getNextIntegerId()
Returns the next Id from the pool.
|
int |
AbstractIdGenerator.getNextIntegerId()
Returns the next Id from the pool.
|
long |
IdGenerator.getNextLongId()
Returns the next Id from the pool.
|
long |
AbstractIdGenerator.getNextLongId()
Returns the next Id from the pool.
|
protected long |
AbstractIdGenerator.getNextLongIdChecked(long maxId)
Gets the next Long Id constraining the value to be less than the specified maxId.
|
protected long |
AbstractDataSourceBlockIdGenerator.getNextLongIdInner()
Gets the next id as a long.
|
protected abstract long |
AbstractIdGenerator.getNextLongIdInner()
Gets the next id as a long.
|
protected long |
SequenceIdGenerator.getNextLongIdInner()
Gets the next id as a long.
|
short |
IdGenerator.getNextShortId()
Returns the next Id from the pool.
|
short |
AbstractIdGenerator.getNextShortId()
Returns the next Id from the pool.
|