Class Validator
java.lang.Object
com.complexible.stardog.plan.eval.service.Validator
Validator for
ServiceParameters instances-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanprotected voiddeprecated(IRI theDeprecatedPredicate, IRI theNewPredicate) Assert that deprecated predicate is not being usedprotected voidexclusiveQueryTerms(IRI theFirstPredicate, IRI theSecondPredicate) Assert that given predicates don't share query termsprotected List<com.complexible.stardog.plan.QueryTerm> protected voidAssert thatServiceParameterscontains no other predicates besides the ones used for validationprotected voidprotected voidmultipleConstants(IRI thePredicate) protected voidmultipleIRIs(IRI thePredicate) protected voidmultipleLiterals(IRI thePredicate) protected voidmultipleResources(IRI thePredicate) protected voidmultipleTerms(IRI thePredicate) protected voidmultipleVariables(IRI thePredicate) protected voidnamedArguments(IRI thePredicate) protected voidprotected voidsingleBoolean(IRI theKey) protected voidsingleConstant(IRI thePredicate) protected voidsingleInteger(IRI theKey) protected voidprotected voidsingleLiteral(IRI thePredicate) protected voidsingleNumber(IRI theKey) protected voidsingleTerm(IRI thePredicate) protected voidsingleVariable(IRI thePredicate) protected Optional<ServiceParameters> abstract voidvalidate()
-
Constructor Details
-
Validator
-
-
Method Details
-
validate
public abstract void validate() -
get
-
sub
-
contains
-
singleTerm
-
singleVariable
-
multipleVariables
-
multipleTerms
-
singleConstant
-
multipleConstants
-
multipleResources
-
multipleLiterals
-
multipleIRIs
-
singleLiteral
-
singleNumber
-
singleInteger
-
singleBoolean
-
singleIRI
-
namedArguments
-
oneOf
-
oneOf
-
optional
-
mandatory
-
invalidPredicates
protected void invalidPredicates()Assert thatServiceParameterscontains no other predicates besides the ones used for validation -
exclusiveQueryTerms
Assert that given predicates don't share query terms -
deprecated
Assert that deprecated predicate is not being used
-