Namespaces

Types

Type QueryTranslator

Namespace NHibernate.Hql.Classic

Parent BasicLoader

Interfaces IFilterTranslator

Methods

Properties

Public instance methods

void AddCollectionToFetch(string role, string name, string ownerName, string entityName)

Parameters
string role
string name
string ownerName
string entityName

void AddEntityToFetch(string name, string oneToOneOwnerName, IAssociationType ownerAssociationType)

Parameters
string name
string oneToOneOwnerName
IAssociationType ownerAssociationType

void AddEntityToFetch(string name)

Parameters
string name

void AddFromJoinOnly(string name, JoinSequence joinSequence)

Parameters
string name
JoinSequence joinSequence

void Compile(string collectionRole, IDictionary replacements, bool scalar)

Compile a filter. This method may be called multiple times. Subsequent invocations are no-ops.
Parameters
string collectionRole
IDictionary replacements
bool scalar

void Compile(IDictionary replacements, bool scalar)

Compile a "normal" query. This method may be called multiple times. Subsequent invocations are no-ops.
Parameters
IDictionary replacements
bool scalar

void DecoratePropertyMapping(string name, IPropertyMapping mapping)

Parameters
string name
IPropertyMapping mapping

bool Equals(object obj)

Parameters
return bool
object obj

int ExecuteUpdate(QueryParameters queryParameters, ISessionImplementor session)

Parameters
return int
QueryParameters queryParameters
ISessionImplementor session

String[][] GetColumnNames()

Parameters
return String[][]

IPropertyMapping GetDecoratedPropertyMapping(string name)

Parameters
return IPropertyMapping
string name

IEnumerable GetEnumerable(QueryParameters parameters, ISessionImplementor session)

Parameters
return IEnumerable
QueryParameters parameters
ISessionImplementor session

int GetHashCode()

Parameters
return int

Int32[] GetNamedParameterLocs(string name)

Parameters
return Int32[]
string name

IParameterTranslations GetParameterTranslations()

Parameters
return IParameterTranslations

IPropertyMapping GetPropertyMapping(string name)

Parameters
return IPropertyMapping
string name

SqlCommandInfo GetQueryStringAndTypes(ISessionImplementor session, QueryParameters parameters)

Parameters
return SqlCommandInfo
ISessionImplementor session
QueryParameters parameters

Type GetType()

Parameters
return Type

IList List(ISessionImplementor session, QueryParameters queryParameters)

Parameters
return IList
ISessionImplementor session
QueryParameters queryParameters

void LoadCollection(ISessionImplementor session, object id, IType type)

Parameters
ISessionImplementor session
object id
IType type

void LoadCollectionBatch(ISessionImplementor session, Object[] ids, IType type)

Parameters
ISessionImplementor session
Object[] ids
IType type

object LoadSingleRow(IDataReader resultSet, ISessionImplementor session, QueryParameters queryParameters, bool returnProxies)

Parameters
return object
IDataReader resultSet
ISessionImplementor session
QueryParameters queryParameters
bool returnProxies

string ToString()

Parameters
return string

Public static methods

String[] ConcreteQueries(string query, ISessionFactoryImplementor factory)

Parameters
return String[]
string query
ISessionFactoryImplementor factory

string ScalarName(int x, int y)

Parameters
return string
int x
int y

Public properties

IList CollectSqlStrings get;

return IList

bool ContainsCollectionFetches get;

return bool

IDictionary EnabledFilters get;

return IDictionary

ISessionFactoryImplementor Factory get;

return ISessionFactoryImplementor

bool IsManipulationStatement get;

return bool

bool IsShallowQuery get;

Is this query called by Scroll() or Iterate()?
return bool

bool IsSubquery get;

return bool

ISet QuerySpaces get;

return ISet

string QueryString get;

return string

String[] ReturnAliases get;

return String[]

IType[] ReturnTypes get;

Types of the return values of an Enumerate() style query. Return an array of IType s.
return IType[]

String[][] ScalarColumnNames get;

return String[][]

string SQLString get;

return string