Class IndexPlanner<IdentifierT>

java.lang.Object
dev.getelements.elements.sdk.dao.index.IndexPlanner<IdentifierT>

public class IndexPlanner<IdentifierT> extends Object
Plans index updates in a database-agnostic way.
  • Method Details

    • update

      public IndexPlanner<IdentifierT> update(String context, MetadataSpec spec)
      Updates the indexing plan with the given metadata specification.
      Parameters:
      context -
      spec -
      Returns:
    • getFinalExecutionSteps

      public List<IndexPlanStep<IdentifierT>> getFinalExecutionSteps()
      Calculates the final plan based on the updates applied to the plan so far.
      Returns:
      the final plan