Package | Description |
---|---|
com.almworks.jira.structure.api.attribute |
This package provides Attribute API.
|
com.almworks.jira.structure.api.effectbatch | |
com.almworks.jira.structure.api.forest | |
com.almworks.jira.structure.api.forest.item | |
com.almworks.jira.structure.api.forest.raw | |
com.almworks.jira.structure.api.query | |
com.almworks.jira.structure.api.row |
This package's primary citizen is
RowManager , a component
responsible for rows. |
com.almworks.jira.structure.api.structure.history | |
com.almworks.jira.structure.api.sync.util | |
com.almworks.jira.structure.api.util |
Modifier and Type | Method and Description |
---|---|
Forest |
ConsistentRowValues.getForest()
Returns the forest that was used to calculate the consistent values.
|
Modifier and Type | Method and Description |
---|---|
RowValues |
StructureAttributeService.getAttributeValues(Forest forest,
LongList rows,
Collection<? extends AttributeSpec<?>> attributes)
Returns attribute values for the given matrix of Rows and Attributes.
|
void |
StructureAttributeService.loadAttributeValues(Forest forest,
LongList rows,
Collection<? extends AttributeSpec<?>> attributes,
AttributeValuesReceiver receiver)
This method loads values for the given sets of attributes and rows.
|
Constructor and Description |
---|
ConsistentRowValues(Forest forest,
LongList requestedRows,
Collection<? extends AttributeSpec<?>> requestedAttributes,
RowValues values,
DataVersion forestVersion,
DataVersion itemsVersion) |
Modifier and Type | Field and Description |
---|---|
LongObjMap<Forest> |
RowsToReplace.forests |
Constructor and Description |
---|
RowsToReplace(Forest forest,
long under,
LongLongHppcOpenHashMap replacements,
long replacingGenerator,
LongLongHppcOpenHashMap replacingGenerators) |
Constructor and Description |
---|
RowsToReplace(LongObjMap<Forest> forests,
LongLongHppcOpenHashMap replacements,
long replacingGenerator,
LongLongHppcOpenHashMap replacingGenerators) |
Modifier and Type | Method and Description |
---|---|
Forest |
ForestChange.Add.getAddedForest()
Returns the added forest.
|
Forest |
VersionedForest.getForest()
Returns the forest.
|
Modifier and Type | Method and Description |
---|---|
static ForestChange |
ForestChange.add(long under,
long after,
Forest added)
Creates an "add" forest change.
|
Constructor and Description |
---|
Add(Forest addedForest,
long under,
long after)
Creates "add" change with a forest being added.
|
VersionedForest(Forest forest,
DataVersion version)
Constructs an instance.
|
Modifier and Type | Method and Description |
---|---|
Forest |
ImmutableItemForest.getForest() |
Forest |
ManagerBackedItemForest.getForest() |
Forest |
ItemForest.getForest() |
Modifier and Type | Method and Description |
---|---|
static ImmutableItemForest |
ImmutableItemForest.of(Forest forest,
Map<Long,StructureRow> rows) |
static ImmutableItemForest |
ImmutableItemForest.rearrangeItemForest(ItemForest source,
Forest newForest)
|
Constructor and Description |
---|
ManagerBackedItemForest(Forest forest,
RowManager rowManager) |
ManagerBackedItemForest(Forest forest,
RowManager rowManager,
ItemAccessMode defaultAccessMode) |
Modifier and Type | Class and Description |
---|---|
class |
ArrayForest
Mutable inheritor of
Forest class. |
Modifier and Type | Field and Description |
---|---|
static Forest |
Forest.EMPTY |
Modifier and Type | Method and Description |
---|---|
static Forest |
ArrayForest.ensureImmutability(Forest forest) |
Forest |
Forest.filter(La<Long,?> filter)
Filters this forest by hiding rows that do not pass the
filter condition. |
Forest |
Forest.filterHardest(La<Long,?> filter)
Filters this forest by excluding rows that do not pass the
filter condition. |
Forest |
Forest.filterSoft(La<Long,?> filter)
Filters this forest by excluding rows that do not pass the
filter condition. |
Forest |
ForestIterationControl.getForest() |
Forest |
ArrayForest.removeSubtree(long row)
Convenience method to call
ArrayForest.removeSubtree(long, ForestChangeEventHandler) without event handler. |
Forest |
ArrayForest.removeSubtree(long row,
ForestChangeEventHandler eventHandler)
Removes a subtree from this forest.
|
Forest |
ArrayForest.removeSubtreeAtIndex(int index,
ForestChangeEventHandler eventHandler)
Removes a sub-tree with rooted at the specified index from this forest.
|
Forest |
ArrayForest.set(LongList rows,
IntList depths)
Replaces the contents of this forest with the values passed in the parameters.
|
Forest |
ArrayForest.set(WritableLongList rows,
WritableIntList depths,
boolean reuseLists)
Replaces the contents of this forest with the values passed in the parameters.
|
Forest |
Forest.subtree(long row)
Creates a forest that contains the specified row and all its sub-rows from this forest.
|
Forest |
ArrayForest.subtree(long row) |
Forest |
Forest.subtreeAtIndex(int index)
Creates a forest that contains the specified row and all its sub-rows from this forest.
|
Forest |
ArrayForest.subtreeAtIndex(int index) |
Modifier and Type | Method and Description |
---|---|
void |
ArrayForest.addForest(long under,
long after,
Forest forest) |
void |
ArrayForest.addForestMutuallyExclusive(Forest forest,
long under,
long after)
Adds a forest to this forest.
|
void |
ForestChangeEventHandler.afterForestInserted(Forest forest,
int fromIndex,
int toIndex,
Forest insertedForest)
Called at the moment after another forest is added to the forest being observed.
|
void |
ArrayForest.append(Forest forest) |
void |
ForestChangeEventHandler.beforeSubtreeRemoved(Forest forest,
int fromIndex,
int toIndex,
Forest removedSubtree)
Called at the moment before a subtree is removed from the forest.
|
static Forest |
ArrayForest.ensureImmutability(Forest forest) |
static String |
ArrayForest.getDiagnostics(Forest f)
Checks whether RowTree invariants hold.
|
void |
ArrayForest.mergeForest(Forest forest,
long under,
long after)
Convenience method to call
ArrayForest.mergeForest(Forest, long, long, ForestChangeEventHandler) without event handler. |
void |
ArrayForest.mergeForest(Forest forest,
long under,
long after,
ForestChangeEventHandler eventHandler)
Merges another forest into this forest.
|
void |
ArrayForest.replaceSubtrees(long rowId,
Forest forest)
Removes everything from under given row and inserts forest as sub-forest of rowId.
|
void |
ArrayForest.replaceSubtreesMutuallyExclusive(long rowId,
Forest forest) |
void |
ArrayForest.replaceSubtreesMutuallyExclusiveAtIndex(int index,
Forest forest)
Removes everything from under row with given index and inserts forest as sub-forest of the same row
|
boolean |
ForestParentChildrenVisitor.visit(Forest forest,
long parent,
LongList children)
Reports a pair of parent row and its children (direct sub-items).
|
Constructor and Description |
---|
ArrayForest(Forest copyFrom) |
ForestMergeStructureException(long mergePoint,
long mergePointFatherFromSourceForest,
Forest sourceForest,
Forest targetForest) |
Modifier and Type | Method and Description |
---|---|
Forest |
QueryContext.getForest()
Returns the forest being searched.
|
Modifier and Type | Method and Description |
---|---|
abstract boolean |
StructureQuery.checkIndex(int index,
Forest forest)
|
abstract boolean |
StructureQuery.checkRow(Long rowId,
Forest forest)
Checks if the specified row matches the query against the specified
Forest . |
abstract LongArray |
StructureQuery.execute(Forest forest)
Executes this query against the specified
Forest , returning IDs of all matching rows
in the forest order. |
abstract IntArray |
StructureQuery.executeIndices(Forest forest)
|
abstract IntIterator |
StructureQuery.executeIndicesUnbuffered(Forest forest)
|
abstract LongIterator |
StructureQuery.executeUnbuffered(Forest forest)
Executes this query against the specified
Forest , returning an iterator over all matching row IDs
in the forest order. |
Modifier and Type | Method and Description |
---|---|
RowMapper |
RowManager.createMapper(Forest forest)
Creates a mapper.
|
Modifier and Type | Field and Description |
---|---|
Forest |
ForestVersion.fullForest |
Modifier and Type | Method and Description |
---|---|
Forest |
HistoryEntry.Change.getForest() |
Constructor and Description |
---|
Change(HistoryEntry.Operation operation,
Forest forest,
LongList pathFrom,
LongList afterFrom,
LongList pathTo,
LongList afterTo,
int direction,
LongList originalRows) |
ForestVersion(Forest fullForest,
HistoryEntry entry) |
Modifier and Type | Method and Description |
---|---|
StringBuilder |
SyncLogger.appendForest(Forest forest,
StringBuilder sb) |
String |
SyncLogger.forest(Forest forest) |
Modifier and Type | Method and Description |
---|---|
Forest |
IndexedForest.getForest() |
Modifier and Type | Method and Description |
---|---|
void |
RowTree.appendForest(Forest forest)
Appends forest to the end of the tree.
|
void |
RowTree.appendForest(Forest forest,
RowTree.Node underNode,
RowTree.Node afterNode)
Appends forest at the specified place.
|
int |
RowTree.appendForest(Forest forest,
RowTree.Node parentNode,
RowTree.Node afterNode,
int parentIndex,
int flags,
LongPredicate rowFilter)
Generic utility method for adding the forest to the RowTree, with parameters for optimization.
|
static IndexedRowTree |
IndexedRowTree.create(Forest forest) |
Constructor and Description |
---|
IndexedForest(Forest forest) |
Copyright © 2024 Tempo Software. All Rights Reserved.