| Modifier and Type | Class and Description |
|---|---|
| private static record |
| Modifier and Type | Field and Description |
|---|---|
| private final BibFieldsIndexer | |
| private final BibFieldsSearcher | |
| private final AtomicBoolean | |
| private final BibDatabaseContext | |
| private final DelayTaskThrottler | |
| private final LinkedFilesIndexManager | |
| private static final Logger | |
| private final ConcurrentHashMap | |
| private final TaskExecutor |
| Access | Constructor and Description |
|---|---|
| public | IndexManager(BibDatabaseContext databaseContext, TaskExecutor executor, CliPreferences preferences, PostgresServer postgresServer)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public static void | |
| public void | |
| public void | |
| private void | |
| public boolean | |
| public void | |
| public void | |
| public SearchResults | |
| public void | |
| private void |
| bibFieldsIndexer | back to summary |
|---|---|
| private final BibFieldsIndexer bibFieldsIndexer | |
| bibFieldsSearcher | back to summary |
|---|---|
| private final BibFieldsSearcher bibFieldsSearcher | |
| closed | back to summary |
|---|---|
| private final AtomicBoolean closed | |
| databaseContext | back to summary |
|---|---|
| private final BibDatabaseContext databaseContext | |
| indexUpdateThrottler | back to summary |
|---|---|
| private final DelayTaskThrottler indexUpdateThrottler | |
| linkedFilesIndexManager | back to summary |
|---|---|
| private final LinkedFilesIndexManager linkedFilesIndexManager | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| pendingFieldsByEntry | back to summary |
|---|---|
| private final ConcurrentHashMap<String, IndexManager. | |
| taskExecutor | back to summary |
|---|---|
| private final TaskExecutor taskExecutor | |
| IndexManager | back to summary |
|---|---|
| public IndexManager(BibDatabaseContext databaseContext, TaskExecutor executor, CliPreferences preferences, PostgresServer postgresServer) | |
| addToIndex | back to summary |
|---|---|
| public void addToIndex(List<BibEntry> entries) | |
| clearOldSearchIndices | back to summary |
|---|---|
| public static void clearOldSearchIndices() | |
| close | back to summary |
|---|---|
| public void close() | |
| closeAndWait | back to summary |
|---|---|
| public void closeAndWait() | |
| closeThrottler | back to summary |
|---|---|
| private void closeThrottler(boolean waitForShutdown) | |
| isEntryMatched | back to summary |
|---|---|
| public boolean isEntryMatched(BibEntry entry, SearchQuery query)
Implementation Note No need to check for full-text searches as this method only used by the search groups | |
| rebuildFullTextIndex | back to summary |
|---|---|
| public void rebuildFullTextIndex() | |
| removeFromIndex | back to summary |
|---|---|
| public void removeFromIndex(List<BibEntry> entries) | |
| search | back to summary |
|---|---|
| public SearchResults search(SearchQuery query) | |
| updateEntry | back to summary |
|---|---|
| public void updateEntry(FieldChangedEvent event) | |
| updateOnStart | back to summary |
|---|---|
| private void updateOnStart() | |
| Modifier and Type | Field and Description |
|---|---|
| private final BibEntry | |
| private final Set |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public BibEntry | |
| public final boolean | equals(Object o)
Implements abstract java. Indicates whether some other object is "equal to" this one. |
| public Set | |
| public final int | |
| public final String | toString()
Implements abstract java. Returns a string representation of the record. |
| entry | back to summary |
|---|---|
| private final BibEntry entry Record Component accessed by entry(). | |
| fields | back to summary |
|---|---|
| private final Set<Field> fields Record Component accessed by fields(). | |
| PendingFieldUpdates | back to summary |
|---|---|
| private PendingFieldUpdates(BibEntry entry, Set<Field> fields) | |
| entry | back to summary |
|---|---|
| public BibEntry entry() Record Component getter of entry. | |
| equals | back to summary |
|---|---|
| public final boolean equals(Object o) Implements abstract java. Doc from java. Indicates whether some other object is "equal to" this one. In addition
to the general contract of
R copy = new R(r.c1(), r.c2(), ..., r.cn());
then it must be the case that r.equals(copy).
| |
| fields | back to summary |
|---|---|
| public Set Record Component getter of fields. | |
| hashCode | back to summary |
|---|---|
| public final int hashCode() Implements abstract java. Doc from java. Returns a hash code value for the record.
Obeys the general contract of | |
| toString | back to summary |
|---|---|
| public final String toString() Implements abstract java. Doc from java. Returns a string representation of the record.
In accordance with the general contract of In addition to this general contract, record classes must further participate in the invariant that any two records which are equal must produce equal strings. This invariant is necessarily relaxed in the rare case where corresponding equal component values might fail to produce equal strings for themselves. | |