
public interface OIndexableSQLFunction extends OSQLFunction
| Modifier and Type | Method and Description |
|---|---|
long |
estimate(OFromClause target,
OBinaryCompareOperator operator,
Object rightValue,
OCommandContext ctx,
OExpression... args)
estimates the number of entries returned by searchFromTarget() with these parameters
|
Iterable<OIdentifiable> |
searchFromTarget(OFromClause target,
OBinaryCompareOperator operator,
Object rightValue,
OCommandContext ctx,
OExpression... args)
returns all the entries belonging to the target that match the binary condition where this function appears
|
aggregateResults, config, execute, filterResult, getMaxParams, getMinParams, getName, getResult, getSyntax, mergeDistributedResult, setResult, shouldMergeDistributedResultIterable<OIdentifiable> searchFromTarget(OFromClause target, OBinaryCompareOperator operator, Object rightValue, OCommandContext ctx, OExpression... args)
target - the query targetoperator - the operator after the function, eg. in select from Foo where myFunction(name) > 4 the operator is >rightValue - the value that has to be compared to the function result, eg. in select from Foo where myFunction(name) > 4 the right value is 4ctx - the command context for this queryargs - the function arguments, eg. in select from Foo where myFunction(name) > 4 the arguments are [name]long estimate(OFromClause target, OBinaryCompareOperator operator, Object rightValue, OCommandContext ctx, OExpression... args)
target - the query targetoperator - the operator after the function, eg. in select from Foo where myFunction(name) > 4 the operator is >rightValue - the value that has to be compared to the function result, eg. in select from Foo where myFunction(name) > 4 the right value is 4ctx - the command context for this queryargs - the function arguments, eg. in select from Foo where myFunction(name) > 4 the arguments are [name]Copyright © 2009–2025 OrientDB. All rights reserved.