public class IndexModel extends Object implements Serializable
Constructor and Description |
---|
IndexModel() |
Modifier and Type | Method and Description |
---|---|
int |
getIndexed()
Count of indexed objects
|
String |
getName()
Index name
|
int |
getObjects()
Count of objects that must be indexed
|
int |
getPending()
Get pending documents
|
int |
getQueued()
Number of documents queued to be indexed
|
boolean |
isFound()
True when the index exists
|
boolean |
isMappingValid()
True when the index mapping is valid
|
boolean |
isSettingsValid()
True when the index settings are valid
|
IndexModel |
setFound(boolean found)
Set existence flag
|
IndexModel |
setIndexed(int indexed)
Set index count
|
IndexModel |
setMappingValid(boolean mappingValid)
Set mapping validity flag
|
IndexModel |
setName(String name)
Set name
|
IndexModel |
setObjects(int objects)
Set object count
|
IndexModel |
setPending(int pending)
Set pending documents
|
IndexModel |
setQueued(int queued)
Set queued documents
|
IndexModel |
setSettingsValid(boolean settingsValid)
Set settings validity flag
|
public String getName()
public IndexModel setName(String name)
name
- namepublic boolean isFound()
public IndexModel setFound(boolean found)
found
- flagpublic boolean isSettingsValid()
public IndexModel setSettingsValid(boolean settingsValid)
settingsValid
- flagpublic boolean isMappingValid()
public IndexModel setMappingValid(boolean mappingValid)
mappingValid
- flagpublic int getIndexed()
public IndexModel setIndexed(int indexed)
indexed
- countpublic int getObjects()
public IndexModel setObjects(int objects)
objects
- countpublic int getQueued()
public IndexModel setQueued(int queued)
queued
- countpublic int getPending()
public IndexModel setPending(int pending)
pending
- documentsCopyright © 2024 Gentics Software. All rights reserved.