|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TagSearchEngine
An optional search interface supported by TaggableChangeLogStores. This interface enables the:
Method Summary | |
---|---|
Cursor<Tag> |
find(long startRevision,
long endRevision,
RevisionOrder order)
Enumerates over the tags of all snapshots taken between a specific revision range inclusive. |
Cursor<Tag> |
find(RevisionOrder order)
Finds all the snapshot tags taken since revision 0 until the current revision. |
Cursor<Tag> |
findAfter(long revision,
RevisionOrder order)
Finds all the snapshot tags taken after a specific revision. |
Cursor<Tag> |
findBefore(long revision,
RevisionOrder order)
Finds all the snapshot tags taken before a specific revision. |
boolean |
has(long revision)
Checks to see if a snapshot exists for a specific revision. |
Tag |
lookup(long revision)
Gets the tag for a specific snapshot if that snapshot exists. |
Method Detail |
---|
Tag lookup(long revision) throws java.lang.Exception
revision
- the revision number to use to check for a snapshot
java.lang.Exception
- if there is a problem accessing the storeboolean has(long revision) throws java.lang.Exception
revision
- the revision number to use to check for a snapshot
java.lang.Exception
- if there is a problem accessing the storeCursor<Tag> find(RevisionOrder order) throws java.lang.Exception
order
- the revision order in which to return snapshot tags
java.lang.Exception
- if there is a problem accessing the storeCursor<Tag> findBefore(long revision, RevisionOrder order) throws java.lang.Exception
revision
- the revision number to get snapshots beforeorder
- the revision order in which to return snapshot tags
java.lang.Exception
- if there is a problem accessing the store
java.lang.IllegalArgumentException
- if the revision is greater than the current revision
or less than 0.Cursor<Tag> findAfter(long revision, RevisionOrder order) throws java.lang.Exception
revision
- the revision number to get snapshots afterorder
- the revision order in which to return snapshot tags
java.lang.Exception
- if there is a problem accessing the store
java.lang.IllegalArgumentException
- if the revision is greater than the current revision
or less than 0.Cursor<Tag> find(long startRevision, long endRevision, RevisionOrder order) throws java.lang.Exception
startRevision
- the revision to start on inclusiveendRevision
- the revision to end on inclusiveorder
- the revision order in which to return snapshot tags
java.lang.Exception
- if there is a problem accessing the store
java.lang.IllegalArgumentException
- if the revision range is not constructed properly
or if either revision number is greater than the current revision or less than 0.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |