Uses of Interface
com.almworks.jira.structure.api.forest.raw.Forest
Packages that use Forest
Package
Description
This package provides Attribute API.
This package's primary citizen is
RowManager, a component
responsible for rows.-
Uses of Forest in com.almworks.jira.structure.api.attribute
Methods in com.almworks.jira.structure.api.attribute that return ForestModifier and TypeMethodDescriptionConsistentRowValues.getForest()Returns the forest that was used to calculate the consistent values.Methods in com.almworks.jira.structure.api.attribute with parameters of type ForestModifier and TypeMethodDescriptionStructureAttributeService.getAttributeValues(Forest forest, LongList rows, Collection<? extends AttributeSpec<?>> attributes) Returns attribute values for the given matrix of Rows and Attributes.voidStructureAttributeService.loadAttributeValues(Forest forest, LongList rows, Collection<? extends AttributeSpec<?>> attributes, AttributeValuesReceiver receiver) This method loads values for the given sets of attributes and rows.Constructors in com.almworks.jira.structure.api.attribute with parameters of type ForestModifierConstructorDescriptionConsistentRowValues(Forest forest, LongList requestedRows, Collection<? extends AttributeSpec<?>> requestedAttributes, RowValues values, DataVersion forestVersion, DataVersion itemsVersion) -
Uses of Forest in com.almworks.jira.structure.api.effectbatch
Fields in com.almworks.jira.structure.api.effectbatch with type parameters of type ForestConstructors in com.almworks.jira.structure.api.effectbatch with parameters of type ForestModifierConstructorDescriptionRowsToReplace(Forest forest, long under, LongLongHppcOpenHashMap replacements, long replacingGenerator, LongLongHppcOpenHashMap replacingGenerators) Constructor parameters in com.almworks.jira.structure.api.effectbatch with type arguments of type ForestModifierConstructorDescriptionRowsToReplace(LongObjMap<Forest> forests, LongLongHppcOpenHashMap replacements, long replacingGenerator, LongLongHppcOpenHashMap replacingGenerators) -
Uses of Forest in com.almworks.jira.structure.api.forest
Methods in com.almworks.jira.structure.api.forest that return ForestModifier and TypeMethodDescriptionForestChange.Add.getAddedForest()Returns the added forest.VersionedForest.getForest()Returns the forest.Methods in com.almworks.jira.structure.api.forest with parameters of type ForestConstructors in com.almworks.jira.structure.api.forest with parameters of type ForestModifierConstructorDescriptionCreates "add" change with a forest being added.VersionedForest(Forest forest, DataVersion version) Constructs an instance. -
Uses of Forest in com.almworks.jira.structure.api.forest.item
Methods in com.almworks.jira.structure.api.forest.item that return ForestModifier and TypeMethodDescriptionImmutableItemForest.getForest()ItemForest.getForest()ManagerBackedItemForest.getForest()Methods in com.almworks.jira.structure.api.forest.item with parameters of type ForestModifier and TypeMethodDescriptionstatic ImmutableItemForestImmutableItemForest.of(Forest forest, Map<Long, StructureRow> rows) static ImmutableItemForestImmutableItemForest.rearrangeItemForest(ItemForest source, Forest newForest) Constructors in com.almworks.jira.structure.api.forest.item with parameters of type ForestModifierConstructorDescriptionManagerBackedItemForest(Forest forest, RowManager rowManager) ManagerBackedItemForest(Forest forest, RowManager rowManager, ItemAccessMode defaultAccessMode) -
Uses of Forest in com.almworks.jira.structure.api.forest.raw
Classes in com.almworks.jira.structure.api.forest.raw that implement ForestFields in com.almworks.jira.structure.api.forest.raw declared as ForestMethods in com.almworks.jira.structure.api.forest.raw that return ForestModifier and TypeMethodDescriptionstatic ForestArrayForest.ensureImmutability(Forest forest) Filters this forest by hiding rows that do not pass thefiltercondition.Forest.filterHardest(La<Long, ?> filter) Filters this forest by excluding rows that do not pass thefiltercondition.Forest.filterSoft(La<Long, ?> filter) Filters this forest by excluding rows that do not pass thefiltercondition.ForestIterationControl.getForest()ArrayForest.removeSubtree(long row) Convenience method to callArrayForest.removeSubtree(long, ForestChangeEventHandler)without event handler.ArrayForest.removeSubtree(long row, ForestChangeEventHandler eventHandler) Removes a subtree from this forest.ArrayForest.removeSubtreeAtIndex(int index, ForestChangeEventHandler eventHandler) Removes a sub-tree with rooted at the specified index from this forest.ArrayForest.set(LongList rows, IntList depths) Replaces the contents of this forest with the values passed in the parameters.final ForestArrayForest.set(WritableLongList rows, WritableIntList depths, boolean reuseLists) Replaces the contents of this forest with the values passed in the parameters.ArrayForest.subtree(long row) Forest.subtree(long row) Creates a forest that contains the specified row and all its sub-rows from this forest.ArrayForest.subtreeAtIndex(int index) Forest.subtreeAtIndex(int index) Creates a forest that contains the specified row and all its sub-rows from this forest.Methods in com.almworks.jira.structure.api.forest.raw with parameters of type ForestModifier and TypeMethodDescriptionvoidvoidArrayForest.addForestMutuallyExclusive(Forest forest, long under, long after) Adds a forest to this forest.voidForestChangeEventHandler.afterForestInserted(Forest forest, int fromIndex, int toIndex, Forest insertedForest) Called at the moment after another forest is added to the forest being observed.voidvoidForestChangeEventHandler.beforeSubtreeRemoved(Forest forest, int fromIndex, int toIndex, Forest removedSubtree) Called at the moment before a subtree is removed from the forest.static ForestArrayForest.ensureImmutability(Forest forest) static StringArrayForest.getDiagnostics(Forest f) Checks whether RowTree invariants hold.voidArrayForest.mergeForest(Forest forest, long under, long after) Convenience method to callArrayForest.mergeForest(Forest, long, long, ForestChangeEventHandler)without event handler.voidArrayForest.mergeForest(Forest forest, long under, long after, ForestChangeEventHandler eventHandler) Merges another forest into this forest.voidArrayForest.replaceSubtrees(long rowId, Forest forest) Removes everything from under given row and inserts forest as sub-forest of rowId.voidArrayForest.replaceSubtreesMutuallyExclusive(long rowId, Forest forest) voidArrayForest.replaceSubtreesMutuallyExclusiveAtIndex(int index, Forest forest) Removes everything from under row with given index and inserts forest as sub-forest of the same rowbooleanReports a pair of parent row and its children (direct sub-items).Constructors in com.almworks.jira.structure.api.forest.raw with parameters of type ForestModifierConstructorDescriptionArrayForest(Forest copyFrom) ForestMergeStructureException(long mergePoint, long mergePointFatherFromSourceForest, Forest sourceForest, Forest targetForest) -
Uses of Forest in com.almworks.jira.structure.api.query
Methods in com.almworks.jira.structure.api.query that return ForestMethods in com.almworks.jira.structure.api.query with parameters of type ForestModifier and TypeMethodDescriptionabstract booleanStructureQuery.checkIndex(int index, Forest forest) abstract booleanChecks if the specified row matches the query against the specifiedForest.abstract LongArrayExecutes this query against the specifiedForest, returning IDs of all matching rows in the forest order.abstract IntArrayStructureQuery.executeIndices(Forest forest) abstract IntIteratorStructureQuery.executeIndicesUnbuffered(Forest forest) abstract LongIteratorStructureQuery.executeUnbuffered(Forest forest) Executes this query against the specifiedForest, returning an iterator over all matching row IDs in the forest order. -
Uses of Forest in com.almworks.jira.structure.api.row
Methods in com.almworks.jira.structure.api.row with parameters of type Forest -
Uses of Forest in com.almworks.jira.structure.api.structure.history
Fields in com.almworks.jira.structure.api.structure.history declared as ForestMethods in com.almworks.jira.structure.api.structure.history that return ForestConstructors in com.almworks.jira.structure.api.structure.history with parameters of type ForestModifierConstructorDescriptionChange(HistoryEntry.Operation operation, Forest forest, LongList pathFrom, LongList afterFrom, LongList pathTo, LongList afterTo, int direction, LongList originalRows) ForestVersion(Forest fullForest, HistoryEntry entry) -
Uses of Forest in com.almworks.jira.structure.api.sync.util
Methods in com.almworks.jira.structure.api.sync.util with parameters of type Forest -
Uses of Forest in com.almworks.jira.structure.api.util
Methods in com.almworks.jira.structure.api.util that return ForestMethods in com.almworks.jira.structure.api.util with parameters of type ForestModifier and TypeMethodDescriptionvoidRowTree.appendForest(Forest forest) Appends forest to the end of the tree.voidRowTree.appendForest(Forest forest, RowTree.Node underNode, RowTree.Node afterNode) Appends forest at the specified place.intRowTree.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 IndexedRowTreeConstructors in com.almworks.jira.structure.api.util with parameters of type Forest