Package com.attivio.sdk.error
Class SchemaError
- java.lang.Object
-
- com.attivio.sdk.error.ErrorCode
-
- com.attivio.sdk.error.SchemaError
-
- All Implemented Interfaces:
java.io.Serializable
public final class SchemaError extends ErrorCode
Contains the error codes related to the applying the schema to a query or document.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static ErrorCodeCONFIG_WARNINGSCHEMA-12 Schema configuration warning.static ErrorCodeDEPRECATED_PROPERTYSCHEMA-17 Deprecated schema property was used.static ErrorCodeFRESHNESS_NOT_SUPPORTEDSCHEMA-9 Freshness is not supported on the requested fieldstatic ErrorCodeGEOSEARCH_NOT_SUPPORTEDSCHEMA-10 Geo Search is not supported on the requested fieldstatic ErrorCodeILLEGAL_FIELD_TYPE_ERRORSCHEMA-3 A query uses a field with an invalid type for the desired operationstatic ErrorCodeILLEGAL_FIELD_VALUE_ERRORSCHEMA-2 A query specifies an illegal value for a fieldstatic ErrorCodeILLEGAL_PROPERTY_NAMESCHEMA-19 Illegal schema property name.static ErrorCodeILLEGAL_PROPERTY_VALUESCHEMA-18 Illegal value for schema property.static ErrorCodeILLEGAL_SCHEMASCHEMA-20 Schema is not legal.static ErrorCodeILLEGAL_SORT_FIELD_ERRORSCHEMA-4 An illegal field was used for sortingstatic ErrorCodeINCOMPATIBLE_INDEXSCHEMA-13 The schema was modified to be incompatible with an existing index.static ErrorCodeINCONSISTENT_ERRORSCHEMA-8 The schema is inconsistent.static ErrorCodeINVALID_FIELD_NAMESCHEMA-15 Invalid field name specified.static ErrorCodeREAL_TIME_FIELD_ERRORSCHEMA-14 Configuration of real time field contains an error.static ErrorCodeSCHEMA_NOT_SPECIFIEDSCHEMA-11 Schema is not specified.static ErrorCodeTERM_ANCHORS_NOT_SUPPORTEDSCHEMA-16 Term anchors are not enabled/supported for the field requested.static ErrorCodeUNINDEXED_FIELD_ERRORSCHEMA-7 A query specifies a field that is not indexed.static ErrorCodeUNKNOWN_FACET_ERRORSCHEMA-5 A query specifies an unknown facet.static ErrorCodeUNKNOWN_FIELD_ERRORSCHEMA-1 A query specifies an unknown field.static ErrorCodeUNSUPPORTED_FIELD_TYPESCHEMA-6 An engine does not support a field type.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringformatError(java.util.Locale locale, java.lang.String... context)Format a contextual error message.-
Methods inherited from class com.attivio.sdk.error.ErrorCode
equals, getCategory, getCode, getErrorCode, hashCode, readResolve, toString
-
-
-
-
Field Detail
-
UNKNOWN_FIELD_ERROR
public static final ErrorCode UNKNOWN_FIELD_ERROR
SCHEMA-1 A query specifies an unknown field.
-
ILLEGAL_FIELD_VALUE_ERROR
public static final ErrorCode ILLEGAL_FIELD_VALUE_ERROR
SCHEMA-2 A query specifies an illegal value for a field
-
ILLEGAL_FIELD_TYPE_ERROR
public static final ErrorCode ILLEGAL_FIELD_TYPE_ERROR
SCHEMA-3 A query uses a field with an invalid type for the desired operation
-
ILLEGAL_SORT_FIELD_ERROR
public static final ErrorCode ILLEGAL_SORT_FIELD_ERROR
SCHEMA-4 An illegal field was used for sorting
-
UNKNOWN_FACET_ERROR
public static final ErrorCode UNKNOWN_FACET_ERROR
SCHEMA-5 A query specifies an unknown facet.
-
UNSUPPORTED_FIELD_TYPE
public static final ErrorCode UNSUPPORTED_FIELD_TYPE
SCHEMA-6 An engine does not support a field type.
-
UNINDEXED_FIELD_ERROR
public static final ErrorCode UNINDEXED_FIELD_ERROR
SCHEMA-7 A query specifies a field that is not indexed.
-
INCONSISTENT_ERROR
public static final ErrorCode INCONSISTENT_ERROR
SCHEMA-8 The schema is inconsistent.
-
FRESHNESS_NOT_SUPPORTED
public static final ErrorCode FRESHNESS_NOT_SUPPORTED
SCHEMA-9 Freshness is not supported on the requested field
-
GEOSEARCH_NOT_SUPPORTED
public static final ErrorCode GEOSEARCH_NOT_SUPPORTED
SCHEMA-10 Geo Search is not supported on the requested field
-
SCHEMA_NOT_SPECIFIED
public static final ErrorCode SCHEMA_NOT_SPECIFIED
SCHEMA-11 Schema is not specified.
-
CONFIG_WARNING
public static final ErrorCode CONFIG_WARNING
SCHEMA-12 Schema configuration warning.You should correct the schema based on the message logged with this error code.
-
INCOMPATIBLE_INDEX
public static final ErrorCode INCOMPATIBLE_INDEX
SCHEMA-13 The schema was modified to be incompatible with an existing index.
-
REAL_TIME_FIELD_ERROR
public static final ErrorCode REAL_TIME_FIELD_ERROR
SCHEMA-14 Configuration of real time field contains an error.
-
INVALID_FIELD_NAME
public static final ErrorCode INVALID_FIELD_NAME
SCHEMA-15 Invalid field name specified.
-
TERM_ANCHORS_NOT_SUPPORTED
public static final ErrorCode TERM_ANCHORS_NOT_SUPPORTED
SCHEMA-16 Term anchors are not enabled/supported for the field requested.
-
DEPRECATED_PROPERTY
public static final ErrorCode DEPRECATED_PROPERTY
SCHEMA-17 Deprecated schema property was used.
-
ILLEGAL_PROPERTY_VALUE
public static final ErrorCode ILLEGAL_PROPERTY_VALUE
SCHEMA-18 Illegal value for schema property.
-
ILLEGAL_PROPERTY_NAME
public static final ErrorCode ILLEGAL_PROPERTY_NAME
SCHEMA-19 Illegal schema property name.
-
ILLEGAL_SCHEMA
public static final ErrorCode ILLEGAL_SCHEMA
SCHEMA-20 Schema is not legal.
-
-
Method Detail
-
formatError
public java.lang.String formatError(java.util.Locale locale, java.lang.String... context)Description copied from class:ErrorCodeFormat a contextual error message.- Overrides:
formatErrorin classErrorCode
-
-