Packagecom.vmware.data.query
Classpublic class QueryOption
InheritanceQueryOption Inheritance Object
Implements flash.events.IEventDispatcher

Query options that may be used through the DataService API.

Note: this class was generated from its Java counterpart QueryOption



Public Properties
 PropertyDefined By
  value : String
QueryOption
Public Methods
 MethodDefined By
  
QueryOption(val:String, immutable:Boolean = false)
QueryOption
  
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, weakRef:Boolean = false):void
QueryOption
  
dispatchEvent(event:Event):Boolean
QueryOption
  
equals(another:Object):Boolean
QueryOption
  
hasEventListener(type:String):Boolean
QueryOption
  
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
QueryOption
  
toString():String
QueryOption
  
valueOf():Object
QueryOption
  
willTrigger(type:String):Boolean
QueryOption
Public Constants
 ConstantDefined By
  DS_CORE_QUERY_TIMEOUT_MS : QueryOption
[static] Time limit for DataService Core queries, triggered by the VISE {
QueryOption
  FORCE_SOURCE_SYNC : QueryOption
[static] Requires the data provider to sync its data before executing the query so that no stale data is returned.
QueryOption
  LOCAL_SCOPE : QueryOption
[static] Limits the scope of the query to a single node.
QueryOption
  PROVIDER_SCOPE : QueryOption
[static] Limits the scope of the query to a single data provider.
QueryOption
  REDUCE_QUERIES : QueryOption
[static] If true then the backend may apply query reduction optimizations to this query, possibly merging it with other queries in the same batch, which may cause the corresponding resultset to contain errors and item generation results originating from other queries within the same batch.
QueryOption
Property Detail
valueproperty
value:String


Implementation
    public function get value():String
    public function set value(value:String):void
Constructor Detail
QueryOption()Constructor
public function QueryOption(val:String, immutable:Boolean = false)



Parameters
val:String
 
immutable:Boolean (default = false)
Method Detail
addEventListener()method
public function addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, weakRef:Boolean = false):void

Parameters

type:String
 
listener:Function
 
useCapture:Boolean (default = false)
 
priority:int (default = 0)
 
weakRef:Boolean (default = false)

dispatchEvent()method 
public function dispatchEvent(event:Event):Boolean

Parameters

event:Event

Returns
Boolean
equals()method 
public function equals(another:Object):Boolean

Parameters

another:Object

Returns
Boolean
hasEventListener()method 
public function hasEventListener(type:String):Boolean

Parameters

type:String

Returns
Boolean
removeEventListener()method 
public function removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void

Parameters

type:String
 
listener:Function
 
useCapture:Boolean (default = false)

toString()method 
public function toString():String

Returns
String
valueOf()method 
public function valueOf():Object

Returns
Object
willTrigger()method 
public function willTrigger(type:String):Boolean

Parameters

type:String

Returns
Boolean
Constant Detail
DS_CORE_QUERY_TIMEOUT_MSConstant
public static const DS_CORE_QUERY_TIMEOUT_MS:QueryOption

Time limit for DataService Core queries, triggered by the VISE {

FORCE_SOURCE_SYNCConstant 
public static const FORCE_SOURCE_SYNC:QueryOption

Requires the data provider to sync its data before executing the query so that no stale data is returned.

Using this option may slow down query execution.

The value of this option is Boolean.

LOCAL_SCOPEConstant 
public static const LOCAL_SCOPE:QueryOption

PROVIDER_SCOPEConstant 
public static const PROVIDER_SCOPE:QueryOption

REDUCE_QUERIESConstant 
public static const REDUCE_QUERIES:QueryOption

If true then the backend may apply query reduction optimizations to this query, possibly merging it with other queries in the same batch, which may cause the corresponding resultset to contain errors and item generation results originating from other queries within the same batch.