| Modifier and Type | Field and Description |
|---|---|
| public LeafControlRow | |
| public RowLocation | |
| public DataValueDescriptor[] | |
| public DataValueDescriptor[] | current_positionKey
Fields of the class |
| protected LeafControlRow | |
| private final BTreeScan | parent
The scan that owns this position object. |
| private DataValueDescriptor[] | positionKey_template
Cached template for saving this position by key. |
| private FetchDescriptor | savedFetchDescriptor
Cached fetch descriptor that can be used to fetch the key columns that are not already fetched by the scan. |
| pack-priv long | versionWhenSaved
The version number of the leaf page when this position was saved by key. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv FetchDescriptor | Returns: a fetch descriptoran array which tells which columns the partial key contains
(valid columns have non-zero values in the array) vcols, int the length of the full key to create a fetch
descriptor for (may be greater than fullLength)vcols.length)Get a fetch descriptor that can be used to fetch the missing columns in a partial key. |
| pack-priv DataValueDescriptor[] | Returns: an array into which the position key can be copiedGet a template into which the position key can be copied. |
| public void | init()
Overrides org. Public Methods of This class: |
| public void | |
| public final String | toString()
Overrides org. Returns a string representation of the object. |
| public final void |
| current_leaf | back to summary |
|---|---|
| public LeafControlRow current_leaf | |
| current_lock_row_loc | back to summary |
|---|---|
| public RowLocation current_lock_row_loc | |
| current_lock_template | back to summary |
|---|---|
| public DataValueDescriptor[] current_lock_template | |
| current_positionKey | back to summary |
|---|---|
| public DataValueDescriptor[] current_positionKey Fields of the class | |
| next_leaf | back to summary |
|---|---|
| protected LeafControlRow next_leaf | |
| parent | back to summary |
|---|---|
| private final BTreeScan parent The scan that owns this position object. | |
| positionKey_template | back to summary |
|---|---|
| private DataValueDescriptor[] positionKey_template Cached template for saving this position by key. | |
| savedFetchDescriptor | back to summary |
|---|---|
| private FetchDescriptor savedFetchDescriptor Cached fetch descriptor that can be used to fetch the key columns that are not already fetched by the scan. The fetch descriptor is used when this position is about to be saved by its full key. | |
| versionWhenSaved | back to summary |
|---|---|
| pack-priv long versionWhenSaved The version number of the leaf page when this position was saved by
key. Only valid if | |
| BTreeRowPosition | back to summary |
|---|---|
| public BTreeRowPosition(BTreeScan parent) Constructors for This class: | |
| getFetchDescriptorForSaveKey | back to summary |
|---|---|
| pack-priv FetchDescriptor getFetchDescriptorForSaveKey(int[] vcols, int fullLength) Get a fetch descriptor that can be used to fetch the missing columns in a partial key. The fetch descriptor is only created on the first call to this method. The returned descriptor will be cached, so subsequent calls will return the same descriptor and the arguments to this method should be the same between invokations.
| |
| getKeyTemplate | back to summary |
|---|---|
| pack-priv DataValueDescriptor[] getKeyTemplate() throws StandardException Get a template into which the position key can be copied. The value is cached, so two calls to this method on the same object will return the same object.
| |
| init | back to summary |
|---|---|
| public void init() Overrides org. Public Methods of This class: | |
| saveMeAndReleasePage | back to summary |
|---|---|
| public void saveMeAndReleasePage() throws StandardException Save this position by key and release the latch on the current leaf.
| |
| toString | back to summary |
|---|---|
| public final String toString() Overrides org. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |
| unlatch | back to summary |
|---|---|
| public final void unlatch() Overrides org. | |