public class DefaultSolrPartialUpdateInputDocument extends DefaultSolrInputDocument
IndexerQueryContext for partial updates.| Constructor and Description |
|---|
DefaultSolrPartialUpdateInputDocument(SolrInputDocument delegate,
IndexerBatchContext batchContext,
FieldNameProvider fieldNameProvider,
RangeNameProvider rangeNameProvider,
Set<String> indexedFields) |
| Modifier and Type | Method and Description |
|---|---|
void |
addField(IndexedProperty indexedProperty,
Object value)
Same as
InputDocument.addField(IndexedProperty, Object, String) with implied null value for the qualifier. |
void |
addField(IndexedProperty indexedProperty,
Object value,
String qualifier)
Adds a field for the given indexed property, value and qualifier.
|
void |
addField(String fieldName,
Object value)
Adds a field with the given name and value.
|
protected void |
endDocument() |
Set<String> |
getIndexedFields() |
Set<String> |
getNotUpdatedIndexedFields() |
protected void |
startDocument() |
getBatchContext, getDelegate, getFieldNameProvider, getRangeNameProviderpublic DefaultSolrPartialUpdateInputDocument(SolrInputDocument delegate,
IndexerBatchContext batchContext,
FieldNameProvider fieldNameProvider,
RangeNameProvider rangeNameProvider,
Set<String> indexedFields)
public void addField(String fieldName, Object value) throws FieldValueProviderException
InputDocumentaddField in interface InputDocumentaddField in class DefaultSolrInputDocumentfieldName - - the field namevalue - - the field valueFieldValueProviderExceptionpublic void addField(IndexedProperty indexedProperty, Object value) throws FieldValueProviderException
InputDocumentInputDocument.addField(IndexedProperty, Object, String) with implied null value for the qualifier.addField in interface InputDocumentaddField in class DefaultSolrInputDocumentindexedProperty - - the indexed propertyvalue - - the field valueFieldValueProviderExceptionInputDocument.addField(IndexedProperty, Object)public void addField(IndexedProperty indexedProperty, Object value, String qualifier) throws FieldValueProviderException
InputDocumentaddField in interface InputDocumentaddField in class DefaultSolrInputDocumentindexedProperty - - the indexed propertyvalue - - the field valuequalifier - - the qualifierFieldValueProviderExceptionprotected void startDocument()
startDocument in class DefaultSolrInputDocumentprotected void endDocument()
endDocument in class DefaultSolrInputDocumentCopyright © 2017 SAP SE. All Rights Reserved.