Namespaces

Types

Type IQueryTranslator

Namespace NHibernate.Hql

Methods

Properties

Public instance methods

void Compile(IDictionary replacements, bool shallow)

Compile a "normal" query. This method may be called multiple times. Subsequent invocations are no-ops.
Parameters
IDictionary replacements Defined query substitutions.
bool shallow Does this represent a shallow (scalar or entity-id) select?

int ExecuteUpdate(QueryParameters queryParameters, ISessionImplementor session)

Perform a bulk update/delete operation given the underlying query defintion.
Parameters
return int The number of entities updated or deleted.
QueryParameters queryParameters The query bind parameters.
ISessionImplementor session The session owning this query.

String[][] GetColumnNames()

Returns the column names in the generated SQL.
Parameters
return String[][] the column names in the generated SQL.

IEnumerable GetEnumerable(QueryParameters queryParameters, ISessionImplementor session)

Parameters
return IEnumerable
QueryParameters queryParameters
ISessionImplementor session

IParameterTranslations GetParameterTranslations()

Information about any parameters encountered during translation.
Parameters
return IParameterTranslations

IList List(ISessionImplementor session, QueryParameters queryParameters)

Perform a list operation given the underlying query definition.
Parameters
return IList The query list results.
ISessionImplementor session The session owning this query.
QueryParameters queryParameters The query bind parameters.

Public properties

IList CollectSqlStrings get;

return IList

bool ContainsCollectionFetches get;

Does the translated query contain collection fetches?
return bool

IDictionary EnabledFilters get;

Returns the filters enabled for this query translator.
return IDictionary

bool IsManipulationStatement get;

return bool

ISet QuerySpaces get;

The set of query spaces (table names) that the query referrs to.
return ISet

string QueryString get;

The HQL string processed by the translator.
return string

String[] ReturnAliases get;

Returns an array of HQL aliases
return String[]

IType[] ReturnTypes get;

Returns an array of Types represented in the query result.
return IType[]

string SQLString get;

The SQL string generated by the translator.
return string