public static interface FunctionRegistry.Factory
IValueExpression
s from a function URI
and its arguments.Modifier and Type | Method and Description |
---|---|
IValueExpression<? extends IV> |
create(BOpContextBase context,
GlobalAnnotations globals,
Map<String,Object> scalarValues,
ValueExpressionNode... args)
Create an
IValueExpression instance. |
IValueExpression<? extends IV> create(BOpContextBase context, GlobalAnnotations globals, Map<String,Object> scalarValues, ValueExpressionNode... args)
IValueExpression
instance.context
- The BOpContextBase
required to evaluate
IValueExpression
s. This is used if we need to
statically evaluate an IValueExpression
during
query optimization. During query execution the
ContextBindingSet
will convey this information.globals
- The global annotations, including the lexicon namespace.scalarValues
- The scalar arguments (used by some IAggregate
s).args
- The function arguments.IValueExpression
.create() was refactored to pass in the
{@link BOpContextBase} to allow correct resolution of the
{@link LexiconRelation} and {@link ILexiconConfiguration} in
order to properly evaluate {@link IValueExpression}s during
query optimization.
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.