In package com.eden.orchid.api.indexing

@Singleton
public final class IndexServiceImpl extends Object implements IndexService

since: v1.0.0 public final

Constructors

IndexServiceImpl(Set<E> globalCollections) public
Constructor Annotations:
@Inject

Parameters:
  • Set globalCollections

Methods

void initialize(OrchidContext context) public
Method Annotations:
@Override

Parameters:
void clearIndex() public
Method Annotations:
@Override

OrchidIndex getIndex() public
Method Annotations:
@Override

OrchidRootInternalIndex getInternalIndex() public
Method Annotations:
@Override

OrchidRootExternalIndex getExternalIndex() public
Method Annotations:
@Override

OrchidCompositeIndex getCompositeIndex() public
Method Annotations:
@Override

void mergeIndices(OrchidIndex indices) public
Method Annotations:
@Override

Parameters:
List<E> getGeneratorPages(String generator) public
Method Annotations:
@Override

Parameters:
  • String generator
void addChildIndex(String key, OrchidInternalIndex index) public

Parameters:
void addExternalChildIndex(OrchidIndex index) public

Parameters:
OrchidIndex createIndex(String rootKey, Collection<E> pages) public

Parameters:
  • String rootKey
  • Collection pages
void addCollections(List<E> collections) public
Method Annotations:
@Override

Parameters:
  • List collections
List<E> getCollections() public
Method Annotations:
@Override

Object find(String collectionType, String collectionId, String itemId) public
Method Annotations:
@Override

Parameters:
  • String collectionType
  • String collectionId
  • String itemId
OrchidPage findPage(String collectionType, String collectionId, String itemId) public
Method Annotations:
@Override

Parameters:
  • String collectionType
  • String collectionId
  • String itemId
List<E> findAll(String collectionType, String collectionId, String itemId) public
Method Annotations:
@Override

Parameters:
  • String collectionType
  • String collectionId
  • String itemId
List<E> findAll(String collectionType, String collectionId, String itemId, int page, int pageSize) public
Method Annotations:
@Override

Parameters:
  • String collectionType
  • String collectionId
  • String itemId
  • page
  • pageSize