Notice: Over the next few months, we're reorganizing the App Engine documentation site to make it easier to find content and better align with the rest of Google Cloud products. The same content will be available, but the navigation will now match the rest of the Cloud products. If you have feedback or questions as you navigate the site, click Send Feedback.

QueryOnlyCustomerDocumentChecker (Google App Engine API for Java)

Stay organized with collections Save and categorize content based on your preferences.
com.google.appengine.api.search.checkers

Class QueryOnlyCustomerDocumentChecker

  • java.lang.Object
    • com.google.appengine.api.search.checkers.QueryOnlyCustomerDocumentChecker


  • public class QueryOnlyCustomerDocumentChecker
    extends java.lang.Object
    This class performs DocumentPb.Document validity checks for search customers that only use the query API.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static void checkValid(DocumentPb.Document pb)
      Checks whether a DocumentPb.Document has a valid set of fields for clients that only use the search query API.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • QueryOnlyCustomerDocumentChecker

        public QueryOnlyCustomerDocumentChecker()
    • Method Detail

      • checkValid

        public static void checkValid(DocumentPb.Document pb)
        Checks whether a DocumentPb.Document has a valid set of fields for clients that only use the search query API.
        Parameters:
        pb - the DocumentPb.Document protocol buffer to check.
        Throws:
        java.lang.IllegalArgumentException - if the document is invalid.