Examples of accept()


Examples of org.apache.phoenix.parse.ParseNode.accept()

                    projectIndexColumnFamily(context, cfName, tableRef, projectedExpressions, projectedColumns);
                } else {
                    projectTableColumnFamily(context, cfName, tableRef, projectedExpressions, projectedColumns);
                }
            } else {
                Expression expression = node.accept(selectVisitor);
                projectedExpressions.add(expression);
                expression = coerceIfNecessary(index, targetColumns, expression);
                if (node instanceof BindParseNode) {
                    context.getBindManager().addParamMetaData((BindParseNode)node, expression);
                }
View Full Code Here

Examples of org.apache.pig.newplan.Operator.accept()

                    }
                }
               
                // visit expression associated with currOp. If it refers to any other operator
                // that operator is also going to be enqueued.
                currOp.accept( new AllExpressionVisitor( plan, new DependencyOrderWalker( plan ) ) {
                        @Override
                        protected LogicalExpressionVisitor getVisitor(LogicalExpressionPlan exprPlan)
                        throws FrontendException {
                            return new LogicalExpressionVisitor( exprPlan, new DependencyOrderWalker( exprPlan ) ) {
                                @Override
View Full Code Here

Examples of org.apache.qpid.transport.network.IncomingNetworkTransport.accept()

                    final IncomingNetworkTransport transport = Transport.getIncomingTransportInstance();
                    final MultiVersionProtocolEngineFactory protocolEngineFactory =
                                    new MultiVersionProtocolEngineFactory(supported, defaultSupportedProtocolReply);

                    transport.accept(settings, protocolEngineFactory, null);

                    ApplicationRegistry.getInstance().addAcceptor(inetSocketAddress,
                                    new QpidAcceptor(transport,QpidAcceptor.Transport.TCP, supported));
                    CurrentActor.get().message(BrokerMessages.LISTENING("TCP", port));
                }
View Full Code Here

Examples of org.apache.sirona.javaagent.listener.PathTrackingListener.accept()

public class AutoSetPathTrackingListenerTest {
    @Test
    public void autoSet() throws Exception {
        final PathTrackingListener listener = IoCs.autoSet(null, new PathTrackingListener());
        assertFalse(listener.accept("org.junit"));
    }
}
View Full Code Here

Examples of org.apache.sis.math.Statistics.accept()

        final Statistics statistics = new Statistics(name);
        for (final Map.Entry<Integer,Integer> entry : cache.entrySet()) {
            final int key = entry.getKey();
            final int value = entry.getValue();
            assertEquals(key*key, value);
            statistics.accept(key);
        }
        return statistics;
    }

    /**
 
View Full Code Here

Examples of org.apache.tapestry.services.MethodFilter.accept()

                List<MethodSignature> result = newList();
                MethodFilter filter = (MethodFilter) EasyMock.getCurrentArguments()[0];

                for (MethodSignature sig : signatures)
                {
                    if (filter.accept(sig)) result.add(sig);
                }

                // We don't have to sort them for testing purposes. Usually there's just going to be
                // one in there.
View Full Code Here

Examples of org.apache.tapestry5.internal.plastic.asm.ClassReader.accept()

            boolean singleInputDocument = inRepresentation == SINGLE_XML;
            if (inRepresentation == BYTECODE) { // read bytecode and process it
                // with handler
                ClassReader cr = new ClassReader(readEntry(zis, ze));
                cr.accept(new SAXClassAdapter(handler, singleInputDocument), 0);

            } else { // read XML and process it with handler
                XMLReader reader = XMLReaderFactory.createXMLReader();
                reader.setContentHandler(handler);
                reader.parse(new InputSource(
View Full Code Here

Examples of org.apache.tapestry5.internal.plastic.asm.signature.SignatureReader.accept()

        appendDescriptor(CLASS_SIGNATURE, signature);
        if (signature != null) {
            TraceSignatureVisitor sv = new TraceSignatureVisitor(access);
            SignatureReader r = new SignatureReader(signature);
            r.accept(sv);
            buf.append("// declaration: ")
                    .append(name)
                    .append(sv.getDeclaration())
                    .append('\n');
        }
View Full Code Here

Examples of org.apache.wicket.feedback.IFeedbackMessageFilter.accept()

          new IFeedbackMessageFilter()
          {
            @Override
            public boolean accept(FeedbackMessage message)
            {
              return filter.accept(message) && message.isError();
            }
          }).size() > 0;
        return "border: 1px solid " + (error ? "red" : "green");
      }
    }));
View Full Code Here

Examples of org.apache.wicket.markup.html.IPackageResourceGuard.accept()

  {
    IPackageResourceGuard guard = Application.get()
      .getResourceSettings()
      .getPackageResourceGuard();

    return guard.accept(scope, path);
}

  /**
   * Gets whether a resource for a given set of criteria exists.
   *
 
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.