| com.atlassian.stash.idx.CommitIndex |
Index to store meta data against commits. This interface serves to decouple commit indexing from storing metadata in an index.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Stores a string commit property.
| |||||||||||
Retrieves all
indexed commits that have a given property with a specified value. | |||||||||||
Retrieves a property map containing all properties stored against the given commit, matching
propertyKeys. | |||||||||||
Retrieves a properties for each of the specified commits, matching the provided
propertyKeys. | |||||||||||
Removes a commit property.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From interface
com.atlassian.stash.idx.DeprecatedChangesetIndex
| |||||||||||
Stores a string commit property. If the property (name-value pair) already exists, calling this method will have no effect.
| commitId | the commit ID |
|---|---|
| key | the property key |
| value | the property value |
Retrieves all indexed commits that have a given property with a specified value.
| propertyKey | the property key |
|---|---|
| propertyValue | the property value |
| caseSensitive | whether matches against value should be case-sensitive |
| pageRequest | the page request |
IndexedCommit commits that have the provided property. The results in the page
are ordered by authorTimestamp descending
Retrieves a property map containing all properties stored against the given commit, matching
propertyKeys. The value of all the properties is of type Set<String>.
| commitId | the commit id |
|---|---|
| propertyKeys | the property keys to retrieve |
commitId, matching propertyKeys. Can be empty, but not
null.
Retrieves a properties for each of the specified commits, matching the provided propertyKeys. The
value of all the properties is of type Set<String>.
| commitIds | commit IDs |
|---|---|
| propertyKeys | the property keys to retrieve for each commit |
commitIds, matching propertyKeys, mapped by commit IDs.
Can be empty, but not null.
Removes a commit property.
| commitId | the commit ID |
|---|---|
| key | the property key |
| value | the property value |