Class OSQLMethodCharAt
java.lang.Object
com.orientechnologies.orient.core.sql.method.misc.OAbstractSQLMethod
com.orientechnologies.orient.core.sql.method.OSQLMethodCharAt
- All Implemented Interfaces:
OSQLMethod,Comparable<OSQLMethod>
Returns a character in a string.
- Author:
- Johann Sorel (Geomatys), Luca Garulli (l.garulli--(at)--orientdb.com)
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexecute(Object iThis, OIdentifiable iCurrentRecord, OCommandContext iContext, Object ioResult, Object[] iParams) Process a record.Returns a convinient SQL String representation of the method.Methods inherited from class com.orientechnologies.orient.core.sql.method.misc.OAbstractSQLMethod
compareTo, getMaxParams, getMinParams, getName, getParameterValue, toString
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
OSQLMethodCharAt
public OSQLMethodCharAt()
-
-
Method Details
-
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- Overrides:
getSyntaxin classOAbstractSQLMethod- Returns:
- String , never null.
-
execute
public Object execute(Object iThis, OIdentifiable iCurrentRecord, OCommandContext iContext, Object ioResult, Object[] iParams) Description copied from interface:OSQLMethodProcess a record.iCurrentRecord- : current recordiContext- execution contextioResult- : field valueiParams- : function parameters, number is ensured to be within minParams and maxParams.- Returns:
- evaluation result
-