All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.almworks.jira.structure.api2g.attribute.StructureAttributeService Maven / Gradle / Ivy

There is a newer version: 17.25.3
Show newest version
package com.almworks.jira.structure.api2g.attribute;

import com.almworks.integers.LongList;
import com.almworks.jira.structure.api2g.forest.*;
import org.jetbrains.annotations.Nullable;

import java.util.Collection;

public interface StructureAttributeService {
  /**
   * Returns attribute values for the given Rows x Attributes, calculated on the forest defined by forestSpec.
   * Performs unwinding of the temporary row IDs.
   */
  VersionedRowValues getAttributeValues(@Nullable ForestSpec spec, @Nullable LongList rows,
    @Nullable Collection> attributes);

  VersionedRowValues getAttributeValues(@Nullable Forest forest, @Nullable LongList rows,
    @Nullable Collection> attributes);

  VersionedRowValues getAttributeValues(@Nullable ItemForest forest, @Nullable LongList rows,
    @Nullable Collection> attributes);

  void clearCache();

  // do we need this method? is it only used in test?
//  AggregateResult getAttributeValues(ItemForest forest, List rows, Collection> attributes);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy