Class OSQLFunctionMoveFiltered

All Implemented Interfaces:
OSQLFunction, OSQLFunctionFiltered
Direct Known Subclasses:
OSQLFunctionIn, OSQLFunctionOut

public abstract class OSQLFunctionMoveFiltered extends OSQLFunctionMove implements OSQLFunctionFiltered
Created by luigidellaquila on 03/01/17.
  • Field Details

    • supernodeThreshold

      protected static int supernodeThreshold
  • Constructor Details

    • OSQLFunctionMoveFiltered

      public OSQLFunctionMoveFiltered()
    • OSQLFunctionMoveFiltered

      public OSQLFunctionMoveFiltered(String iName, int iMin, int iMax)
  • Method Details

    • execute

      public Object execute(Object iThis, OIdentifiable iCurrentRecord, Object iCurrentResult, Object[] iParameters, Iterable<OIdentifiable> iPossibleResults, OCommandContext iContext)
      Description copied from interface: OSQLFunctionFiltered
      Process a record.
      Specified by:
      execute in interface OSQLFunctionFiltered
      Parameters:
      iThis -
      iCurrentRecord - : current record
      iCurrentResult - TODO
      iParameters - : function parameters, number is ensured to be within minParams and maxParams.
      iPossibleResults - : a set of possible results (the function will return, as a result, only items contained in this collection)
      iContext - : object calling this function
      Returns:
      function result, can be null. Special cases : can be null if function aggregate results, can be null if function filter results : this mean result is excluded
    • move

      protected abstract Object move(ODatabaseSession graph, OIdentifiable iArgument, String[] labels, Iterable<OIdentifiable> iPossibleResults)