Class DatastoreNeedIndexException

  • All Implemented Interfaces:
    Serializable

    public class DatastoreNeedIndexException
    extends RuntimeException
    DatastoreNeedIndexException is thrown when no matching index was found for a query requiring an index. Check the Indexes page in the Admin Console and your datastore-indexes.xml file.
    See Also:
    Serialized Form
    • Constructor Detail

      • DatastoreNeedIndexException

        public DatastoreNeedIndexException​(String message)
      • DatastoreNeedIndexException

        public DatastoreNeedIndexException​(String message,
                                           Throwable cause)
    • Method Detail

      • getMissingIndexDefinitionXml

        public String getMissingIndexDefinitionXml()
        Returns the xml defining the missing index. Can be null.