vSphere Client SDK API Documentation : version 5.5.0.1300321

com.vmware.vise.data.query
Class QuerySpec

java.lang.Object
  extended by com.vmware.vise.data.query.QuerySpec

@data(base="Object")
public class QuerySpec
extends Object

Defines the query to match a set of resources for which data is requested from the DataService.


Field Summary
 String name
          An optional query name given by the client for id purposes.
 Map<String,Object> options
          Optional information for this query's execution.
 ResourceSpec resourceSpec
          Specifies the target set of resources.
 ResultSpec resultSpec
          Additional transformations/filters to be applied on the discovered resource set.
 
Constructor Summary
QuerySpec()
          Default constructor.
QuerySpec(QuerySpec original)
          Creates a shallow copy of the specified QuerySpec.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

@optional
public String name
An optional query name given by the client for id purposes.


resourceSpec

public ResourceSpec resourceSpec
Specifies the target set of resources. This is how you can target specific object types and associated properties.


resultSpec

@optional
public ResultSpec resultSpec
Additional transformations/filters to be applied on the discovered resource set. If you don't specify it in your QuerySpec a default ResultSpec is created by the Data Service.


options

@optional
public Map<String,Object> options
Optional information for this query's execution. May contain Data Service options as well as options specific to particular adapter(s).

Constructor Detail

QuerySpec

public QuerySpec()
Default constructor.


QuerySpec

public QuerySpec(QuerySpec original)
Creates a shallow copy of the specified QuerySpec.

Parameters:
original - the object that must be copied

vSphere Client SDK API Documentation : version 5.5.0.1300321

Copyright @ 2012 VMware, Inc. All rights reserved.