public interface SearchErrorCode
IndexForm.SystemCapability.Data#DATA_SEARCH| 限定符和类型 | 字段 | 说明 |
|---|---|---|
static int |
FAIL |
Error code returned when
SearchAbility#setIndexForm(String,int,List) or
SearchAbility#clearIndexForm(String) fails to be called. |
static int |
INDEXFORM_CONTENT_DIFF |
Error code returned if
IndexForm is
to be upgraded but the version number is not added when
SearchAbility#setIndexForm(String,int,List) is called. |
static int |
INDEXFORM_CONTENT_ERR |
Error code returned if the
IndexForm list
has no primary key or has multiple primary keys when
SearchAbility#setIndexForm(String,int,List) is called. |
static int |
INDEXFORM_NOT_EXISTED |
Error code returned if a
IndexForm instance
does not exist when SearchAbility#getIndexFormVersion(String) is called. |
static int |
INDEXFORM_VERSION_ERR |
Error code returned when
SearchAbility#setIndexForm(String,int,List) is
called with version set to a value less than 0. |
static int |
SUCCESS |
Result code returned when
SearchAbility#setIndexForm(String,int,List)
or SearchAbility#clearIndexForm(String) is successfully called. |
static final int FAIL
SearchAbility#setIndexForm(String,int,List) or
SearchAbility#clearIndexForm(String) fails to be called.static final int INDEXFORM_CONTENT_DIFF
IndexForm is
to be upgraded but the version number is not added when
SearchAbility#setIndexForm(String,int,List) is called.static final int INDEXFORM_CONTENT_ERR
IndexForm list
has no primary key or has multiple primary keys when
SearchAbility#setIndexForm(String,int,List) is called.static final int INDEXFORM_NOT_EXISTED
IndexForm instance
does not exist when SearchAbility#getIndexFormVersion(String) is called.static final int INDEXFORM_VERSION_ERR
SearchAbility#setIndexForm(String,int,List) is
called with version set to a value less than 0.static final int SUCCESS
SearchAbility#setIndexForm(String,int,List)
or SearchAbility#clearIndexForm(String) is successfully called.