|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.derby.impl.sql.catalog.SequenceRange
public class SequenceRange
Default Derby logic for determining how many values to pre-allocate for an identity column or sequence.
| Field Summary | |
|---|---|
private int |
_rangeSize
|
private static int |
DEFAULT_PREALLOCATION_COUNT
Default number of values to pre-allocate. |
| Constructor Summary | |
|---|---|
SequenceRange()
0-arg constructore needed to satisfy the SequencePreallocator contract. |
|
SequenceRange(int rangeSize)
|
|
| Method Summary | |
|---|---|
int |
nextRangeSize(java.lang.String schemaName,
java.lang.String sequenceName)
This method returns the size of the next pre-allocated range for the specified sequence. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static final int DEFAULT_PREALLOCATION_COUNT
private int _rangeSize
| Constructor Detail |
|---|
public SequenceRange()
0-arg constructore needed to satisfy the SequencePreallocator contract.
public SequenceRange(int rangeSize)
| Method Detail |
|---|
public int nextRangeSize(java.lang.String schemaName,
java.lang.String sequenceName)
SequencePreallocatorThis method returns the size of the next pre-allocated range for the specified sequence. Names are case-sensitive, as specified in CREATE SEQUENCE and CREATE TABLE statements.
nextRangeSize in interface SequencePreallocatorschemaName - Name of schema holding the sequence.sequenceName - Specific name of the sequence.
|
Built on Wed 2013-06-12 15:21:56+0000, from revision ??? | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||