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) |
static ImmutableItemForest |
ImmutableItemForest.rearrangeItemForest(ItemForest source,
Forest newForest)
|
void |
ManagerBackedItemForest.scanRows(LongIterable rows,
boolean sorted,
ItemAccessMode access,
LongCollector missingCollector,
Predicate<StructureRow> iteratee) |
Modifier and Type | Method and Description |
---|---|
default StructureRow |
RowRetriever.getRow(long rowId)
Retrieves information about a structure row by its ID.
|
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 <T> T |
RowRetriever.reduceOverRows(LongIterable rows,
T startingValue,
BiFunction<StructureRow,T,T> accumulator)
Performs a reduction over a collection of rows, identified by their IDs.
|
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.scanAllRows(LongIterable rows,
boolean sorted,
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 with a normal access mode. |
default void |
RowRetriever.scanAllRows(LongIterable rows,
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, uses normal access mode, assumes that
row ID stream may be not sorted, and does not provide a missing collector. |
default void |
RowRetriever.scanAllRows(LongIterable rows,
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, uses normal access mode, and assumes that
row ID stream may be not sorted. |
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. |
default void |
RowRetriever.scanRows(LongIterable rows,
boolean sorted,
LongCollector missingCollector,
Predicate<StructureRow> iteratee)
A convenience method that calls
RowRetriever.scanRows(LongIterable, boolean, ItemAccessMode, LongCollector, Predicate) with
the normal access mode. |
default void |
RowRetriever.scanRows(LongIterable rows,
LongCollector missingCollector,
Predicate<StructureRow> iteratee)
A convenience method that calls
RowRetriever.scanRows(LongIterable, boolean, ItemAccessMode, LongCollector, Predicate) with
the normal access mode, and when the rows stream is not guaranteed to be sorted. |
default void |
RowRetriever.scanRows(LongIterable rows,
Predicate<StructureRow> iteratee)
A convenience method that calls
RowRetriever.scanRows(LongIterable, boolean, ItemAccessMode, LongCollector, Predicate) with
the normal access mode, when the rows stream is not guaranteed to be sorted, and without a missing row collector. |
Copyright © 2024 Tempo Software. All Rights Reserved.