All Libraries | This Library | Package | Class | Use | Tree | Deprecated | Index | Grand Index | Help
|  | Query |
PREV NEXT | FRAMES NO FRAMES

## Uses of Interface
com.sas.iquery.metadata.business.DataSelection

Packages that use DataSelection
com.sas.iquery.builder | Classes in the `com.sas.iquery.builder` package are used to easily build up complex Intelligent Query objects.
com.sas.iquery.dataservices | Provides utility classes and methods that are used to read information maps and retrieve filter values.
com.sas.iquery.metadata.business | The main package that provides modeling for SAS Query Services's two business models (information maps and data selections), which provide a logical layer of metadata modeling above the physical layer model.
com.sas.iquery.metadata.expr | Provides classes that are used to model expressions, which are used to compose data items and filters.
com.sas.iquery.metadata.expr.relational | Provides classes that are used to model relational database expressions which are typically used when defining the expression portion of filters.
com.sas.iquery.util | Utility classes that SAS Query Services makes available for use with its models.

Uses of DataSelection in com.sas.iquery.builder

Methods in com.sas.iquery.builder with parameters of type DataSelection
`static boolean` | `DisabledTotalsBuilder.isDisabledTotaling(DataSelection businessQuery, DataItem item, TotalingType totalingType, boolean checkParentModels)` Returns true if the total is disabled for that data item or any of the base items for that data item.
`static DisabledTotalsBuilder` | `IQBuilderFactory.newDisabledTotalsBuilder(DataSelection dataSelection)` returns a builder that builds disabled totaling into a data selection and builds a map of that disabled totaling

Uses of DataSelection in com.sas.iquery.dataservices

Methods in com.sas.iquery.dataservices with parameters of type DataSelection
`static int` | `DataRetrievalUtil.getRankedItemCount(DataSelection selection)`
`static boolean` | `DataRetrievalUtil.hasSummarizeableItems(DataSelection ds)` Determines if the business query contains data items which may be summarized.
`static boolean` | `DataRetrievalUtil.isGrandTotal(DataSelection dataSelection)` Reports whether the data selection has tabular listing grand totals enabled.
`static boolean` | `DataRetrievalUtil.isModelDetailed(DataSelection dataSelection)` Returns true if the data selection will return detailed (unaggregated) data
`static boolean` | `DataRetrievalUtil.isModelGrandTotal(DataSelection dataSelection)` Checks if the model is GrandTotal.
`static boolean` | `DataRetrievalUtil.isModelRanked(DataSelection model)` Checks if a data selection contains a rank filter.
`static boolean` | `DataRetrievalUtil.isModelROLAP(DataSelection dataSelection)` Reports whether the given data selection is ROLAP.

Uses of DataSelection in com.sas.iquery.metadata.business

Methods in com.sas.iquery.metadata.business that return DataSelection
`DataSelection` | `DataSelection.copy()` Creates and returns a copy of this data selection.
`DataSelection` | `DataSelection.getParentDataSelection()` Returns the parent data selection to this data selection if this data selection has a parent.
`DataSelection` | `ExportMetadata.getUnderlyingObject()` Returns the underlying Map or DataSelection
`static DataSelection` | `DataSelectionFactory.newDataSelection(BusinessModel businessModel)` Creates and returns a new DataSelection object based upon the given business model.
`static DataSelection` | `DataSelectionFactory.newDataSelection(com.sas.services.session.SessionContextInterface session, IntelligentQueryMetadataServiceInterface service)` Creates and returns an empty DataSelection based on *no* business model.
`static DataSelection` | `DataSelectionFactory.newDataSelection(com.sas.services.session.SessionContextInterface session, IntelligentQueryMetadataServiceInterface service, java.util.Locale dataLocale)` IQ internal-use only -- do not use!
`DataSelection` | `DataSelectionFactory.newDataSelectionNonStatic(BusinessModel businessModel)` Creates and returns a new DataSelection object based upon the given business model.
`DataSelection` | `DataSelectionFactory.newDataSelectionNonStatic(com.sas.services.session.SessionContextInterface session, IntelligentQueryMetadataServiceInterface service)` Creates and returns an empty DataSelection based on *no* business model.
`DataSelection` | `DataSelectionFactory.newDataSelectionNonStatic(com.sas.services.session.SessionContextInterface session, IntelligentQueryMetadataServiceInterface service, java.util.Locale dataLocale)` IQ internal-use only -- do not use!
`static DataSelection` | `DataSelectionFactory.newSampleDataSelection(BusinessModel rootBusinessModel, java.util.Map<StructureOfDataItem,java.lang.Integer> maxElements)` This method is similar to the default DataSelectionFactory method except that it automatically adds ResultItems to create a sample.
`static DataSelection` | `DataSelectionFactory.readDataSelection(org.w3c.dom.Element dataSelectionElement, java.util.Map<com.sas.iquery.metadata.business.BusinessModelReferenceInfo,BusinessModel> reuseBusinessModels, IntelligentQueryMetadataServiceInterface metadataService, com.sas.services.session.SessionContextInterface session)` Reads in a persisted form of a DataSelection from the given DOM element reusing any provided business models.
`DataSelection` | `DataSelectionFactory.readDataSelectionNonStatic(org.w3c.dom.Element dataSelectionElement, java.util.Map<com.sas.iquery.metadata.business.BusinessModelReferenceInfo,BusinessModel> reuseBusinessModels, IntelligentQueryMetadataServiceInterface metadataService, com.sas.services.session.SessionContextInterface session)` Reads in a persisted form of a DataSelection from the given DOM element reusing any provided business models.

Methods in com.sas.iquery.metadata.business with parameters of type DataSelection
`com.sas.iquery.metadata.business.CreateTableDataSelection` | `Export.createTableDataSelection(DataSelection selection, com.sas.iquery.strategies.sas.oma.AbstractStrategy strategy)`
`com.sas.iquery.metadata.business.CreateTableDataSelection` | `DataSelectionFactory.newCreateTableDataSelection(DataSelection dataSelection)` Creates and returns a model for creating a table based on a business query.
`static com.sas.iquery.metadata.business.LookThroughDataSelection` | `DataSelectionFactory.newLookThroughDataSelection(DataSelection parentDataSelection)` Creates and returns a new LookThroughDataSelection object based upon the given parent data selection.
`com.sas.iquery.metadata.business.LookThroughDataSelection` | `DataSelectionFactory.newLookThroughDataSelectionNonStatic(DataSelection parentDataSelection)` Creates and returns a new LookThroughDataSelection object based upon the given parent data selection.

Constructors in com.sas.iquery.metadata.business with parameters of type DataSelection
`ExportMetadata(DataSelection dataSelection)`

Uses of DataSelection in com.sas.iquery.metadata.expr

Methods in com.sas.iquery.metadata.expr with parameters of type DataSelection
`java.lang.String` | `AbstractTimeValueExpression.generateQueryText(DataSelection dataSelection, ConnectionType connectionType)` Return query text of TimeValue expression.
`protected java.lang.String` | `TimestampValueExpression.getPattern(DataSelection dataSelection, ConnectionType connectionType)`
`protected java.lang.String` | `TimeValueExpression.getPattern(DataSelection dataSelection, ConnectionType connectionType)`
`protected java.lang.String` | `DateValueExpression.getPattern(DataSelection dataSelection, ConnectionType connectionType)`
`protected abstract java.lang.String` | `AbstractTimeValueExpression.getPattern(DataSelection dataSelection, ConnectionType connectionType)` returns a pattern compatible with SimpleDataFormat instance returned by getFormatter() to format the time value

Uses of DataSelection in com.sas.iquery.metadata.expr.relational

Methods in com.sas.iquery.metadata.expr.relational with parameters of type DataSelection
`java.lang.String` | `RelativeTimestampValueExpression.generateQueryText(DataSelection dataSelection, ConnectionType connectionType)` Internal to IQ, do not use.
`java.lang.String` | `AbstractRelativeTimeValueExpression.generateQueryText(DataSelection dataSelection, ConnectionType connectionType)` Deprecated. You should use SQLExpressionAbstract.generateExpressionSQL().
`java.lang.String` | `RelativeDateValueExpression.generateQueryText(DataSelection dataSelection, ConnectionType connectionType, java.lang.String shiftFromValue)` Internal to IQ, do not use.
`java.lang.String` | `AbstractRelativeTimeValueExpression.generateQueryText(DataSelection dataSelection, ConnectionType connectionType, java.lang.String shiftFromValue)` Construct the output string value used in an expression for a relative date, time, or timestamp expression.

Uses of DataSelection in com.sas.iquery.util

Methods in com.sas.iquery.util with parameters of type DataSelection
`static java.util.Locale` | `BusinessQueryOLAPUtil.getConnectionLocale(DataSelection dataSelection)` Get the connection locale object for this data selection.
`static java.lang.String` | `BusinessQueryOLAPUtil.getCubeRestrictions(DataSelection dataSelection)` Returns a String representing text that can be used to establish a cube query context.
`static java.util.List<Reason>` | `BusinessQueryOLAPUtil.getInvalidLabels(DataSelection ds)` Get a list of invalid Labels for a data selection.
`static GroupedFilterDataProvider` | `GroupedFilterUtilities.newGroupedFilterDataProvider(DataSelection ds, BusinessGroup group)` Creates the

All Libraries | This Library | Package | Class | Use | Tree | Deprecated | Index | Grand Index | Help
|  | Query |
PREV NEXT | FRAMES NO FRAMES

Copyright © 2009 SAS Institute Inc. All Rights Reserved.