## Uses of Class
org.hibernate.search.backend.LuceneWork

- Packages that use LuceneWork
  Package | Description
  --- | ---
  org.hibernate.search.backend |
  org.hibernate.search.backend.impl |
  org.hibernate.search.backend.impl.batch |
  org.hibernate.search.backend.impl.blackhole |
  org.hibernate.search.backend.impl.lucene |
  org.hibernate.search.backend.impl.lucene.works |
  org.hibernate.search.backend.jgroups.impl |
  org.hibernate.search.backend.jms.impl |
  org.hibernate.search.backend.spi |
  org.hibernate.search.elasticsearch.impl |
  org.hibernate.search.elasticsearch.work.impl |
  org.hibernate.search.elasticsearch.work.impl.builder |
  org.hibernate.search.engine.impl |
  org.hibernate.search.engine.spi |
  org.hibernate.search.exception |
  org.hibernate.search.exception.impl |
  org.hibernate.search.indexes.serialization.avro.impl |
  org.hibernate.search.indexes.serialization.impl |
  org.hibernate.search.indexes.serialization.spi |
  org.hibernate.search.indexes.spi |
  org.hibernate.search.store |

- - ### Uses of LuceneWork in org.hibernate.search.backend

    Subclasses of LuceneWork in org.hibernate.search.backend
    Modifier and Type | Class and Description
    --- | ---
    `class` | `AddLuceneWork`
    `class` | `DeleteLuceneWork`
    `class` | `FlushLuceneWork` Used to flush and commit asynchronous and other pending operations on the Indexes.
    `class` | `OptimizeLuceneWork` A unit of work triggering an optimize operation.
    `class` | `PurgeAllLuceneWork` A unit of work used to purge an entire index.
    `class` | `UpdateLuceneWork` Carries a Lucene update operation from the engine to the backend

  - ### Uses of LuceneWork in org.hibernate.search.backend.impl

    Methods in org.hibernate.search.backend.impl that return types with arguments of type LuceneWork
    Modifier and Type | Method and Description
    --- | ---
    `List<LuceneWork>` | WorkQueue.`getSealedQueue()`

    Methods in org.hibernate.search.backend.impl with parameters of type LuceneWork
    Modifier and Type | Method and Description
    --- | ---
    `void` | WorkQueuePerIndexSplitter.`addToQueue(IndexManager indexManager, LuceneWork work)`
    `void` | LocalBackendQueueProcessor.`applyStreamWork(LuceneWork singleOperation, IndexingMonitor monitor)`
    `void` | TransactionalOperationDispatcher.`dispatch(LuceneWork work, IndexingMonitor monitor)`
    `void` | StreamingOperationDispatcher.`dispatch(LuceneWork work, IndexingMonitor monitor)`
    `void` | TransactionalOperationExecutor.`performOperation(LuceneWork work, IndexManagerSelector selector, WorkQueuePerIndexSplitter context)` The LuceneWork must be applied to different indexes.
    `void` | WorkQueuePerIndexSplitter.`performStreamOperation(IndexManager indexManager, LuceneWork work)`
    `void` | StreamingOperationExecutor.`performStreamOperation(LuceneWork work, IndexManagerSelector selector, IndexingMonitor monitor, boolean forceAsync)` The LuceneWork must be applied to different indexes.

    Method parameters in org.hibernate.search.backend.impl with type arguments of type LuceneWork
    Modifier and Type | Method and Description
    --- | ---
    `void` | LocalBackendQueueProcessor.`applyWork(List<LuceneWork> workList, IndexingMonitor monitor)`
    `void` | TransactionalOperationDispatcher.`dispatch(List<LuceneWork> queue, IndexingMonitor monitor)`
    `void` | StreamingOperationDispatcher.`dispatch(List<LuceneWork> queue, IndexingMonitor monitor)`

  - ### Uses of LuceneWork in org.hibernate.search.backend.impl.batch

    Methods in org.hibernate.search.backend.impl.batch with parameters of type LuceneWork
    Modifier and Type | Method and Description
    --- | ---
    `void` | DefaultBatchBackend.`doWorkInSync(LuceneWork work)`
    `void` | DefaultBatchBackend.`enqueueAsyncWork(LuceneWork work)`

  - ### Uses of LuceneWork in org.hibernate.search.backend.impl.blackhole

    Methods in org.hibernate.search.backend.impl.blackhole with parameters of type LuceneWork
    Modifier and Type | Method and Description
    --- | ---
    `void` | BlackHoleBackendQueueProcessor.`applyStreamWork(LuceneWork singleOperation, IndexingMonitor monitor)`

    Method parameters in org.hibernate.search.backend.impl.blackhole with type arguments of type LuceneWork
    Modifier and Type | Method and Description
    --- | ---
    `void` | BlackHoleBackendQueueProcessor.`applyWork(List<LuceneWork> workList, IndexingMonitor monitor)`

  - ### Uses of LuceneWork in org.hibernate.search.backend.impl.lucene

    Methods in org.hibernate.search.backend.impl.lucene that return types with arguments of type LuceneWork
    Modifier and Type | Method and Description
    --- | ---
    `Iterator<LuceneWork>` | Changeset.`iterator()`

    Methods in org.hibernate.search.backend.impl.lucene with parameters of type LuceneWork
    Modifier and Type | Method and Description
    --- | ---
    `void` | WorkspaceHolder.`applyStreamWork(LuceneWork singleOperation, IndexingMonitor monitor)`
    `void` | SharedIndexWorkspaceImpl.`notifyWorkApplied(LuceneWork work)`
    `void` | ExclusiveIndexWorkspaceImpl.`notifyWorkApplied(LuceneWork work)`
    `void` | NRTWorkspaceImpl.`notifyWorkApplied(LuceneWork work)`

    Method parameters in org.hibernate.search.backend.impl.lucene with type arguments of type LuceneWork
    Modifier and Type | Method and Description
    --- | ---
    `void` | WorkspaceHolder.`applyWork(List<LuceneWork> workList, IndexingMonitor monitor)`

    Constructor parameters in org.hibernate.search.backend.impl.lucene with type arguments of type LuceneWork
    Constructor and Description
    `Changeset(List<LuceneWork> workList, Thread producer, IndexingMonitor monitor)`

  - ### Uses of LuceneWork in org.hibernate.search.backend.impl.lucene.works

    Methods in org.hibernate.search.backend.impl.lucene.works with parameters of type LuceneWork
    Modifier and Type | Method and Description
    --- | ---
    `void` | LuceneWorkExecutor.`performWork(LuceneWork work, IndexWriterDelegate delegate, IndexingMonitor monitor)` Will perform work on an IndexWriter.
    `void` | UpdateWorkExecutor.`performWork(LuceneWork work, IndexWriterDelegate delegate, IndexingMonitor monitor)`
    `void` | UpdateExtWorkExecutor.`performWork(LuceneWork work, IndexWriterDelegate delegate, IndexingMonitor monitor)`
    `void` | DeleteExtWorkExecutor.`performWork(LuceneWork work, IndexWriterDelegate delegate, IndexingMonitor monitor)`
    `void` | ByTermDeleteWorkExecutor.`performWork(LuceneWork work, IndexWriterDelegate delegate, IndexingMonitor monitor)`
    `void` | ByTermUpdateWorkExecutor.`performWork(LuceneWork work, IndexWriterDelegate delegate, IndexingMonitor monitor)`

  - ### Uses of LuceneWork in org.hibernate.search.backend.jgroups.impl

    Methods in org.hibernate.search.backend.jgroups.impl with parameters of type LuceneWork
    Modifier and Type | Method and Description
    --- | ---
    `void` | JGroupsBackendQueueProcessor.`applyStreamWork(LuceneWork singleOperation, IndexingMonitor monitor)`

    Method parameters in org.hibernate.search.backend.jgroups.impl with type arguments of type LuceneWork
    Modifier and Type | Method and Description
    --- | ---
    `void` | JGroupsBackendQueueProcessor.`applyWork(List<LuceneWork> workList, IndexingMonitor monitor)`
    `void` | JGroupsBackendQueueTask.`sendLuceneWorkList(List<LuceneWork> queue)`

  - ### Uses of LuceneWork in org.hibernate.search.backend.jms.impl

    Methods in org.hibernate.search.backend.jms.impl with parameters of type LuceneWork
    Modifier and Type | Method and Description
    --- | ---
    `void` | JmsBackendQueueProcessor.`applyStreamWork(LuceneWork singleOperation, IndexingMonitor monitor)`

    Method parameters in org.hibernate.search.backend.jms.impl with type arguments of type LuceneWork
    Modifier and Type | Method and Description
    --- | ---
    `void` | JmsBackendQueueProcessor.`applyWork(List<LuceneWork> workList, IndexingMonitor monitor)`

    Constructor parameters in org.hibernate.search.backend.jms.impl with type arguments of type LuceneWork
    Constructor and Description
    `JmsBackendQueueTask(String indexName, Collection<LuceneWork> queue, JmsBackendQueueProcessor jmsBackendQueueProcessor, LuceneWorkSerializer luceneWorkSerializer)`

  - ### Uses of LuceneWork in org.hibernate.search.backend.spi

    Subclasses of LuceneWork in org.hibernate.search.backend.spi
    Modifier and Type | Class and Description
    --- | ---
    `class` | `DeleteByQueryLuceneWork` Representation of deleteByQuery(...) from Lucene.

    Methods in org.hibernate.search.backend.spi with parameters of type LuceneWork
    Modifier and Type | Method and Description
    --- | ---
    `void` | BackendQueueProcessor.`applyStreamWork(LuceneWork singleOperation, IndexingMonitor monitor)` Applies a single operation on the index, and different operations can be applied in parallel, even in parallel to a workList instance being processed by `BackendQueueProcessor.applyWork(List, IndexingMonitor)`
    `void` | OperationDispatcher.`dispatch(LuceneWork work, IndexingMonitor monitor)`
    `void` | BatchBackend.`doWorkInSync(LuceneWork work)` Does one work in sync
    `void` | BatchBackend.`enqueueAsyncWork(LuceneWork work)` Enqueues one work to be processed asynchronously

    Method parameters in org.hibernate.search.backend.spi with type arguments of type LuceneWork
    Modifier and Type | Method and Description
    --- | ---
    `void` | BackendQueueProcessor.`applyWork(List<LuceneWork> workList, IndexingMonitor monitor)` Applies a list of operations to the index.
    `void` | OperationDispatcher.`dispatch(List<LuceneWork> queue, IndexingMonitor monitor)`

  - ### Uses of LuceneWork in org.hibernate.search.elasticsearch.impl

    Methods in org.hibernate.search.elasticsearch.impl with parameters of type LuceneWork
    Modifier and Type | Method and Description
    --- | ---
    `void` | ElasticsearchIndexManager.`performStreamOperation(LuceneWork singleOperation, IndexingMonitor monitor, boolean forceAsync)`

    Method parameters in org.hibernate.search.elasticsearch.impl with type arguments of type LuceneWork
    Modifier and Type | Method and Description
    --- | ---
    `void` | ElasticsearchIndexManager.`performOperations(List<LuceneWork> workList, IndexingMonitor monitor)`

  - ### Uses of LuceneWork in org.hibernate.search.elasticsearch.work.impl

    Fields in org.hibernate.search.elasticsearch.work.impl declared as LuceneWork
    Modifier and Type | Field and Description
    --- | ---
    `protected LuceneWork` | SimpleElasticsearchWork.Builder.`luceneWork`

    Methods in org.hibernate.search.elasticsearch.work.impl that return LuceneWork
    Modifier and Type | Method and Description
    --- | ---
    `LuceneWork` | BulkWork.`getLuceneWork()`
    `LuceneWork` | ElasticsearchWork.`getLuceneWork()`
    `LuceneWork` | SimpleElasticsearchWork.`getLuceneWork()`

    Methods in org.hibernate.search.elasticsearch.work.impl with parameters of type LuceneWork
    Modifier and Type | Method and Description
    --- | ---
    `B` | SimpleElasticsearchWork.Builder.`luceneWork(LuceneWork luceneWork)`

  - ### Uses of LuceneWork in org.hibernate.search.elasticsearch.work.impl.builder

    Methods in org.hibernate.search.elasticsearch.work.impl.builder with parameters of type LuceneWork
    Modifier and Type | Method and Description
    --- | ---
    `B` | TranslatedLuceneWorkBuilder.`luceneWork(LuceneWork luceneWork)`

  - ### Uses of LuceneWork in org.hibernate.search.engine.impl

    Methods in org.hibernate.search.engine.impl that return types with arguments of type LuceneWork
    Modifier and Type | Method and Description
    --- | ---
    `List<LuceneWork>` | WorkPlan.`getPlannedLuceneWork()`

  - ### Uses of LuceneWork in org.hibernate.search.engine.spi

    Method parameters in org.hibernate.search.engine.spi with type arguments of type LuceneWork
    Modifier and Type | Method and Description
    --- | ---
    `abstract void` | AbstractDocumentBuilder.`addWorkToQueue(String tenantIdentifier, IndexedTypeIdentifier typeIdentifier, Object entity, Serializable id, boolean delete, boolean add, List<LuceneWork> queue, ConversionContext contextualBridge)`
    `void` | DocumentBuilderContainedEntity.`addWorkToQueue(String tenantId, IndexedTypeIdentifier typeIdentifier, Object entity, Serializable id, boolean delete, boolean add, List<LuceneWork> queue, ConversionContext contextualBridge)`
    `void` | DocumentBuilderIndexedEntity.`addWorkToQueue(String tenantId, IndexedTypeIdentifier typeIdentifier, Object entity, Serializable id, boolean delete, boolean add, List<LuceneWork> queue, ConversionContext contextualBridge)`

  - ### Uses of LuceneWork in org.hibernate.search.exception

    Methods in org.hibernate.search.exception that return LuceneWork
    Modifier and Type | Method and Description
    --- | ---
    `LuceneWork` | ErrorContext.`getOperationAtFault()`

    Methods in org.hibernate.search.exception that return types with arguments of type LuceneWork
    Modifier and Type | Method and Description
    --- | ---
    `List<LuceneWork>` | ErrorContext.`getFailingOperations()`

  - ### Uses of LuceneWork in org.hibernate.search.exception.impl

    Methods in org.hibernate.search.exception.impl with parameters of type LuceneWork
    Modifier and Type | Method and Description
    --- | ---
    `ErrorContextBuilder` | ErrorContextBuilder.`addWorkThatFailed(LuceneWork failedWork)`
    `static void` | LogErrorHandler.`appendFailureMessage(StringBuilder message, LuceneWork workThatFailed)`
    `ErrorContextBuilder` | ErrorContextBuilder.`operationAtFault(LuceneWork operationAtFault)`
    `ErrorContextBuilder` | ErrorContextBuilder.`workCompleted(LuceneWork luceneWork)`

    Method parameters in org.hibernate.search.exception.impl with type arguments of type LuceneWork
    Modifier and Type | Method and Description
    --- | ---
    `ErrorContextBuilder` | ErrorContextBuilder.`addAllWorkThatFailed(List<LuceneWork> worksThatFailed)`
    `ErrorContextBuilder` | ErrorContextBuilder.`allWorkToBeDone(Iterable<LuceneWork> workOnWriter)`

  - ### Uses of LuceneWork in org.hibernate.search.indexes.serialization.avro.impl

    Method parameters in org.hibernate.search.indexes.serialization.avro.impl with type arguments of type LuceneWork
    Modifier and Type | Method and Description
    --- | ---
    `void` | AvroSerializer.`luceneWorks(List<LuceneWork> works)`

  - ### Uses of LuceneWork in org.hibernate.search.indexes.serialization.impl

    Methods in org.hibernate.search.indexes.serialization.impl that return types with arguments of type LuceneWork
    Modifier and Type | Method and Description
    --- | ---
    `List<LuceneWork>` | LuceneWorkHydrator.`getLuceneWorks()`
    `List<LuceneWork>` | LuceneWorkSerializerImpl.`toLuceneWorks(byte[] data)` Convert a byte[] to a List of LuceneWork (assuming the same SerializationProvider is used of course)

    Method parameters in org.hibernate.search.indexes.serialization.impl with type arguments of type LuceneWork
    Modifier and Type | Method and Description
    --- | ---
    `byte[]` | LuceneWorkSerializerImpl.`toSerializedModel(List<LuceneWork> works)` Convert a List of LuceneWork into a byte[]

  - ### Uses of LuceneWork in org.hibernate.search.indexes.serialization.spi

    Methods in org.hibernate.search.indexes.serialization.spi that return types with arguments of type LuceneWork
    Modifier and Type | Method and Description
    --- | ---
    `List<LuceneWork>` | LuceneWorkSerializer.`toLuceneWorks(byte[] data)` Convert a byte[] to a List of LuceneWork.

    Method parameters in org.hibernate.search.indexes.serialization.spi with type arguments of type LuceneWork
    Modifier and Type | Method and Description
    --- | ---
    `void` | Serializer.`luceneWorks(List<LuceneWork> works)`
    `byte[]` | LuceneWorkSerializer.`toSerializedModel(List<LuceneWork> works)` Convert a List of LuceneWork into a byte[].

  - ### Uses of LuceneWork in org.hibernate.search.indexes.spi

    Methods in org.hibernate.search.indexes.spi with parameters of type LuceneWork
    Modifier and Type | Method and Description
    --- | ---
    `void` | IndexManager.`performStreamOperation(LuceneWork singleOperation, IndexingMonitor monitor, boolean forceAsync)` Perform a single non-transactional operation, best to stream large amounts of operations.
    `void` | DirectoryBasedIndexManager.`performStreamOperation(LuceneWork singleOperation, IndexingMonitor monitor, boolean forceAsync)`

    Method parameters in org.hibernate.search.indexes.spi with type arguments of type LuceneWork
    Modifier and Type | Method and Description
    --- | ---
    `void` | IndexManager.`performOperations(List<LuceneWork> queue, IndexingMonitor monitor)` Used to apply update operations to the index.
    `void` | DirectoryBasedIndexManager.`performOperations(List<LuceneWork> workList, IndexingMonitor monitor)`

  - ### Uses of LuceneWork in org.hibernate.search.store

    Methods in org.hibernate.search.store with parameters of type LuceneWork
    Modifier and Type | Method and Description
    --- | ---
    `void` | Workspace.`notifyWorkApplied(LuceneWork work)` Deprecated. Some workspaces need this to determine for example the kind of flush operations which are safe to apply.

Copyright © 2006-2017 Red Hat, Inc. All Rights Reserved