public interface OSQLMethod extends Comparable<OSQLMethod>
Modifier and Type | Method and Description |
---|---|
boolean |
evaluateParameters() |
Object |
execute(Object iThis,
OIdentifiable iCurrentRecord,
OCommandContext iContext,
Object ioResult,
Object[] iParams)
Process a record.
|
int |
getMaxParams() |
int |
getMinParams() |
String |
getName() |
String |
getSyntax()
Returns a convinient SQL String representation of the method.
|
compareTo
String getName()
String getSyntax()
Example :
field.myMethod( param1, param2, [optionalParam3])This text will be used in exception messages.
int getMinParams()
int getMaxParams()
Object execute(Object iThis, OIdentifiable iCurrentRecord, OCommandContext iContext, Object ioResult, Object[] iParams)
iThis
- iCurrentRecord
- : current recordiContext
- execution contextioResult
- : field valueiParams
- : function parameters, number is ensured to be within minParams and maxParams.boolean evaluateParameters()
Copyright © 2009–2020 OrientDB. All rights reserved.