Class NativeSQLQuerySpecification
- java.lang.Object
-
- org.hibernate.engine.query.spi.sql.NativeSQLQuerySpecification
-
public class NativeSQLQuerySpecification extends java.lang.Object
Defines the specification or blue-print for a native-sql query. Essentially a simple struct containing the information needed to "translate" a native-sql query and cache that translated representation. Also used as the key by which the native-sql query plans are cached.
-
-
Constructor Summary
Constructors Constructor Description NativeSQLQuerySpecification(java.lang.String queryString, NativeSQLQueryReturn[] queryReturns, java.util.Collection querySpaces)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
NativeSQLQueryReturn[]
getQueryReturns()
java.util.Set
getQuerySpaces()
java.lang.String
getQueryString()
int
hashCode()
-
-
-
Constructor Detail
-
NativeSQLQuerySpecification
public NativeSQLQuerySpecification(java.lang.String queryString, NativeSQLQueryReturn[] queryReturns, java.util.Collection querySpaces)
-
-
Method Detail
-
getQueryString
public java.lang.String getQueryString()
-
getQueryReturns
public NativeSQLQueryReturn[] getQueryReturns()
-
getQuerySpaces
public java.util.Set getQuerySpaces()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-