Examples of addValue()


Examples of com.alibaba.druid.sql.ast.statement.SQLInsertStatement.ValuesClause.addValue()

            for (ValuesClause clause : valuesClauses) {
                clause.addValue(value);
            }
        }
        if (valuesClause != null) {
            valuesClause.addValue(value);
        }

        // insert .. select
        SQLSelect select = x.getQuery();
        if (select != null) {
View Full Code Here

Examples of com.browseengine.bobo.api.BrowseSelection.addValue()

          {
            try
            {
              BrowseRequest req = new BrowseRequest();
              BrowseSelection sel = new BrowseSelection("color");
              sel.addValue("red");
              req.addSelection(sel);

              FacetSpec fspec = new FacetSpec();
              fspec.setExpandSelection(true);
              fspec.setMaxCount(10);
View Full Code Here

Examples of com.caringo.client.ScspHeaders.addValue()

            System.out.println(ucResponse.toString());

            //Copies metadata to the mutable object in the remote cluster
            System.out.println(">>>>>> Copy (Remote) <<<<<<<<");
            ScspHeaders headers = new ScspHeaders();
            headers.addValue("Castor-color", "blue");
            ScspResponse ccResponse = client.copyMutable("", rcn + "/" + uuid, rswArgs, headers);
            uuid = ccResponse.getResponseHeaders().getHeaderValues("Content-UUID").get(0);
            System.out.println(ccResponse.toString());

            //Reads the mutable object directly from the remote cluster
View Full Code Here

Examples of com.cedarsoft.lookup.DynamicLookup.addValue()

    for ( Object pathElement : path ) {
      if ( pathElement instanceof DefaultMutableTreeNode ) {
        Object userObject = ( ( DefaultMutableTreeNode ) pathElement ).getUserObject();
        if ( userObject != null ) {
          lookup.addValue( userObject );
        }
      } else {
        lookup.addValue( pathElement );
      }
    }
View Full Code Here

Examples of com.cloud.bridge.service.core.ec2.EC2Filter.addValue()

                    }

                    for( int k=0; k < valueItems.length; k++ ) {
                        // -> time values are not encoded as regexes
                        if ( timeFilter )
                            oneFilter.addValue( valueItems[k].getValue());
                        else
                            oneFilter.addValueEncoded( valueItems[k].getValue());
                    }
                    vfs.addFilter( oneFilter );
                }
View Full Code Here

Examples of com.couchace.core.api.injectable.SimpleCouchInjectables.addValue()

    public void entityDocumentWithInjectableTest() {
        EntityMeta<LocationInjectedEntity> entityMeta = metaBuilder.buildEntityMeta(LocationInjectedEntity.class);
        JacksonCouchJsonStrategy strategy = new JacksonCouchJsonStrategy();
        strategy.setMissingInjectableResponse(MissingInjectableResponse.RETURN_NULL);
        SimpleCouchInjectables injectables = new SimpleCouchInjectables();
        injectables.addValue("injected", "injectedValue");
        strategy.setCouchInjectables(injectables);
        EntityDocument<LocationInjectedEntity> entityDoc = strategy.readEntityDocument(null, entityMeta, JacksonTestSetup.locationEntityDocJson);

        assertEquals(entityDoc.getDocumentId(), "1122");
        assertEquals(entityDoc.getEntityType(), "Location");
View Full Code Here

Examples of com.couchace.jackson.internal.CustomInjectableValues.addValue()

        CustomInjectableValues inject = CustomInjectableValues.newThrowExceptionOnMissing();

        // TODO - injectables should only be used if the class has any @JsonInjectable annotations
        // Add revision if it's defined
        if (entityMeta.hasRevision() && revision != null) {
            inject.addValue(entityMeta.getRevisionName(), revision);
        }

        // Add any attachments
        if (entityMeta.hasAttachments()) {
            for (AttachmentMeta attachmentDef : entityMeta.getAttachmentMetaList()) {
View Full Code Here

Examples of com.couchace.jackson.internal.CustomJacksonInjectableValues.addValue()

        CustomJacksonInjectableValues inject = new CustomJacksonInjectableValues(missingInjectableResponse, couchInjectables);

        // TODO - couchInjectables should only be used if the class has any @JsonInjectable annotations
        // Add id if it's defined
        if (entityMeta.hasId() && documentId != null) {
            inject.addValue(entityMeta.getIdName(), documentId);
        }

        // Add revision if it's defined
        if (entityMeta.hasRevision() && revision != null) {
            inject.addValue(entityMeta.getRevisionName(), revision);
View Full Code Here

Examples of com.defaultcompany.external.model.ProcessVariable.addValue()

           
            if (StringUtils.hasText(variableName) && StringUtils.hasText(variableValues)) {
              ProcessVariable pv = new ProcessVariable();
              pv.setName(variableName);
              for (String val : variableValues.split(",")) {
                pv.addValue(val)
              }
              this.addProcessVariable(pv);
            }
          }
        }
View Full Code Here

Examples of com.dianping.cat.report.page.LineChart.addValue()

    item.setSize(size);
    item.setTitle(title);
    item.addSubTitle(title);
    item.setStep(TimeHelper.ONE_MINUTE);
    double[] activeThread = graphData.get(key);
    item.addValue(activeThread);
    return item;
  }

  public Map<String, double[]> getHeartBeatData(Model model, Payload payload) {
    Date start = new Date(payload.getDate());
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.