public abstract class OAbstractSQLMethod extends Object implements OSQLMethod
Constructor and Description |
---|
OAbstractSQLMethod(String name) |
OAbstractSQLMethod(String name,
int nbparams) |
OAbstractSQLMethod(String name,
int minparams,
int maxparams) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(OSQLMethod o) |
boolean |
evaluateParameters() |
int |
getMaxParams() |
int |
getMinParams() |
String |
getName() |
protected Object |
getParameterValue(OIdentifiable iRecord,
String iValue) |
String |
getSyntax()
Returns a convinient SQL String representation of the method.
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
execute
public OAbstractSQLMethod(String name)
public OAbstractSQLMethod(String name, int nbparams)
public OAbstractSQLMethod(String name, int minparams, int maxparams)
public String getName()
getName
in interface OSQLMethod
public String getSyntax()
OSQLMethod
Example :
field.myMethod( param1, param2, [optionalParam3])This text will be used in exception messages.
getSyntax
in interface OSQLMethod
public int getMinParams()
getMinParams
in interface OSQLMethod
public int getMaxParams()
getMaxParams
in interface OSQLMethod
protected Object getParameterValue(OIdentifiable iRecord, String iValue)
public int compareTo(OSQLMethod o)
compareTo
in interface Comparable<OSQLMethod>
public boolean evaluateParameters()
evaluateParameters
in interface OSQLMethod
Copyright © 2009–2020 OrientDB. All rights reserved.