Click or drag to resize
Query Class DataPA OpenAnalytics
DataPA OpenAnalytics API Reference
Object representing a query.
Inheritance Hierarchy
SystemObject
  DataPA.Utils.QueryEngineQuery

Namespace: DataPA.Utils.QueryEngine
Assembly: DataPAQueryEngine (in DataPAQueryEngine.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public class Query : _Query, ISerializable, 
	ITelemetry

The Query type exposes the following members.

Constructors
  NameDescription
Public methodQuery
Creates and returns a new query object
Public methodQuery(Byte, Systems)
Creates and returns a new query object from a saved byte array
Public methodQuery(String, Systems)
Creates and returns a new query object from a saved query string
Top
Methods
  NameDescription
Public methodAuthenticateInmydataAccount
Public methodAvailableProfiles
Generates and returns the available profiles for the current Google Account
Public methodCheckSystemandSubjectsValid
Public methodClone
Creates and returns an absolute copy of this query
Public methodStatic memberComparableTypes
Compares two data types and returns true if they are comparable
Public methodStatic memberFieldDataTypeFromColumnDataType
Public methodStatic memberGenerateField
Generates a field object given a data column
Public methodStatic memberGenerateFields
Generates a fields collection for a given datatable
Public methodGetObjectData
Public methodGetRequiredFieldInfo
Builds string arrays of parameter information which will be used when publishing
Public methodGetTelemetryMetrics
Public methodGetTelemetryProperties
Public methodGoogleMetaData
Generates and returns the Google Meta data
Public methodGoogleMetaData(Boolean)
Generates and returns the Google Meta data
Public methodImport
Imports data from the ImportFile
Public methodIsInmydataAuthenticated
Public methodIsValueSet
Public methodOpen
Opens a new query object from a saved query string
Public methodOpenFromBytes
Opens a new query from a saved byte array
Public methodOpenFromFile
Opens a new query object from a saved query string
Public methodQueryResults
Gets the first query data set from this queries results set
Public methodQueryResults(Int32)
Gets a given query data set from this queries results set
Public methodRaiseDataAvailableEvent
Public methodResetGoogleAPI
Clears all saved tokens and resets the API object
Public methodResetIDs
Resets the Unique ID for this query and any descendents
Public methodRunQuery
Public methodSave(Stream)
Saves this query to the given stream
Public methodSave(String)
Saves this query to the given file
Public methodSetObjectData
Public methodSetRequiredValue
Allows 3rd party applications to set the value of a paremeter and prevent it from being prompted for by the run query wizard
Public methodSetSkipValue
Allows 3rd party applications to set a paremeter to be skipped and prevent it from being prompted for by the run query wizard
Public methodStoreAccessTokens
Requests that the any access tokens required for this query are stored in the query for publish
Public methodToByte
Gets this query stored as a byte array
Public methodToSaveString
Gets this query stored as a string
Public methodToString
Gets a string that describes this query
(Overrides ObjectToString.)
Top
Fields
Properties
  NameDescription
Public propertyAuthor
Gets and sets the name of the person who created this query
Public propertyBlendingDetails
Gets and sets an object that defines the properties required for a blending query
Public propertyBusinessLogicFixedValueParameterValues
Gets and sets a dictionary of objects that represent the values to populate the business logic parameters for the subject used in this query
Public propertyCategory
Gets and sets the category this query will be published too
Public propertyChildren
Gets the collection of child queries
Public propertyChildrenList
Gets and sets a list of child subjects of this query
Public propertyClearData
Gets and sets a property that indicates if an accumulating query should clear data on this refresh
Public propertyCombineResults
Gets and sets a value that indicates if the results of a multi level query should be combined into a single dataset
Public propertyComments
Gets and sets a comments string for this query
Public propertyConditions
Gets and sets an list of query conditions to be applied to this query
Public propertyDataSetName
Gets a property that indicates the dataset name that will be used for this query's results
Public propertyDebugQuery
Gets and sets a property that indicates if this query will run in debug mode.
Public propertyDecimalSeparator
Gets and sets the Decimal separator
Public propertyDescription
Gets and sets a description for this query
Public propertyDisplayFields
Gets and sets the display fields for this query
Public propertyErrorMessage
Gets and sets a string that will contain any error recorded at the time this query was last run
Public propertyExcelExportProperties
Gets and sets an object that describes
Public propertyExcelImportProperties
Gets and sets an object that describes
Public propertyFieldLabelsChanged
Gets a dicionary of the fields that have changed name since the query was last opened
Public propertyForcedConnectionID
Gets and sets the ID of the connection this query is forced to use
Public propertyGoogleAnalyticsDetails
Gets ansd sets an object that defines the properties for a Google Analytics query
Public propertyID
Gets a unique identifier for this object
Public propertyImportFile
Gets and sets the path of the file from which this query will import data
Public propertyinmydataSourceData
Gets and sets the source data for this inmydata query
Public propertyinmydataTenant
Gets and sets the name of the tenant for this inmydata query
Public propertyInnerJoin
Gets and sets a property that indicates if this object is joined to it's parent with an inner join
Public propertyKeywords
Gets and sets a list of keywords to identify this object
Public propertyLastRefreshCompleted
Gets and sets the date and time this query was last refreshed
Public propertyLastRefreshCompletedNotNullable
Gets and sets the date and time this query was last refreshed
Public propertyLastRefreshStarted
Gets and sets the date and time the last refresh of this query started
Public propertyLastRefreshStartedNotNullable
Gets and sets the date and time the last refresh of this query started
Public propertyMaxRows
Gets and sets the maximum number of rows for this query to return
Public propertyMillisecondsTakenLastSuccessfulRefresh
Gets the number of milliseconds taken for the last succesfull refresh of this query
Public propertyModified
Gets a property that indicates if the Query has been modified since it was last saved.
Public propertyName
Gets and sets the name of this query
Public propertyObjectSizes
Gets a dictionary of serialized objects contained in this object, along with their sizes (in bytes)
Public propertyOpenAPIClassFile
Gets and sets a string that identifies the Open API assembly file that will be used to provide data
Public propertyOpenAPIClassIdentifier
Gets and sets a string that identifies the Open API class that will be used to provide data
Public propertyOpenAPIConfigurationString
Gets and sets the configuration string used in conjunction with the OpenAPI class to generate data
Public propertyOpenAPIRuntimeConfigurationString
Gets the configuration string used in conjunction with the OpenAPI class to generate data, with any required field values populated
Public propertyParameterParentColumns
Gets and sets a dictionary of fields that represent the parent columns used to provide values for a required field in for this subject in a multi-level query
Public propertyParameters
Gets the query parameters collection
Public propertyParametersList
Gets and sets a dictionary of parameter objects for this query
Public propertyParent
Gets and sets the parent query
Public propertyQueryBasedOnSubject
Gets a value that indicates if this query is dependent on a subject
Public propertyQueryBasedOnSystem
Gets a value that indicates if this query is dependent on a system
Public propertyQueryLookups
Public propertyQueryType
Gets and sets a value that identifies the type of this query
Public propertyRequiredFields
Gets the query parameters collection (depricated, use parameters)
Public propertyResultsSet
Gets and sets property that contains the datasets for this query.
Public propertyRootQuery
Gets the root query of this query
Public propertySavedDataAvailable
Gets a boolean value that indicates if the file required to run a test execution of this query exists and the query has data
Public propertySavedDataFile
Gets the fully qualified path of the file required to run a test execution of this query
Public propertySilent
Gets and sets a property that indicates whether the run query screen should be fully hidden in the client if possible
Public propertySkipExport
Gets and sets a property that indicates if the export screen should be skipped in the rubn query wizard
Public propertySkipIntro
Gets and sets a property that indicates whether the run query wizard will be forced to skip the introduction screen regardless of the users settings
Public propertySortFields
Gets and sets a list of columns used to sort the data from this query
Public propertySourceFields
Gets and sets a collection of fields available from the source dataset
Public propertySplitResults
Gets and sets a property that indicates if this query will return multiple result sets
Public propertySQLString
Gets and sets the SQL Query string for this query
Public propertyStoredData
Gets and sets a string that can be used to store any data string in this query
Public propertySubject
Gets the subject object that this query is based on
Public propertySubjectID
Gets and sets the ID of the subject used for this query
Public propertySubjectTitle
Gets a property that indicates the title of the Subject this Query uses.
Public propertySubjectType
Gets a property that indicates the type of the Subject this Query uses.
Public propertySummarise
Gets and sets a property that indicates whether this query will summarise the data returned by the Open API query
Public propertySummaryFill
Gets and sets a value that indicates if any date groupings in a summary query should populate periods without any data
Public propertySystemName
Gets and sets the system name this query relates to (if any)
Public propertySystems
Gets and sets the systems object that the subject this query relates to should belong to
Public propertyThousandSeparator
Gets and sets the thousand separator
Public propertyTrendingDetails
Gets and sets the trending details for this query
Public propertyUseLabels
Gets and sets a property that indicates if this query should us the fields labels in the dataset.
Public propertyUseParametersAsDefault
Gets and sets a value that indicates if the parameter values in this query should be used as the default values for the query required fields
Public propertyUserLevel
Gets and sets the user level for this query
Public propertyVersion
Gets and sets the version for this query
Top
Events
  NameDescription
Public eventDataAvailable
Event raised when the data is available for this query from the queyr having been run.
Public eventParameterValueRequest
Event raised for each parameter before the query is run, allowing parameter values to be set by a third party application
Public eventQueryProgress
Event raised to indicate the progress of a query refresh process
Public eventSourceDataRequest
Event raised when the query requires a source data set to be provided for a blending query
Top
See Also