1 24 25 package com.mckoi.database; 26 27 import java.util.List ; 28 29 38 39 public interface Function { 40 41 46 public String getName(); 47 48 55 public List allVariables(); 56 57 62 public List allElements(); 63 64 69 public boolean isAggregate(QueryContext context); 70 71 77 public void prepareParameters(ExpressionPreparer preparer) 78 throws DatabaseException; 79 80 87 public TObject evaluate(GroupResolver group, VariableResolver resolver, 88 QueryContext context); 89 90 97 public TType returnTType(VariableResolver resolver, QueryContext context); 98 99 } 100 | Popular Tags |