Examples of RequestImpl


Examples of org.apache.ambari.server.controller.internal.RequestImpl

   * set should result in multiple creates.
   *
   * @param properties   the properties associated with the request; may be null
   */
  public static Request getCreateRequest(Set<Map<String, Object>> properties) {
    return new RequestImpl(null,  properties, null);
  }
View Full Code Here

Examples of org.apache.ambari.server.controller.internal.RequestImpl

   * property ids represents the properties of interest for the query.
   *
   * @param propertyIds  the property ids associated with the request; may be null
   */
  public static Request getReadRequest(Set<String> propertyIds) {
    return new RequestImpl(propertyIds,  null, null);
  }
View Full Code Here

Examples of org.apache.ambari.server.controller.internal.RequestImpl

   * @param propertyIds      the property ids associated with the request; may be null
   * @param mapTemporalInfo  the temporal info
   */
  public static Request getReadRequest(Set<String> propertyIds, Map<String,
      TemporalInfo> mapTemporalInfo) {
    return new RequestImpl(propertyIds,  null, mapTemporalInfo);
  }
View Full Code Here

Examples of org.apache.ambari.server.controller.internal.RequestImpl

   * property ids represents the properties of interest for the query.
   *
   * @param propertyIds  the property ids associated with the request; may be null
   */
  public static Request getReadRequest(String ... propertyIds) {
    return new RequestImpl(new HashSet<String>(Arrays.asList(propertyIds)),  null, null);
  }
View Full Code Here

Examples of org.apache.ambari.server.controller.internal.RequestImpl

   * The properties values in the given map are used to update the resource.
   *
   * @param properties   the properties associated with the request; may be null
   */
  public static Request getUpdateRequest(Map<String, Object> properties) {
    return new RequestImpl(null,  Collections.singleton(properties), null);
  }
View Full Code Here

Examples of org.apache.ambari.server.controller.internal.RequestImpl

   * @param properties             resource properties associated with the request; may be null
   * @param requestInfoProperties  request specific properties; may be null
   */
  public static Request getCreateRequest(Set<Map<String, Object>> properties,
                                         Map<String, String> requestInfoProperties) {
    return new RequestImpl(null, properties, requestInfoProperties, null);
  }
View Full Code Here

Examples of org.apache.ambari.server.controller.internal.RequestImpl

   * property ids represents the properties of interest for the query.
   *
   * @param propertyIds  the property ids associated with the request; may be null
   */
  public static Request getReadRequest(Set<String> propertyIds) {
    return new RequestImpl(propertyIds,  null, null, null);
  }
View Full Code Here

Examples of org.apache.ambari.server.controller.internal.RequestImpl

   * @param propertyIds      the property ids associated with the request; may be null
   * @param mapTemporalInfo  the temporal info
   */
  public static Request getReadRequest(Set<String> propertyIds, Map<String,
      TemporalInfo> mapTemporalInfo) {
    return new RequestImpl(propertyIds,  null, null, mapTemporalInfo);
  }
View Full Code Here

Examples of org.apache.ambari.server.controller.internal.RequestImpl

   * property ids represents the properties of interest for the query.
   *
   * @param propertyIds  the property ids associated with the request; may be null
   */
  public static Request getReadRequest(String ... propertyIds) {
    return new RequestImpl(new HashSet<String>(Arrays.asList(propertyIds)),  null, null, null);
  }
View Full Code Here

Examples of org.apache.ambari.server.controller.internal.RequestImpl

   * @param properties             resource properties associated with the request; may be null
   * @param requestInfoProperties  request specific properties; may be null
   */
  public static Request getUpdateRequest(Map<String, Object> properties,
                                         Map<String, String> requestInfoProperties) {
    return new RequestImpl(null, Collections.singleton(properties), requestInfoProperties, null);
  }
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.