Class OAbstractSQLMethod
java.lang.Object
com.orientechnologies.orient.core.sql.method.misc.OAbstractSQLMethod
- All Implemented Interfaces:
OSQLMethod,Comparable<OSQLMethod>
- Direct Known Subclasses:
OSQLMethodAppend,OSQLMethodAsBoolean,OSQLMethodAsDate,OSQLMethodAsDateTime,OSQLMethodAsDecimal,OSQLMethodAsFloat,OSQLMethodAsInteger,OSQLMethodAsList,OSQLMethodAsLong,OSQLMethodAsMap,OSQLMethodAsSet,OSQLMethodAsString,OSQLMethodBeforeUpdate,OSQLMethodCharAt,OSQLMethodConvert,OSQLMethodCurrent,OSQLMethodExclude,OSQLMethodField,OSQLMethodFormat,OSQLMethodFromJSON,OSQLMethodFunctionDelegate,OSQLMethodHash,OSQLMethodInclude,OSQLMethodIndexOf,OSQLMethodJavaType,OSQLMethodKeys,OSQLMethodLastIndexOf,OSQLMethodLeft,OSQLMethodLength,OSQLMethodMultiValue,OSQLMethodNext,OSQLMethodNormalize,OSQLMethodPrefix,OSQLMethodRemove,OSQLMethodRemoveAll,OSQLMethodReplace,OSQLMethodReset,OSQLMethodRight,OSQLMethodSize,OSQLMethodSplit,OSQLMethodSubString,OSQLMethodToJSON,OSQLMethodToLowerCase,OSQLMethodToUpperCase,OSQLMethodTrim,OSQLMethodType,OSQLMethodValues
- Author:
- Johann Sorel (Geomatys)
-
Constructor Summary
ConstructorsConstructorDescriptionOAbstractSQLMethod(String name) OAbstractSQLMethod(String name, int nbparams) OAbstractSQLMethod(String name, int minparams, int maxparams) -
Method Summary
Modifier and TypeMethodDescriptionintbooleanintintgetName()protected ObjectgetParameterValue(OIdentifiable iRecord, String iValue) Returns a convinient SQL String representation of the method.toString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.orientechnologies.orient.core.sql.method.OSQLMethod
execute
-
Constructor Details
-
OAbstractSQLMethod
-
OAbstractSQLMethod
-
OAbstractSQLMethod
-
-
Method Details
-
getName
- Specified by:
getNamein interfaceOSQLMethod- Returns:
- method name
-
getSyntax
Description copied from interface:OSQLMethodReturns a convinient SQL String representation of the method.Example :
field.myMethod( param1, param2, [optionalParam3])
This text will be used in exception messages.- Specified by:
getSyntaxin interfaceOSQLMethod- Returns:
- String , never null.
-
getMinParams
public int getMinParams()- Specified by:
getMinParamsin interfaceOSQLMethod- Returns:
- minimum number of arguments requiered by this method
-
getMaxParams
public int getMaxParams()- Specified by:
getMaxParamsin interfaceOSQLMethod- Returns:
- maximum number of arguments requiered by this method
-
getParameterValue
-
compareTo
- Specified by:
compareToin interfaceComparable<OSQLMethod>
-
toString
-
evaluateParameters
public boolean evaluateParameters()- Specified by:
evaluateParametersin interfaceOSQLMethod
-