public class AttributeChangeBatch extends Object
Learn more
| Modifier | Constructor and Description |
|---|---|
|
AttributeChangeBatch()
Initializes a new instance of the
AttributeChangeBatch class. |
|
AttributeChangeBatch(Object data)
Initializes a new instance of the
AttributeChangeBatch class. |
protected |
AttributeChangeBatch(Object state1,
Object state2)
Initializes a new instance of the
AttributeChangeBatch class. |
| Modifier and Type | Method and Description |
|---|---|
void |
add(String[] paths,
String... attributes)
Adds the specified attributes to the specified indexed documents.
|
void |
add(String path,
String... attributes)
Adds the specified attributes to the specified indexed document.
|
void |
addToAll(String... attributes)
Adds the specified attributes to all documents in the index.
|
void |
clear()
Removes all attributes from all documents in the index.
|
Object |
getCore() |
void |
remove(String[] paths,
String... attributes)
Removes the specified attributes from the specified indexed documents.
|
void |
remove(String path,
String... attributes)
Removes the specified attributes from the specified indexed document.
|
void |
removeAll(String path)
Removes all attributes from the specified indexed document.
|
void |
removeAll(String[] paths)
Removes all attributes from the specified indexed documents.
|
void |
removeFromAll(String... attributes)
Removes the specified attributes from all documents in the index.
|
public AttributeChangeBatch()
AttributeChangeBatch class.public AttributeChangeBatch(Object data)
AttributeChangeBatch class.data - The serialized data.public void add(String[] paths, String... attributes)
paths - The documents paths.attributes - The attributes to add.public void add(String path, String... attributes)
path - The document path.attributes - The attributes to add.public void addToAll(String... attributes)
attributes - The attributes to add.public void clear()
public Object getCore()
public void remove(String[] paths, String... attributes)
paths - The documents paths.attributes - The attributes to remove.public void remove(String path, String... attributes)
path - The document path.attributes - The attributes to remove.public void removeAll(String path)
path - The document path.public void removeAll(String[] paths)
paths - The documents paths.public void removeFromAll(String... attributes)
attributes - The attributes to remove.Copyright © 2026. All rights reserved.