QueryOnlyCustomerDocumentChecker (Google App Engine API for Java)

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.