Class NativeSQLQueryScalarReturn
- java.lang.Object
-
- org.hibernate.engine.query.spi.sql.NativeSQLQueryScalarReturn
-
- All Implemented Interfaces:
NativeSQLQueryReturn
public class NativeSQLQueryScalarReturn extends java.lang.Object implements NativeSQLQueryReturn
Describes a scalar return in a native SQL query.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.hibernate.engine.query.spi.sql.NativeSQLQueryReturn
NativeSQLQueryReturn.TraceLogger
-
-
Constructor Summary
Constructors Constructor Description NativeSQLQueryScalarReturn(java.lang.String alias, Type type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.lang.String
getColumnAlias()
Type
getType()
int
hashCode()
void
traceLog(NativeSQLQueryReturn.TraceLogger logger)
-
-
-
Constructor Detail
-
NativeSQLQueryScalarReturn
public NativeSQLQueryScalarReturn(java.lang.String alias, Type type)
-
-
Method Detail
-
getColumnAlias
public java.lang.String getColumnAlias()
-
getType
public Type getType()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
traceLog
public void traceLog(NativeSQLQueryReturn.TraceLogger logger)
- Specified by:
traceLog
in interfaceNativeSQLQueryReturn
-
-