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

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


org.hibernate.dialect.function
Class ClassicCountFunction

java.lang.Object
  extended byorg.hibernate.dialect.function.StandardSQLFunction
      extended byorg.hibernate.dialect.function.ClassicCountFunction
All Implemented Interfaces:
SQLFunction

public class ClassicCountFunction
extends StandardSQLFunction

Classic COUNT sqlfunction that return types as it was done in Hibernate 3.1

Author:
Max Rydahl Andersen

Constructor Summary
ClassicCountFunction()
           
 
Method Summary
 Type getReturnType(Type columnType, Mapping mapping)
          The return type of the function. May be either a concrete type which is preset, or variable depending upon the type of the first function argument.
 
Methods inherited from class org.hibernate.dialect.function.StandardSQLFunction
getName, getType, hasArguments, hasParenthesesIfNoArguments, render, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ClassicCountFunction

public ClassicCountFunction()
Method Detail

getReturnType

public Type getReturnType(Type columnType,
                          Mapping mapping)
Description copied from class: StandardSQLFunction
The return type of the function. May be either a concrete type which is preset, or variable depending upon the type of the first function argument.

Specified by:
getReturnType in interface SQLFunction
Overrides:
getReturnType in class StandardSQLFunction