|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.hibernate.dialect.function.StandardSQLFunction
magoffin.matt.ma2.dao.hbm.BitwiseAndSQLFunction
public class BitwiseAndSQLFunction
SQLFunction for bitwise and operation.
Adapted from http://forum.hibernate.org/viewtopic.php?t=942395&view=previous&sid=f13df7759a4a9abd374b406a35ffc3c2
| Field Summary | |
|---|---|
static java.lang.String |
DEFAULT_NAME
The default function name. |
static org.hibernate.type.Type |
DEFAULT_TYPE
The default typeValue. |
| Constructor Summary | |
|---|---|
BitwiseAndSQLFunction()
Constructor using defaults. |
|
BitwiseAndSQLFunction(java.lang.String name,
org.hibernate.type.Type typeValue)
Constructor. |
|
| Method Summary | |
|---|---|
java.lang.String |
render(java.util.List args,
org.hibernate.engine.SessionFactoryImplementor factory)
|
| Methods inherited from class org.hibernate.dialect.function.StandardSQLFunction |
|---|
getName, getReturnType, getType, hasArguments, hasParenthesesIfNoArguments, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String DEFAULT_NAME
public static final org.hibernate.type.Type DEFAULT_TYPE
| Constructor Detail |
|---|
public BitwiseAndSQLFunction()
public BitwiseAndSQLFunction(java.lang.String name,
org.hibernate.type.Type typeValue)
name - the HQL fieldtypeValue - the HQL type| Method Detail |
|---|
public java.lang.String render(java.util.List args,
org.hibernate.engine.SessionFactoryImplementor factory)
render in interface org.hibernate.dialect.function.SQLFunctionrender in class org.hibernate.dialect.function.StandardSQLFunction
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||