Examples of parameter()


Examples of com.alibaba.dubbo.remoting.telnet.support.Help.parameter()

            }
            TelnetHandler handler = extensionLoader.getExtension(message);
            Help help = handler.getClass().getAnnotation(Help.class);
            StringBuilder buf = new StringBuilder();
            buf.append("Command:\r\n    ");
            buf.append(message + " " + help.parameter().replace("\r\n", " ").replace("\n", " "));
            buf.append("\r\nSummary:\r\n    ");
            buf.append(help.summary().replace("\r\n", " ").replace("\n", " "));
            buf.append("\r\nDetail:\r\n    ");
            buf.append(help.detail().replace("\r\n", "    \r\n").replace("\n", "    \n"));
            return buf.toString();
View Full Code Here

Examples of com.complexible.stardog.api.BooleanQuery.parameter()

    try {
      BooleanQuery query = connection.ask(sparql);
     
      if (args != null) {
        for (Entry<String, Object> arg : args.entrySet()) {          
          query.parameter(arg.getKey(), arg.getValue());
        }
      }

      result = query.execute();
    } catch (StardogException e) {
View Full Code Here

Examples of com.complexible.stardog.api.GraphQuery.parameter()

    try {
      GraphQuery query = connection.graph(sparql);
     
      if (args != null) {
        for (Entry<String, Object> arg : args.entrySet()) {          
          query.parameter(arg.getKey(), arg.getValue());
        }
      }
     
      ArrayList<T> list = new ArrayList<T>();
     
View Full Code Here

Examples of com.complexible.stardog.api.SelectQuery.parameter()

    try {
      SelectQuery query = connection.select(sparql);
     
      if (args != null) {
        for (Entry<String, Object> arg : args.entrySet()) {          
          query.parameter(arg.getKey(), arg.getValue());
        }
      }
     
      ArrayList<T> list = new ArrayList<T>();
     
View Full Code Here

Examples of com.complexible.stardog.api.UpdateQuery.parameter()

    try {
      UpdateQuery query = connection.update(sparql);
     
      if (args != null) {
        for (Entry<String, Object> arg : args.entrySet()) {          
          query.parameter(arg.getKey(), arg.getValue());
        }
      }

      query.execute();
View Full Code Here

Examples of com.foundationdb.ais.model.AISBuilder.parameter()

                direction = Parameter.Direction.INOUT;
                break;
            }
            TInstance type = typesTranslator.typeForSQLType(aliasInfo.getParameterTypes()[i],
                    schemaName, routineName, parameterName);
            builder.parameter(schemaName, routineName, parameterName,
                              direction, type);
        }
       
        if (aliasInfo.getReturnType() != null) {
            TInstance type = typesTranslator.typeForSQLType(aliasInfo.getReturnType(),
View Full Code Here

Examples of com.foundationdb.ais.model.TestAISBuilder.parameter()

        builder.sqljJar("test", "ajar",
                        new URL("https://example.com/procs/ajar.jar"));

        builder.routine("test", "proc1", "java", Routine.CallingConvention.JAVA);
        builder.parameter("test", "proc1", "n1", Parameter.Direction.IN,
                          "MCOMPAT", "bigint", null, null);
        builder.parameter("test", "proc1", "s1", Parameter.Direction.IN,
                          "MCOMPAT", "varchar", 16L, null);
        builder.parameter("test", "proc1", "n2", Parameter.Direction.IN,
                          "MCOMPAT", "decimal", 10L, 5L);
View Full Code Here

Examples of com.jayway.restassured.specification.RequestSpecification.parameter()

    Map<String, String> queryParameters = getCompleteStringQueryParameters();
    queryParameters.put("memberOfGroup", MockProvider.EXAMPLE_GROUP_ID);
   
    RequestSpecification requestSpecification = given().contentType(POST_JSON_CONTENT_TYPE);
    for (Entry<String, String> paramEntry : queryParameters.entrySet()) {
      requestSpecification.parameter(paramEntry.getKey(), paramEntry.getValue());
    }
   
    requestSpecification.expect().statusCode(Status.OK.getStatusCode())
      .when().get(USER_QUERY_URL);
   
View Full Code Here

Examples of com.jayway.restassured.specification.RequestSpecification.parameter()

    Map<String, String> queryParameters = getCompleteStringQueryParameters();

    RequestSpecification requestSpecification = given().contentType(POST_JSON_CONTENT_TYPE);
    for (Entry<String, String> paramEntry : queryParameters.entrySet()) {
      requestSpecification.parameter(paramEntry.getKey(), paramEntry.getValue());
    }

    requestSpecification.expect().statusCode(Status.OK.getStatusCode())
      .when().get(SERVICE_PATH);
View Full Code Here

Examples of com.jayway.restassured.specification.RequestSpecification.parameter()

    Map<String, String> queryParameters = getCompleteStringQueryParameters();
    queryParameters.put("member", MockProvider.EXAMPLE_USER_ID);
   
    RequestSpecification requestSpecification = given().contentType(POST_JSON_CONTENT_TYPE);
    for (Entry<String, String> paramEntry : queryParameters.entrySet()) {
      requestSpecification.parameter(paramEntry.getKey(), paramEntry.getValue());
    }
   
    requestSpecification.expect().statusCode(Status.OK.getStatusCode())
      .when().get(GROUP_QUERY_URL);
   
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.