Examples of order()


Examples of org.elasticsearch.search.facet.termsstats.TermsStatsFacetBuilder.order()

        TermsStatsFacetBuilder stats = new TermsStatsFacetBuilder(TERMS_STATS_FACET_NAME);
        stats.global(false);
        stats.keyField(keyField);
        stats.valueField(valueField);
        stats.order(TermsStatsFacet.ComparatorType.fromString(order.toString().toLowerCase()));
        stats.size(size);

        stats.facetFilter(standardFilters(range, filter));

        srb.addFacet(stats);

Examples of org.elasticsearch.search.sort.FieldSortBuilder.order()

    /* integrate Query Sort */
    String queryText = query.getQueryText();
    if (query.getSortField() != null) {
      FieldSortBuilder sort = SortBuilders.fieldSort(query.getSortField().sortField());
      if (query.isAscendingSort()) {
        sort.order(SortOrder.ASC);
      } else {
        sort.order(SortOrder.DESC);
      }
      esSearch.addSort(sort);
    } else if (queryText != null && !queryText.isEmpty()) {

Examples of org.infinispan.test.concurrent.StateSequencer.order()

      final StateSequencer sequencer = new StateSequencer();
      sequencer.logicalThread("st", "st:block_get_transactions", "st:resume_get_transactions", "st:block_ch_update", "st:resume_ch_update");
      sequencer.logicalThread("tx", "tx:before_lock", "tx:block_remote_lock", "tx:resume_remote_lock", "tx:after_commit");

      // The lock will be acquired after rebalance has started, but before cache0 starts sending the transaction data to cache1
      sequencer.order("st:block_get_transactions", "tx:before_lock", "tx:block_remote_lock", "st:resume_get_transactions");
      // The tx will be committed (1PC) after cache1 has received all the state, but before the topology is updated
      sequencer.order("st:block_ch_update", "tx:resume_remote_lock", "tx:after_commit", "st:resume_ch_update");

      ConfigurationBuilder cfg = TestCacheManagerFactory.getDefaultCacheConfiguration(true);
      cfg.clustering().cacheMode(cacheMode)

Examples of org.jboss.arquillian.api.Deployment.order()

      {
         deployment = new DeploymentDescription(deploymentAnnotation.name(), invoke(Descriptor.class, deploymentMethod));
         //deployment.shouldBeTestable(false);
      }
      deployment.shouldBeManaged(deploymentAnnotation.managed());
      deployment.setOrder(deploymentAnnotation.order());
      if(target != null)
      {
         deployment.setTarget(target);
      }
      if(protocol != null)

Examples of org.jboss.arquillian.container.test.api.Deployment.order()

      {
         description = new DeploymentDescription(deploymentAnnotation.name(),
                  invoke(Descriptor.class, deploymentMethod));
      }
      description.shouldBeManaged(deploymentAnnotation.managed());
      description.setOrder(deploymentAnnotation.order());

      if (target != null)
      {
         description.setTarget(target);
      }

Examples of org.jboss.as.console.client.widgets.forms.FormItem.order()

            required = formItemDeclaration.required();
            formItemTypeForEdit = formItemDeclaration.formItemTypeForEdit();
            formItemTypeForAdd = formItemDeclaration.formItemTypeForAdd();
            subgroup = formItemDeclaration.subgroup();
            tabName = formItemDeclaration.tabName();
            order = formItemDeclaration.order();
            acceptedValues = formItemDeclaration.acceptedValues();
        }

        FormItemDeclaration decl = new FormItemDeclaration(defaultValue, label, localLabel, required,
                                                         formItemTypeForEdit, formItemTypeForAdd,

Examples of org.jboss.netty.buffer.ChannelBuffer.order()

                    ZlibUtil.fail(z, "compression failure", resultCode);
                }

                if (z.next_out_index != 0) {
                    result = ctx.getChannel().getConfig().getBufferFactory().getBuffer(
                            uncompressed.order(), out, 0, z.next_out_index);
                } else {
                    result = ChannelBuffers.EMPTY_BUFFER;
                }
            } finally {
                // Deference the external references explicitly to tell the VM that

Examples of org.jeecgframework.core.annotation.config.AutoMenu.order()

          if (!functionMap.containsKey(menuKey.toString())) {
            function = new TSFunction();
            function.setFunctionName(autoMenu.name());
            function.setFunctionIframe(null);
            function.setFunctionLevel(Short.valueOf(autoMenu.level()));
            function.setFunctionOrder(Integer.toString(autoMenu.order()));
            function.setFunctionUrl(autoMenu.url());
            function.setTSFunction(null);
           
            String iconId = autoMenu.icon();
            if (StringUtil.isNotEmpty(iconId)) {

Examples of org.jgraph.JGraph.order()

  protected Transferable createTransferable(JComponent c) {
    if (c instanceof JGraph) {
      JGraph graph = (JGraph) c;
      GraphModel model = graph.getModel();
      if (!graph.isSelectionEmpty()) {
        Object[] flat = graph.getDescendants(graph.order(graph
            .getSelectionCells()));
        ParentMap pm = ParentMap.create(model, flat, false, true);
        ConnectionSet cs = ConnectionSet.create(model, flat, false);
        Map viewAttributes = GraphConstants.createAttributes(flat,
            graph.getGraphLayoutCache());

Examples of org.jnetpcap.nio.JBuffer.order()

    position = start;

    this.setInt(0, count);

    JBuffer b = new JBuffer(limit);
    b.order(ByteOrder.nativeOrder());
    this.transferTo(b, 0, limit, 0);

    // Resize to smaller
    setSize(limit);
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.