AttributeChangeBatch
Leave feedback
On this page
Inheritance: java.lang.Object
public class AttributeChangeBatch
Represents a container for attribute changes.
Learn more
| Constructor | Description |
|---|---|
| AttributeChangeBatch() | Initializes a new instance of the AttributeChangeBatch class. |
| AttributeChangeBatch(Object data) | Initializes a new instance of the AttributeChangeBatch class. |
| Method | Description |
|---|---|
| add(String path, String[] attributes) | Adds the specified attributes to the specified indexed document. |
| add(String[] paths, String[] attributes) | Adds the specified attributes to the specified indexed documents. |
| addToAll(String[] attributes) | Adds the specified attributes to all documents in the index. |
| remove(String path, String[] attributes) | Removes the specified attributes from the specified indexed document. |
| remove(String[] paths, String[] attributes) | Removes the specified attributes from the specified indexed documents. |
| removeAll(String path) | Removes all attributes from the specified indexed document. |
| removeAll(String[] paths) | Removes all attributes from the specified indexed documents. |
| removeFromAll(String[] attributes) | Removes the specified attributes from all documents in the index. |
| clear() | Removes all attributes from all documents in the index. |
| getCore() |
public AttributeChangeBatch()
Initializes a new instance of the AttributeChangeBatch class.
public AttributeChangeBatch(Object data)
Initializes a new instance of the AttributeChangeBatch class.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| data | java.lang.Object | The serialized data. |
public void add(String path, String[] attributes)
Adds the specified attributes to the specified indexed document.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| path | java.lang.String | The document path. |
| attributes | java.lang.String[] | The attributes to add. |
public void add(String[] paths, String[] attributes)
Adds the specified attributes to the specified indexed documents.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| paths | java.lang.String[] | The documents paths. |
| attributes | java.lang.String[] | The attributes to add. |
public void addToAll(String[] attributes)
Adds the specified attributes to all documents in the index.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| attributes | java.lang.String[] | The attributes to add. |
public void remove(String path, String[] attributes)
Removes the specified attributes from the specified indexed document.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| path | java.lang.String | The document path. |
| attributes | java.lang.String[] | The attributes to remove. |
public void remove(String[] paths, String[] attributes)
Removes the specified attributes from the specified indexed documents.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| paths | java.lang.String[] | The documents paths. |
| attributes | java.lang.String[] | The attributes to remove. |
public void removeAll(String path)
Removes all attributes from the specified indexed document.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| path | java.lang.String | The document path. |
public void removeAll(String[] paths)
Removes all attributes from the specified indexed documents.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| paths | java.lang.String[] | The documents paths. |
public void removeFromAll(String[] attributes)
Removes the specified attributes from all documents in the index.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| attributes | java.lang.String[] | The attributes to remove. |
public void clear()
Removes all attributes from all documents in the index.
public Object getCore()
Returns: java.lang.Object
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.