com.spoledge.audao.parser.gql.impl.soft.func
Class FuncNVL2

java.lang.Object
  extended by com.spoledge.audao.parser.gql.impl.soft.func.Func
      extended by com.spoledge.audao.parser.gql.impl.soft.func.Func3
          extended by com.spoledge.audao.parser.gql.impl.soft.func.FuncNVL2
All Implemented Interfaces:
SoftFunction

public class FuncNVL2
extends Func3

NVL2( expr, value1, value2 ) If expr is not null, then returns value1, otherwise value2. Same as Oracle's NVL2 function.


Constructor Summary
FuncNVL2()
           
 
Method Summary
protected  java.lang.Object getFunctionValue(java.lang.Object o1, java.lang.Object o2, java.lang.Object o3)
           
 
Methods inherited from class com.spoledge.audao.parser.gql.impl.soft.func.Func3
checkNumOfParams, getFunctionValueImpl
 
Methods inherited from class com.spoledge.audao.parser.gql.impl.soft.func.Func
checkNumOfParams, checkNumOfParams, getFunctionName, getFunctionValue, getFunctionWithParams
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FuncNVL2

public FuncNVL2()
Method Detail

getFunctionValue

protected java.lang.Object getFunctionValue(java.lang.Object o1,
                                            java.lang.Object o2,
                                            java.lang.Object o3)
Specified by:
getFunctionValue in class Func3


Copyright © 2010 Spolecne s.r.o. All Rights Reserved.