Class FederatedViewValidator
- java.lang.Object
-
- uk.gov.gchq.gaffer.store.schema.ViewValidator
-
- uk.gov.gchq.gaffer.federatedstore.schema.FederatedViewValidator
-
public class FederatedViewValidator extends ViewValidator
-
-
Field Summary
-
Fields inherited from class uk.gov.gchq.gaffer.store.schema.ViewValidator
SKIP_VIEW_VALIDATION
-
-
Constructor Summary
Constructors Constructor Description FederatedViewValidator()
-
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)
-
-
-
Method Detail
-
validate
public uk.gov.gchq.koryphe.ValidationResult validate(View view, Schema schema, Set<StoreTrait> storeTraits)
Description copied from class:ViewValidator
Checks allPredicate
s andFunction
s defined are compatible with the identifiers and properties in theSchema
and transient properties in theView
.- Overrides:
validate
in classViewValidator
- Parameters:
view
- theView
to validateschema
- theSchema
to validate the view againststoreTraits
- the store traits- Returns:
- true if the element definition is valid, otherwise false and an error is logged
-
-