Package | Description |
---|---|
com.almworks.jira.structure.api.forest.item | |
com.almworks.jira.structure.api.row |
This package's primary citizen is
RowManager , a component
responsible for rows. |
Modifier and Type | Method and Description |
---|---|
StructureRow |
ImmutableItemForest.getRow(long rowId,
ItemAccessMode access) |
StructureRow |
ManagerBackedItemForest.getRow(long rowId,
ItemAccessMode access) |
void |
ManagerBackedItemForest.scanRows(LongIterable rows,
boolean sorted,
ItemAccessMode access,
LongCollector missingCollector,
Predicate<StructureRow> iteratee) |
Constructor and Description |
---|
ManagerBackedItemForest(Forest forest,
RowManager rowManager,
ItemAccessMode defaultAccessMode) |
Modifier and Type | Method and Description |
---|---|
static ItemAccessMode |
ItemAccessMode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ItemAccessMode[] |
ItemAccessMode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static StructureRow |
SimpleRow.create(long rowId,
ItemIdentity itemId,
long semantics,
ItemResolver resolver,
ItemAccessMode accessMode) |
StructureRow |
RowRetriever.getRow(long rowId,
ItemAccessMode access)
Retrieves
StructureRow with additional information about how the calling code is going to use
method StructureRow.getItem(java.lang.Class<I>) . |
default void |
RowRetriever.scanAllExistingRows(LongIterable rows,
boolean sorted,
ItemAccessMode access,
Consumer<StructureRow> consumer)
A convenience variation of
RowRetriever.scanRows(com.almworks.integers.LongIterable, boolean, com.almworks.jira.structure.api.row.ItemAccessMode, com.almworks.integers.LongCollector, java.util.function.Predicate<com.almworks.jira.structure.api.row.StructureRow>) that always goes through all of the row IDs and ignores any missing rows. |
default void |
RowRetriever.scanAllRows(LongIterable rows,
boolean sorted,
ItemAccessMode access,
LongCollector missingCollector,
Consumer<StructureRow> consumer)
A convenience variation of
RowRetriever.scanRows(com.almworks.integers.LongIterable, boolean, com.almworks.jira.structure.api.row.ItemAccessMode, com.almworks.integers.LongCollector, java.util.function.Predicate<com.almworks.jira.structure.api.row.StructureRow>) that always goes through all of the row IDs. |
default void |
RowRetriever.scanRows(LongIterable rows,
boolean sorted,
ItemAccessMode access,
LongCollector missingCollector,
Predicate<StructureRow> iteratee)
Loads multiple rows by their IDs and calls
iteratee with a StructureRow for each row ID in the input. |
Copyright © 2024 Tempo Software. All Rights Reserved.