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 performsDocumentPb.Document
validity checks for search customers that only use the query API.
-
-
Constructor Summary
Constructors Constructor and Description QueryOnlyCustomerDocumentChecker()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static void
checkValid(DocumentPb.Document pb)
Checks whether aDocumentPb.Document
has a valid set of fields for clients that only use the search query API.
-
-
-
Method Detail
-
checkValid
public static void checkValid(DocumentPb.Document pb)
Checks whether aDocumentPb.Document
has a valid set of fields for clients that only use the search query API.- Parameters:
pb
- theDocumentPb.Document
protocol buffer to check.- Throws:
java.lang.IllegalArgumentException
- if the document is invalid.
-
-