@Override public Type getDataType() { // Get the function return value type, based on the type of the first argument. return getSessionFactoryHelper().findFunctionReturnType( getText(), resolveFunction(), getFirstChild() ); }
private SQLFunction resolveFunction() { if ( sqlFunction == null ) { final String name = getText(); sqlFunction = getSessionFactoryHelper().findSQLFunction( getText() ); if ( sqlFunction == null ) { LOG.unableToResolveAggregateFunction( name ); sqlFunction = new StandardSQLFunction( name ); } } return sqlFunction; }
@Override public Type getDataType() { // Get the function return value type, based on the type of the first argument. return getSessionFactoryHelper().findFunctionReturnType( getText(), resolveFunction(), getFirstChild() ); }
@Override public Type getDataType() { // Get the function return value type, based on the type of the first argument. return getSessionFactoryHelper().findFunctionReturnType( getText(), resolveFunction(), getFirstChild() ); }
private SQLFunction resolveFunction() { if ( sqlFunction == null ) { final String name = getText(); sqlFunction = getSessionFactoryHelper().findSQLFunction( getText() ); if ( sqlFunction == null ) { LOG.unableToResolveAggregateFunction( name ); sqlFunction = new StandardSQLFunction( name ); } } return sqlFunction; }
private SQLFunction resolveFunction() { if ( sqlFunction == null ) { final String name = getText(); sqlFunction = getSessionFactoryHelper().findSQLFunction( getText() ); if ( sqlFunction == null ) { LOG.unableToResolveAggregateFunction( name ); sqlFunction = new StandardSQLFunction( name ); } } return sqlFunction; }