Class SQLMethodRemove
- java.lang.Object
-
- com.arcadedb.query.sql.method.misc.AbstractSQLMethod
-
- com.arcadedb.query.sql.method.misc.SQLMethodRemove
-
- All Implemented Interfaces:
SQLMethod,Comparable<SQLMethod>
public class SQLMethodRemove extends AbstractSQLMethod
Remove the first occurrence of elements from a collection.- Author:
- Luca Garulli (l.garulli--(at)--gmail.com)
- See Also:
SQLMethodRemoveAll
-
-
Constructor Summary
Constructors Constructor Description SQLMethodRemove()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectexecute(Object self, Identifiable currentRecord, CommandContext context, Object result, Object[] params)Process a record.StringgetSyntax()Returns a convenient SQL String representation of the method.-
Methods inherited from class com.arcadedb.query.sql.method.misc.AbstractSQLMethod
compareTo, evaluateParameters, getMaxParams, getMinParams, getName, getParameterValue, toString
-
-
-
-
Field Detail
-
NAME
public static final String NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
execute
public Object execute(Object self, Identifiable currentRecord, CommandContext context, Object result, Object[] params)
Description copied from interface:SQLMethodProcess a record.- Parameters:
self- current objectcurrentRecord- : current recordcontext- execution contextresult- : field valueparams- : function parameters, number is ensured to be within minParams and maxParams.- Returns:
- evaluation result
-
getSyntax
public String getSyntax()
Description copied from interface:SQLMethodReturns a convenient SQL String representation of the method.Example :
field.myMethod( param1, param2, [optionalParam3])
This text will be used in exception messages.
- Specified by:
getSyntaxin interfaceSQLMethod- Overrides:
getSyntaxin classAbstractSQLMethod- Returns:
- String , never null.
-
-