public class OSQLMethodFunctionDelegate extends OAbstractSQLMethod
Constructor and Description |
---|
OSQLMethodFunctionDelegate(OSQLFunction f) |
Modifier and Type | Method and Description |
---|---|
Object |
execute(Object iThis,
OIdentifiable iCurrentRecord,
OCommandContext iContext,
Object ioResult,
Object[] iParams)
Process a record.
|
int |
getMaxParams() |
int |
getMinParams() |
String |
toString() |
compareTo, evaluateParameters, getName, getParameterValue, getSyntax
public static final String NAME
public OSQLMethodFunctionDelegate(OSQLFunction f)
public int getMinParams()
getMinParams
in interface OSQLMethod
getMinParams
in class OAbstractSQLMethod
public int getMaxParams()
getMaxParams
in interface OSQLMethod
getMaxParams
in class OAbstractSQLMethod
public Object execute(Object iThis, OIdentifiable iCurrentRecord, OCommandContext iContext, Object ioResult, Object[] iParams)
OSQLMethod
iCurrentRecord
- : current recordiContext
- execution contextioResult
- : field valueiParams
- : function parameters, number is ensured to be within minParams and maxParams.public String toString()
toString
in class OAbstractSQLMethod
Copyright © 2009–2020 OrientDB. All rights reserved.