| Modifier and Type | Field and Description |
|---|---|
| private final Connection | |
| private final BibDatabaseContext | |
| private static final Set | |
| private static final Pattern | |
| private final Character | |
| private final String | |
| private static final Logger | |
| private final String | |
| private final String | |
| private final String | |
| private final String |
| Access | Constructor and Description |
|---|---|
| public | BibFieldsIndexer(BibEntryPreferences bibEntryPreferences, BibDatabaseContext databaseContext, Connection connection)
|
| Modifier and Type | Method and Description |
|---|---|
| private static void | addAuthors(String value, PreparedStatement preparedStatementSplitValues, String entryId, Field field)
|
| private static void | |
| private static void | |
| private void | addEntryLinks(BibEntry bibEntry, Field field, PreparedStatement preparedStatementSplitValues, String entryId)
|
| private static void | addGroups(String value, PreparedStatement preparedStatementSplitValues, String entryId, Field field)
|
| private static void | addKeywords(String keywordsString, PreparedStatement preparedStatementSplitValues, String entryId, Field field, Character keywordSeparator)
|
| public void | |
| private void | |
| public void | |
| public void | |
| private void | |
| public String | |
| private void | |
| private void | |
| public void | |
| private void | |
| private void | |
| public void | |
| public void |
| connection | back to summary |
|---|---|
| private final Connection connection | |
| databaseContext | back to summary |
|---|---|
| private final BibDatabaseContext databaseContext | |
| DATE_FIELDS | back to summary |
|---|---|
| private static final Set<Field> DATE_FIELDS | |
| GROUPS_SEPARATOR_REGEX | back to summary |
|---|---|
| private static final Pattern GROUPS_SEPARATOR_REGEX | |
| keywordSeparator | back to summary |
|---|---|
| private final Character keywordSeparator | |
| libraryName | back to summary |
|---|---|
| private final String libraryName | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| mainTable | back to summary |
|---|---|
| private final String mainTable | |
| schemaMainTableReference | back to summary |
|---|---|
| private final String schemaMainTableReference | |
| schemaSplitValuesTableReference | back to summary |
|---|---|
| private final String schemaSplitValuesTableReference | |
| splitValuesTable | back to summary |
|---|---|
| private final String splitValuesTable | |
| BibFieldsIndexer | back to summary |
|---|---|
| public BibFieldsIndexer(BibEntryPreferences bibEntryPreferences, BibDatabaseContext databaseContext, Connection connection) | |
| addAuthors | back to summary |
|---|---|
| private static void addAuthors(String value, PreparedStatement preparedStatementSplitValues, String entryId, Field field) | |
| addBatch | back to summary |
|---|---|
| private static void addBatch(PreparedStatement preparedStatement, String entryId, Field field, String value) | |
| addBatch | back to summary |
|---|---|
| private static void addBatch(PreparedStatement preparedStatement, String entryId, Field field, String value, String normalized) The values are passed as they should be inserted into the database table | |
| addEntryLinks | back to summary |
|---|---|
| private void addEntryLinks(BibEntry bibEntry, Field field, PreparedStatement preparedStatementSplitValues, String entryId) | |
| addGroups | back to summary |
|---|---|
| private static void addGroups(String value, PreparedStatement preparedStatementSplitValues, String entryId, Field field) | |
| addKeywords | back to summary |
|---|---|
| private static void addKeywords(String keywordsString, PreparedStatement preparedStatementSplitValues, String entryId, Field field, Character keywordSeparator) | |
| addToIndex | back to summary |
|---|---|
| public void addToIndex(List<BibEntry> entries, BackgroundTask<?> task) | |
| addToIndex | back to summary |
|---|---|
| private void addToIndex(BibEntry bibEntry) | |
| close | back to summary |
|---|---|
| public void close() | |
| closeAndWait | back to summary |
|---|---|
| public void closeAndWait() | |
| closeIndex | back to summary |
|---|---|
| private void closeIndex() | |
| getTable | back to summary |
|---|---|
| public String getTable() | |
| insertField | back to summary |
|---|---|
| private void insertField(BibEntry entry, Field field) | |
| removeField | back to summary |
|---|---|
| private void removeField(BibEntry entry, Field field) | |
| removeFromIndex | back to summary |
|---|---|
| public void removeFromIndex(Collection<BibEntry> entries, BackgroundTask<?> task) | |
| removeFromIndex | back to summary |
|---|---|
| private void removeFromIndex(BibEntry entry) | |
| setup | back to summary |
|---|---|
| private void setup() Creates a table for the library in the database, and sets up indexes on the columns. | |
| updateEntry | back to summary |
|---|---|
| public void updateEntry(BibEntry entry, Field field) | |
| updateOnStart | back to summary |
|---|---|
| public void updateOnStart(BackgroundTask<?> task) | |