com.sas.iquery.metadata.business
Interface ExportUploadMetadata

All Superinterfaces:
ExportGeneralMetadata

public interface ExportUploadMetadata
extends ExportGeneralMetadata


Method Summary
 java.lang.String getID()
          Returns the model ID of the underlying Map or DataSelection
 java.util.List<ExportColumn> getPreSummarizedColumns()
          Returns the exportColumns that are summarized if isPreSummarizedData is true.
 java.util.List<ExportColumn> getPreSummarizedGroupByColumns()
          Returns the exportColumns that group the summarized columns if isPreSummarizedData is true.
 java.util.List<ExportDataSource> getStarDimDataSources()
          Returns the export data sources at the spokes of the 'star schema' if isStarSchema() is true, otherwise returns null.
 ExportDataSource getStarFactDataSource()
          Returns the export data source at the center of the 'star schema' if isStarSchema() is true, otherwise returns null.
 DataSelection getUnderlyingObject()
          Returns the underlying object (DataSelection).
 ExportColumn getUploadColumn(DataItem underlyingDataItem)
          Returns an export column for the underlytingDataItem specified, if this data item was not uploaded this call will fail with a metadata exception.
 java.util.List<ExportColumnGroup> getUploadColumnGroups()
          Return the Column groups used if any.
 java.util.List<ExportColumn> getUploadColumnsUsed()
          Returns the all of the exportColumns in the upload table.
 java.util.Map<ExportDataSource,java.util.Set<com.sas.iquery.metadata.business.QualifiedColumn>> getUploadColumnsUsedByHierarchies()
          Returns a mapping indexed by ExportDataSource of the underlying QualifiedColumns of the underlying DataSourceTables that are being used to build the Hierarchy/Dimensions information.
 java.util.List<ExportDataSource> getUploadDataSourcesUsed()
          Returns the DataSources associated with this Map or DataSelection
 java.util.List<ExportFilter> getUploadFiltersUsed()
          Only filters actually applied during the upload.
 java.util.List<ExportJoin> getUploadJoinsUsed()
          Return the Joins used if any.
 boolean isPreSummarizedData()
          Pre-summarized data (when true there will be multiple columns (SUM_,N_,MIN_,MAX_,NMISS_) for each original measure and only 1 row per possible grouping).
 boolean isStarSchema()
          Returns true if the uploaded tables for a 'star schema' configuration.
 
Methods inherited from interface com.sas.iquery.metadata.business.ExportGeneralMetadata
getDataSelection, getExportDataSource, getStructureOfData, getUniqueExportObject
 

Method Detail

getUnderlyingObject

DataSelection getUnderlyingObject()
Returns the underlying object (DataSelection).

Specified by:
getUnderlyingObject in interface ExportGeneralMetadata

isPreSummarizedData

boolean isPreSummarizedData()
                            throws MetadataException
Pre-summarized data (when true there will be multiple columns (SUM_,N_,MIN_,MAX_,NMISS_) for each original measure and only 1 row per possible grouping). Derived stats such as MEAN can be calculated from those columns: MEAN(foo) = ( SUM_foo / N_foo ).

Throws:
MetadataException

getPreSummarizedGroupByColumns

java.util.List<ExportColumn> getPreSummarizedGroupByColumns()
                                                            throws MetadataException
Returns the exportColumns that group the summarized columns if isPreSummarizedData is true.

Throws:
MetadataException

getPreSummarizedColumns

java.util.List<ExportColumn> getPreSummarizedColumns()
                                                     throws MetadataException
Returns the exportColumns that are summarized if isPreSummarizedData is true.

Throws:
MetadataException

getID

java.lang.String getID()
Returns the model ID of the underlying Map or DataSelection

Specified by:
getID in interface ExportGeneralMetadata

getUploadColumn

ExportColumn getUploadColumn(DataItem underlyingDataItem)
                             throws MetadataException
Returns an export column for the underlytingDataItem specified, if this data item was not uploaded this call will fail with a metadata exception.

Throws:
MetadataException

getUploadColumnsUsed

java.util.List<ExportColumn> getUploadColumnsUsed()
                                                  throws MetadataException
Returns the all of the exportColumns in the upload table.

Throws:
MetadataException

getUploadFiltersUsed

java.util.List<ExportFilter> getUploadFiltersUsed()
                                                  throws MetadataException
Only filters actually applied during the upload. Pre-filters and post-filters will show up in effective filters , they cannot be turned off, they will always be there. RLP can be done via Proc info map or from IMS or SMC.If there are required filters in the infomap, they are always there.

Throws:
MetadataException

getUploadDataSourcesUsed

java.util.List<ExportDataSource> getUploadDataSourcesUsed()
                                                          throws MetadataException
Returns the DataSources associated with this Map or DataSelection

Throws:
MetadataException

getUploadJoinsUsed

java.util.List<ExportJoin> getUploadJoinsUsed()
                                              throws MetadataException
Return the Joins used if any.

Throws:
MetadataException

getUploadColumnGroups

java.util.List<ExportColumnGroup> getUploadColumnGroups()
                                                        throws MetadataException
Return the Column groups used if any.

Throws:
MetadataException

isStarSchema

boolean isStarSchema()
                     throws MetadataException
Returns true if the uploaded tables for a 'star schema' configuration.

Throws:
MetadataException

getStarFactDataSource

ExportDataSource getStarFactDataSource()
                                       throws MetadataException
Returns the export data source at the center of the 'star schema' if isStarSchema() is true, otherwise returns null.

Throws:
MetadataException

getStarDimDataSources

java.util.List<ExportDataSource> getStarDimDataSources()
                                                       throws MetadataException
Returns the export data sources at the spokes of the 'star schema' if isStarSchema() is true, otherwise returns null.

Throws:
MetadataException

getUploadColumnsUsedByHierarchies

java.util.Map<ExportDataSource,java.util.Set<com.sas.iquery.metadata.business.QualifiedColumn>> getUploadColumnsUsedByHierarchies()
                                                                                                                                  throws MetadataException
Returns a mapping indexed by ExportDataSource of the underlying QualifiedColumns of the underlying DataSourceTables that are being used to build the Hierarchy/Dimensions information.

Throws:
MetadataException



Copyright © 2009 SAS Institute Inc. All Rights Reserved.