Class QueryOnlyCustomerDocumentChecker
- java.lang.Object
-
- com.google.appengine.api.search.checkers.QueryOnlyCustomerDocumentChecker
-
public class QueryOnlyCustomerDocumentChecker extends Object
This class performsDocumentPb.Documentvalidity checks for search customers that only use the query API.
-
-
Constructor Summary
Constructors Constructor Description QueryOnlyCustomerDocumentChecker()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidcheckValid(com.google.apphosting.api.search.DocumentPb.Document pb)Checks whether aDocumentPb.Documenthas a valid set of fields for clients that only use the search query API.
-
-
-
Method Detail
-
checkValid
public static void checkValid(com.google.apphosting.api.search.DocumentPb.Document pb)
Checks whether aDocumentPb.Documenthas a valid set of fields for clients that only use the search query API.- Parameters:
pb- theDocumentPb.Documentprotocol buffer to check.- Throws:
IllegalArgumentException- if the document is invalid.
-
-