public static FunctionAlias newInstance(Schema schema,int id,String name,String javaClassMethod,boolean force,boolean bufferResultSetToLocalTemp){
  FunctionAlias alias=new FunctionAlias(schema,id,name);
  int paren=javaClassMethod.indexOf('(');
  int lastDot=javaClassMethod.lastIndexOf('.',paren < 0 ? javaClassMethod.length() : paren);
  if (lastDot < 0) {
    throw DbException.get(ErrorCode.SYNTAX_ERROR_1,javaClassMethod);
  }
  alias.className=javaClassMethod.substring(0,lastDot);
  alias.methodName=javaClassMethod.substring(lastDot + 1);
  alias.bufferResultSetToLocalTemp=bufferResultSetToLocalTemp;
  alias.init(force);
  return alias;
}

public static FunctionAlias newInstance ( Schema schema , int id , String name , String javaClassMethod , boolean force , boolean bufferResultSetToLocalTemp ) { FunctionAlias alias = new FunctionAlias ( schema , id , name ) ; int paren = javaClassMethod . indexOf ( '(' ) ; int lastDot = javaClassMethod . lastIndexOf ( '.' , paren < 0 ? javaClassMethod . length ( ) : paren ) ; if ( lastDot < 0 ) { throw DbException . get ( ErrorCode . SYNTAX_ERROR_1 , javaClassMethod ) ; } alias . className = javaClassMethod . substring ( 0 , lastDot ) ; alias . methodName = javaClassMethod . substring ( lastDot + 1 ) ; alias . bufferResultSetToLocalTemp = bufferResultSetToLocalTemp ; alias . init ( force ) ; return alias ; }
create a new alias based on a method name .
