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.ValidationResultvalidate(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:ViewValidatorChecks allPredicates andFunctions defined are compatible with the identifiers and properties in theSchemaand transient properties in theView.- Overrides:
validatein classViewValidator- Parameters:
view- theViewto validateschema- theSchemato validate the view againststoreTraits- the store traits- Returns:
- true if the element definition is valid, otherwise false and an error is logged
-
-