public class DefaultValidationResult extends Object implements ValidationResult
| Modifier and Type | Method and Description |
|---|---|
@NotNull List<String> |
getErrors()
Returns a list of errors encountered while validating the query.
|
boolean |
isValid()
Provides a simple way check if a query is valid or not.
|
public boolean isValid()
ValidationResultisValid in interface ValidationResulttrue if the query is valid, false otherwise@NotNull public @NotNull List<String> getErrors()
ValidationResultgetErrors in interface ValidationResultCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.