Examples of withParameter()


Examples of com.asakusafw.compiler.flow.processor.operator.UpdateFlowFactory.withParameter()

    }

    @Override
    protected void describe() {
        UpdateFlowFactory f = new UpdateFlowFactory();
        WithParameter op = f.withParameter(in, 100);
        out.add(op.out);
    }
}
View Full Code Here

Examples of com.asakusafw.compiler.flow.processor.operator.UpdateFlowFactory.withParameter()

    }

    @Override
    protected void describe() {
        UpdateFlowFactory f = new UpdateFlowFactory();
        WithParameter op = f.withParameter(in, 1);
        out.add(op.out);
    }

    /**
     * エクスポーター。
 
View Full Code Here

Examples of com.asakusafw.compiler.flow.processor.operator.UpdateFlowFactory.withParameter()

    }

    @Override
    protected void describe() {
        UpdateFlowFactory f = new UpdateFlowFactory();
        WithParameter op = f.withParameter(in, 3);
        out.add(op.out);
    }

    /**
     * インポーター。
 
View Full Code Here

Examples of com.asakusafw.compiler.flow.processor.operator.UpdateFlowFactory.withParameter()

    }

    @Override
    protected void describe() {
        UpdateFlowFactory f = new UpdateFlowFactory();
        WithParameter op = f.withParameter(in, 100);
        out.add(op.out);
    }

    /**
     * インポーター。
 
View Full Code Here

Examples of com.asakusafw.compiler.flow.processor.operator.UpdateFlowFactory.withParameter()

    }

    @Override
    protected void describe() {
        UpdateFlowFactory f = new UpdateFlowFactory();
        WithParameter op = f.withParameter(in, 10);
        out.add(op.out);
    }

    /**
     * インポーター。
 
View Full Code Here

Examples of com.asakusafw.compiler.flow.processor.operator.UpdateFlowFactory.withParameter()

    }

    @Override
    protected void describe() {
        UpdateFlowFactory f = new UpdateFlowFactory();
        WithParameter op = f.withParameter(in1, 10);
        out1.add(op.out);
    }
}
View Full Code Here

Examples of com.buschmais.cdo.impl.query.CdoQueryImpl.withParameter()

    @Override
    public Object invoke(Entity entity, Object instance, Object[] args) {
        CdoQueryImpl<?, Class<?>> query = new CdoQueryImpl(resultOfMethodMetadata.getQuery(), datastoreSession, instanceManager, cdoTransaction, interceptorFactory, Collections.<Class<?>>emptyList());
        String usingThisAs = resultOfMethodMetadata.getUsingThisAs();
        query.withParameter(usingThisAs, instanceManager.getInstance(entity));
        List<ResultOf.Parameter> parameters = resultOfMethodMetadata.getParameters();
        for (int i = 0; i < parameters.size(); i++) {
            query.withParameter(parameters.get(i).value(), args[i]);
        }
        Query.Result<?> result = query.execute();
View Full Code Here

Examples of com.github.api.v2.services.constant.GitHubApiUrls.GitHubApiUrlBuilder.withParameter()

   * @see com.github.api.v2.services.JobService#searchFullTimeJobs(java.lang.String)
   */
  @Override
  public List<Job> searchFullTimeJobs(String query) {
    GitHubApiUrlBuilder builder = createGitHubApiUrlBuilder(GitHubApiUrls.JobApiUrls.SEARCH_JOBS_URL);
        String                apiUrl  = builder.withParameter(ParameterNames.SEARCH, query).withParameter(ParameterNames.FULL_TIME, "true").buildUrl();
        JsonElement json = unmarshallList(callApiGet(apiUrl));
        return unmarshall(new TypeToken<List<Job>>(){}, json)
    }

  /* (non-Javadoc)
 
View Full Code Here

Examples of com.github.api.v2.services.constant.GitHubApiUrls.GitHubApiUrlBuilder.withParameter()

   * @see com.github.api.v2.services.JobService#searchFullTimeJobs(java.lang.String, java.lang.String)
   */
  @Override
  public List<Job> searchFullTimeJobs(String query, String location) {
    GitHubApiUrlBuilder builder = createGitHubApiUrlBuilder(GitHubApiUrls.JobApiUrls.SEARCH_JOBS_URL);
        String                apiUrl  = builder.withParameter(ParameterNames.FULL_TIME, "true").withParameter(ParameterNames.SEARCH, query).withParameter(ParameterNames.LOCATION, location).buildUrl();
        JsonElement json = unmarshallList(callApiGet(apiUrl));
        return unmarshall(new TypeToken<List<Job>>(){}, json)
  }

  /* (non-Javadoc)
 
View Full Code Here

Examples of com.github.api.v2.services.constant.GitHubApiUrls.GitHubApiUrlBuilder.withParameter()

   * @see com.github.api.v2.services.JobService#searchFullTimeJobs(java.lang.String, com.github.api.v2.schema.GeoLocation)
   */
  @Override
  public List<Job> searchFullTimeJobs(String query, GeoLocation location) {
    GitHubApiUrlBuilder builder = createGitHubApiUrlBuilder(GitHubApiUrls.JobApiUrls.SEARCH_JOBS_URL);
        String                apiUrl  = builder.withParameter(ParameterNames.FULL_TIME, "true").withParameter(ParameterNames.SEARCH, query).withParameter(ParameterNames.LATITUDE, String.valueOf(location.getLatitude())).withParameter(ParameterNames.LONGITUDE, String.valueOf(location.getLongitude())).buildUrl();
        JsonElement json = unmarshallList(callApiGet(apiUrl));
        return unmarshall(new TypeToken<List<Job>>(){}, json)
  }

  /* (non-Javadoc)
 
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.