Class NodeCollectionCreator

java.lang.Object
org.saidone.component.BaseComponent
org.saidone.component.NodeCollectionCreator
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware

@Component public class NodeCollectionCreator extends BaseComponent
Ensures the primary Node collection exists and provides an index on the archive date field for efficient queries.
  • Constructor Details

    • NodeCollectionCreator

      public NodeCollectionCreator()
  • Method Details

    • init

      @PostConstruct public void init()
      Creates the alf_node collection if missing and adds an index on the adt field to speed up archive date lookups.
      Overrides:
      init in class BaseComponent