Creates a new AST-based query translator.

Namespace: NHibernate.Hql.Ast.ANTLR
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
public QueryTranslatorImpl(
	string queryIdentifier,
	IASTNode parsedQuery,
	IDictionary<string, IFilter> enabledFilters,
	ISessionFactoryImplementor factory
)
Visual Basic
Public Sub New ( _
	queryIdentifier As String, _
	parsedQuery As IASTNode, _
	enabledFilters As IDictionary(Of String, IFilter), _
	factory As ISessionFactoryImplementor _
)
Visual C++
public:
QueryTranslatorImpl(
	String^ queryIdentifier, 
	IASTNode^ parsedQuery, 
	IDictionary<String^, IFilter^>^ enabledFilters, 
	ISessionFactoryImplementor^ factory
)

Parameters

queryIdentifier
Type: System..::..String
The query-identifier (used in stats collection)
parsedQuery
Type: NHibernate.Hql.Ast.ANTLR.Tree..::..IASTNode
The hql query to translate
enabledFilters
Type: System.Collections.Generic..::..IDictionary<(Of <(<'String, IFilter>)>)>
Currently enabled filters
factory
Type: NHibernate.Engine..::..ISessionFactoryImplementor
The session factory constructing this translator instance.

See Also