Uses of Class
net.pincette.mongo.Features
-
Uses of Features in net.pincette.mongo
Methods in net.pincette.mongo that return FeaturesModifier and TypeMethodDescriptionFeatures.withCustomJsltFunctions(Collection<com.schibsted.spt.data.jslt.Function> customJsltFunctions) Custom functions for JSLT transformations.Features.withExpressionExtensions(Map<String, Operator> expressionExtensions) Additional MongoDB Operators.Features.withExpressionResolver(BiFunction<JsonObject, String, JsonObject> expressionResolver) A function to resolve certain fields of MongoDB operators or query expressions.Features.withJsltResolver(com.schibsted.spt.data.jslt.ResourceResolver jsltResolver) The import resolver for the JSLT compiler.Features.withMatchExtensions(Map<String, QueryOperator> matchExtensions) Additional MongoDB query operators.Methods in net.pincette.mongo with parameters of type FeaturesModifier and TypeMethodDescriptionstatic Function<JsonObject,JsonValue> Constructs a function withexpression.static Function<JsonObject,JsonValue> Constructs a function withexpression.static Function<JsonObject,JsonValue> Constructs a function withexpression.static Function<JsonObject,JsonValue> Constructs a function withexpression.static ImplementationExpression.implementation(JsonValue expression, Features features) Extension developers can use this to delegate implementation generation to subexpressions.static ImplementationExpression.memberFunction(JsonValue expression, String name, Features features) Ifexpressionis an object, which has a subexpression calledname, then this method returns the implementation of the subexpression.static List<Implementation>Expression.memberFunctions(JsonValue expression, String name, Features features) Ifexpressionis an object, which has a subexpression calledname, and if the subexpression is actually an array of subexpressions, then this method returns the implementation of the subexpressions.static Predicate<JsonObject>Match.predicate(JsonObject expression, Features features) Constructs a predicate withexpression.static Predicate<JsonObject>Constructs a predicate withexpression.Match.predicateValue(JsonObject expression, Features features) Constructs a predicate to test a JSON value.Constructors in net.pincette.mongo with parameters of type FeaturesModifierConstructorDescriptionCreates a validator with extra features for the underlying MongoDB query language.Validator(Features features, Validator.Resolver resolver) Creates a validator with extra features for the underlying MongoDB query language and a resolver.