Package org.hibernate.hql.ast.spi

Examples of org.hibernate.hql.ast.spi.QueryResolverProcessor


     *
     * @param fieldBridgeProvider the field bridge provider to use for querying the targeted dynamic entity type
     * @return a Lucene processing chain for parsing queries targeted at dynamic entities
     */
    public LuceneProcessingChain buildProcessingChainForDynamicEntities(FieldBridgeProvider fieldBridgeProvider) {
      QueryResolverProcessor resolverProcessor = new QueryResolverProcessor( new UntypedLuceneQueryResolverDelegate( ) );

      LuceneQueryRendererDelegate rendererDelegate = getRendererDelegate(
          searchFactory,
          fieldBridgeProvider,
          entityNames,
View Full Code Here


     * @return a Lucene processing chain for parsing queries targeted at Java class-based entities
     */
    public LuceneProcessingChain buildProcessingChainForClassBasedEntities() {
      ClassBasedLucenePropertyHelper propertyHelper = new ClassBasedLucenePropertyHelper( searchFactory, entityNames );

      QueryResolverProcessor resolverProcessor = new QueryResolverProcessor(
          new ClassBasedLuceneQueryResolverDelegate( propertyHelper, entityNames )
          );

      LuceneQueryRendererDelegate rendererDelegate = getRendererDelegate( searchFactory, null, entityNames, namedParameters, propertyHelper );

View Full Code Here

  private final QueryResolverProcessor resolverProcessor;
  private final QueryRendererProcessor rendererProcessor;
  private final LuceneQueryRendererDelegate rendererDelegate;

  public LuceneProcessingChain(SearchFactoryIntegrator searchFactory, EntityNamesResolver entityNames, Map<String, Object> namedParameters) {
    this.resolverProcessor = new QueryResolverProcessor( new LuceneQueryResolverDelegate( searchFactory, entityNames, namedParameters ) );

    LucenePropertyHelper propertyHelper = new LucenePropertyHelper( searchFactory );
    SingleEntityQueryBuilder<Query> queryBuilder = SingleEntityQueryBuilder.getInstance(
        new LucenePredicateFactory( searchFactory.buildQueryBuilder(), propertyHelper ),
        propertyHelper
View Full Code Here

  private final QueryResolverProcessor resolverProcessor;
  private final QueryRendererProcessor rendererProcessor;
  private final MongoDBQueryRendererDelegate rendererDelegate;

  public MongoDBProcessingChain(SessionFactoryImplementor sessionFactory, EntityNamesResolver entityNames, Map<String, Object> namedParameters) {
    this.resolverProcessor = new QueryResolverProcessor( new MongoDBQueryResolverDelegate() );

    MongoDBPropertyHelper propertyHelper = new MongoDBPropertyHelper( sessionFactory, entityNames );
    MongoDBQueryRendererDelegate rendererDelegate = new MongoDBQueryRendererDelegate(
        entityNames,
        propertyHelper,
View Full Code Here

  public Neo4jProcessingChain(SessionFactoryImplementor sessionFactory, EntityNamesResolver entityNamesResolver, Map<String, Object> namedParameters) {
    Neo4jQueryResolverDelegate resolverDelegate = new Neo4jQueryResolverDelegate();
    Neo4jPropertyHelper propertyHelper = new Neo4jPropertyHelper( sessionFactory, entityNamesResolver );
    this.rendererDelegate = new Neo4jQueryRendererDelegate( sessionFactory, resolverDelegate, entityNamesResolver, propertyHelper, namedParameters );
    this.rendererProcessor = new QueryRendererProcessor( rendererDelegate );
    this.resolverProcessor = new QueryResolverProcessor( resolverDelegate );
  }
View Full Code Here

  private final QueryResolverProcessor resolverProcessor;
  private final QueryRendererProcessor rendererProcessor;
  private final MongoDBQueryRendererDelegate rendererDelegate;

  public MongoDBProcessingChain(SessionFactoryImplementor sessionFactory, EntityNamesResolver entityNames, Map<String, Object> namedParameters) {
    this.resolverProcessor = new QueryResolverProcessor( new MongoDBQueryResolverDelegate() );

    MongoDBPropertyHelper propertyHelper = new MongoDBPropertyHelper( sessionFactory, entityNames );
    MongoDBQueryRendererDelegate rendererDelegate = new MongoDBQueryRendererDelegate(
        entityNames,
        propertyHelper,
View Full Code Here

TOP

Related Classes of org.hibernate.hql.ast.spi.QueryResolverProcessor

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.