Class GcEntityCallback<T>

java.lang.Object
edu.internet2.middleware.grouperClient.jdbc.GcEntityCallback<T>
Type Parameters:
T - is the type of object that will be returned.

public abstract class GcEntityCallback<T> extends Object
Object that gets a call for each entity created from a resultset; save heap space.
  • Constructor Details

    • GcEntityCallback

      public GcEntityCallback()
  • Method Details

    • callback

      public abstract boolean callback(T t) throws Exception
      Get a callback for each entity created from the rows of a resultset; save heap space.
      Parameters:
      t - is the thing hydrated from the resultset.
      Returns:
      true to continue, false to exit the resulset scroll.
      Throws:
      Exception - if things go wrong in your code.