
public abstract class OLuceneSearchFunctionTemplate extends OSQLFunctionAbstract implements OIndexableSQLFunction
maxParams, minParams, name| Constructor and Description |
|---|
OLuceneSearchFunctionTemplate(String iName,
int iMinParams,
int iMaxParams) |
aggregateResults, config, filterResult, getDistributedStorageId, getMaxParams, getMinParams, getName, getResult, getSingleItem, getSingleProperty, mergeDistributedResult, returnDistributedResult, setResult, shouldMergeDistributedResult, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitsearchFromTargetaggregateResults, config, execute, filterResult, getMaxParams, getMinParams, getName, getResult, getSyntax, mergeDistributedResult, setResult, shouldMergeDistributedResultpublic OLuceneSearchFunctionTemplate(String iName, int iMinParams, int iMaxParams)
public boolean canExecuteInline(OFromClause target, OBinaryCompareOperator operator, Object rightValue, OCommandContext ctx, OExpression... args)
OIndexableSQLFunctioncanExecuteInline in interface OIndexableSQLFunctiontarget - 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]public boolean allowsIndexedExecution(OFromClause target, OBinaryCompareOperator operator, Object rightValue, OCommandContext ctx, OExpression... args)
OIndexableSQLFunctionallowsIndexedExecution in interface OIndexableSQLFunctiontarget - 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]public boolean shouldExecuteAfterSearch(OFromClause target, OBinaryCompareOperator operator, Object rightValue, OCommandContext ctx, OExpression... args)
OIndexableSQLFunctionOIndexableSQLFunction.searchFromTarget(com.orientechnologies.orient.core.sql.parser.OFromClause, com.orientechnologies.orient.core.sql.parser.OBinaryCompareOperator, java.lang.Object, com.orientechnologies.orient.core.command.OCommandContext, com.orientechnologies.orient.core.sql.parser.OExpression...) is executed.shouldExecuteAfterSearch in interface OIndexableSQLFunctiontarget - 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]OIndexableSQLFunction.searchFromTarget(com.orientechnologies.orient.core.sql.parser.OFromClause, com.orientechnologies.orient.core.sql.parser.OBinaryCompareOperator, java.lang.Object, com.orientechnologies.orient.core.command.OCommandContext, com.orientechnologies.orient.core.sql.parser.OExpression...) is executed. False otherwisepublic long estimate(OFromClause target, OBinaryCompareOperator operator, Object rightValue, OCommandContext ctx, OExpression... args)
OIndexableSQLFunctionestimate in interface OIndexableSQLFunctiontarget - 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]protected abstract OLuceneFullTextIndex searchForIndex(OFromClause target, OCommandContext ctx, OExpression... args)
Copyright © 2009–2025 OrientDB. All rights reserved.