AttributeChangeBatch
Inheritance: java.lang.Object
public class AttributeChangeBatch
Represents a container for attribute changes.
Learn more
Constructors
Constructor | Description |
---|---|
AttributeChangeBatch() | Initializes a new instance of the AttributeChangeBatch class. |
AttributeChangeBatch(Object data) | Initializes a new instance of the AttributeChangeBatch class. |
Methods
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() |
AttributeChangeBatch()
public AttributeChangeBatch()
Initializes a new instance of the AttributeChangeBatch class.
AttributeChangeBatch(Object data)
public AttributeChangeBatch(Object data)
Initializes a new instance of the AttributeChangeBatch class.
Parameters:
Parameter | Type | Description |
---|---|---|
data | java.lang.Object | The serialized data. |
add(String path, String[] attributes)
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. |
add(String[] paths, String[] attributes)
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. |
addToAll(String[] attributes)
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. |
remove(String path, String[] attributes)
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. |
remove(String[] paths, String[] attributes)
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. |
removeAll(String path)
public void removeAll(String path)
Removes all attributes from the specified indexed document.
Parameters:
Parameter | Type | Description |
---|---|---|
path | java.lang.String | The document path. |
removeAll(String[] paths)
public void removeAll(String[] paths)
Removes all attributes from the specified indexed documents.
Parameters:
Parameter | Type | Description |
---|---|---|
paths | java.lang.String[] | The documents paths. |
removeFromAll(String[] attributes)
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. |
clear()
public void clear()
Removes all attributes from all documents in the index.
getCore()
public Object getCore()
Returns: java.lang.Object