Examples of StarTable


Examples of net.hydromatic.optiq.impl.StarTable

   * The relational expression is already in leaf-join-form, per
   * {@link #toLeafJoinForm(org.eigenbase.rel.RelNode)}.
   */
  public static RelNode tryUseStar(RelNode rel,
      final RelOptTable starRelOptTable) {
    final StarTable starTable = starRelOptTable.unwrap(StarTable.class);
    assert starTable != null;
    return rel.accept(
        new RelShuttleImpl() {
          @Override
          public RelNode visit(TableAccessRelBase scan) {
View Full Code Here

Examples of net.hydromatic.optiq.impl.StarTable

   * The relational expression is already in leaf-join-form, per
   * {@link #toLeafJoinForm(org.eigenbase.rel.RelNode)}.
   */
  public static RelNode tryUseStar(RelNode rel,
      final RelOptTable starRelOptTable) {
    final StarTable starTable = starRelOptTable.unwrap(StarTable.class);
    assert starTable != null;
    return rel.accept(
        new RelShuttleImpl() {
          @Override
          public RelNode visit(TableAccessRelBase scan) {
View Full Code Here

Examples of net.hydromatic.optiq.impl.StarTable

   * The relational expression is already in leaf-join-form, per
   * {@link #toLeafJoinForm(org.eigenbase.rel.RelNode)}.
   */
  public static RelNode tryUseStar(RelNode rel,
      final RelOptTable starRelOptTable) {
    final StarTable starTable = starRelOptTable.unwrap(StarTable.class);
    assert starTable != null;
    RelNode rel2 = rel.accept(
        new RelShuttleImpl() {
          @Override
          public RelNode visit(TableAccessRelBase scan) {
View Full Code Here

Examples of net.hydromatic.optiq.impl.StarTable

    public LatticeEntryImpl(OptiqSchema schema, String name, Lattice lattice) {
      super(schema, name);
      this.lattice = lattice;

      // Star table has same name as lattice and is in same schema.
      final StarTable starTable = lattice.createStarTable();
      starTableEntry = schema.add(name, starTable);
    }
View Full Code Here

Examples of org.codehaus.plexus.personality.plexus.lifecycle.phase.Startable

    }

    public void setResolver( MetadataResolver resolver )
    {
        Configurable configurable;
        Startable startable;
        this.resolver = resolver;
    }
View Full Code Here

Examples of org.codehaus.plexus.personality.plexus.lifecycle.phase.Startable

    }

    public void setResolver( MetadataResolver resolver )
    {
        Configurable configurable;
        Startable startable;
        this.resolver = resolver;
    }
View Full Code Here

Examples of org.mule.api.lifecycle.Startable

    }

    @Override
    public void initialise() throws InitialisationException
    {
        primaryNodeLifecycleNotificationListener = new PrimaryNodeLifecycleNotificationListener(new Startable() {
            @Override
            public void start() throws MuleException {
                if (ClusterizableMessageSourceWrapper.this.isStarted())
                {
                    ClusterizableMessageSourceWrapper.this.start();
View Full Code Here

Examples of org.mule.api.lifecycle.Startable

        replyToHandler = getReplyToHandler();

        if (!shouldConsumeInEveryNode() && !flowConstruct.getMuleContext().isPrimaryPollingInstance())
        {
            primaryNodeLifecycleNotificationListener = new PrimaryNodeLifecycleNotificationListener(new Startable()
            {
                @Override
                public void start() throws MuleException
                {
                    if (AbstractMessageReceiver.this.isStarted())
View Full Code Here

Examples of org.picocontainer.Startable

        pico.registerComponentImplementation(DefaultPicoContainerLifecycleTestCase.Two.class);
        pico.registerComponentImplementation(DefaultPicoContainerLifecycleTestCase.One.class);
        pico.registerComponentImplementation(DefaultPicoContainerLifecycleTestCase.Three.class);

        ProxyFactory proxyFactory = new StandardProxyFactory();
        Startable startable = (Startable) Multicaster.object(pico, true, proxyFactory);
        Startable stoppable = (Startable) Multicaster.object(pico, false, proxyFactory);
        Disposable disposable = (Disposable) Multicaster.object(pico, false, proxyFactory);

        startable.start();
        stoppable.stop();
        disposable.dispose();

        assertEquals("<One<Two<Three<FourFour>Three>Two>One>!Four!Three!Two!One", pico.getComponentInstance("recording").toString());
    }
View Full Code Here

Examples of org.picocontainer.Startable

                                 // The component has already been started
                                 return null;
                              }
                              try
                              {
                                 Startable startable = (Startable)adapter.getComponentInstance();
                                 startable.start();
                              }
                              finally
                              {
                                 alreadyStarted.put(adapter, adapter);
                              }
                           }
                        }
                        catch (Exception e)
                        {
                           error.compareAndSet(null, e);
                        }
                        finally
                        {
                           Thread.currentThread().setContextClassLoader(oldCl);
                           ExoContainerContext.setCurrentContainer(oldContainer);
                        }
                        return null;
                     }
                  });
               }
            };
            if (submittedTasks == null)
            {
               submittedTasks = new ArrayList<Future<?>>();
            }
            submittedTasks.add(executor.submit(task));
         }
         else
         {
            if (adapter instanceof ComponentAdapterDependenciesAware)
            {
               ComponentAdapterDependenciesAware<?> cada = (ComponentAdapterDependenciesAware<?>)adapter;
               startDependencies(alreadyStarted, startInProgress, error, cada);
            }
            if (!Startable.class.isAssignableFrom(adapter.getComponentImplementation()))
            {
               alreadyStarted.put(adapter, adapter);
               continue;
            }
            else if (alreadyStarted.containsKey(adapter))
            {
               // The component has already been started
               continue;
            }
            synchronized (adapter)
            {
               if (alreadyStarted.containsKey(adapter))
               {
                  // The component has already been started
                  continue;
               }
               try
               {
                  Startable startable = (Startable)adapter.getComponentInstance();
                  startable.start();
               }
               catch (Exception e)
               {
                  error.compareAndSet(null, e);
               }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.