Package uk.gov.gchq.gaffer.store.schema
Class ViewValidator
- java.lang.Object
-
- uk.gov.gchq.gaffer.store.schema.ViewValidator
-
- Direct Known Subclasses:
FederatedViewValidator
public class ViewValidator extends Object
AnViewValidator
validates a view against aSchema
ViewElementDefinition
. Checks all function input and output types are compatible with the properties and identifiers in the Schema and the transient properties in the View.
-
-
Field Summary
Fields Modifier and Type Field Description static String
SKIP_VIEW_VALIDATION
-
Constructor Summary
Constructors Constructor Description ViewValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description uk.gov.gchq.koryphe.ValidationResult
validate(View view, Schema schema, Set<StoreTrait> storeTraits)
-
-
-
Field Detail
-
SKIP_VIEW_VALIDATION
public static final String SKIP_VIEW_VALIDATION
- See Also:
- Constant Field Values
-
-
Method Detail
-
validate
public uk.gov.gchq.koryphe.ValidationResult validate(View view, Schema schema, Set<StoreTrait> storeTraits)
-
-