YQLRequest Class
Utility Class used under the hood by the YQL class
Constructor
YQLRequest
    
        
            (
    
    
    
    
    
    
    
    
    
    - 
                    
                        
sql - 
                    
                        
callback - 
                    
                        
params - 
                    
                        
opts 
Parameters:
- 
                    
                        
sqlStringThe SQL statement to execute
 - 
                    
                        
callbackFunction/ObjectThe callback to execute after the query (Falls through to JSONP).
 - 
                    
                        
paramsObjectAn object literal of extra parameters to pass along (optional).
 - 
                    
                        
optsObjectAn object literal of configuration options (optional): proto (http|https), base (url)
 
Item Index
Methods
_internal
    
        ()
    
    
    
    
        private
    
    
    
    
    
    
    Internal Callback Handler
_send
    
        
            (
    
    
    
    
        private
    
    
    
    
    
    
    - 
                    
                        
url - 
                    
                        
o 
Private method to send the request, overwritten in plugins
Properties
_callback
    Unknown
    
    
        private
    
    
    
    
    Holder for the callback argument
_context
    Unknown
    
    
        private
    
    
    
    
    The context to execute the callback in
_jsonp
    Unknown
    
    
        private
    
    
    
    
    Reference to the JSONP instance used to make the queries
_opts
    Unknown
    
    
        private
    
    
    
    
    Holder for the opts argument
_params
    Unknown
    
    
        private
    
    
    
    
    Holder for the params argument
BASE_URL
    Unknown
    
    
    
    
        static
    
    
    The base URL to query: query.yahooapis.com/v1/public/yql?
FORMAT
    Unknown
    
    
    
    
        static
    
    
    Default format to use: json
PROTO
    Unknown
    
    
    
    
        static
    
    
    Default protocol to use: http
