站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Hibernate 3.2.3 正式版 API 英文文档

DecodeCaseFragment (Hibernate API Documentation) - Hibernate 3.2.3 正式版 API 英文文档


org.hibernate.sql
Class DecodeCaseFragment

java.lang.Object
  extended byorg.hibernate.sql.CaseFragment
      extended byorg.hibernate.sql.DecodeCaseFragment

public class DecodeCaseFragment
extends CaseFragment

An Oracle-style DECODE function.
decode(pkvalue, key1, 1, key2, 2, ..., 0)

Author:
Simon Harris

Field Summary
 
Fields inherited from class org.hibernate.sql.CaseFragment
cases, returnColumnName
 
Constructor Summary
DecodeCaseFragment()
           
 
Method Summary
 String toFragmentString()
           
 
Methods inherited from class org.hibernate.sql.CaseFragment
addWhenColumnNotNull, setReturnColumnName, setReturnColumnName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DecodeCaseFragment

public DecodeCaseFragment()
Method Detail

toFragmentString

public String toFragmentString()
Specified by:
toFragmentString in class CaseFragment