com.sas.dataselectors.totals
Class TotalsSelectorAdapterFactory

com.sas.dataselectors.totals.TotalsSelectorAdapterFactory

public class TotalsSelectorAdapterFactory

This class is a factory of RelationalTotalsSelectorInterface and OLAPTotalsSelectorInterface instances.

Since:
3.1

Constructor Summary
TotalsSelectorAdapterFactory()
           
 
Method Summary
static OLAPTotalsSelectorInterface getOLAPAdapter(com.sas.iquery.metadata.business.BusinessQuery model)
          Returns an instance of OLAPTotalsSelectorInterface.
static RelationalTotalsSelectorInterface getRelationalAdapter(com.sas.iquery.metadata.business.BusinessQuery model)
          Returns an instance of RelationalTotalsSelectorInterface.
 

Constructor Detail

TotalsSelectorAdapterFactory

public TotalsSelectorAdapterFactory()
Method Detail

getRelationalAdapter

public static RelationalTotalsSelectorInterface getRelationalAdapter(com.sas.iquery.metadata.business.BusinessQuery model)
Returns an instance of RelationalTotalsSelectorInterface.

Parameters:
model - the data model.
Returns:
RelationalTotalsSelectorInterface an instance of RelationalTotalsSelectorInterface.

getOLAPAdapter

public static OLAPTotalsSelectorInterface getOLAPAdapter(com.sas.iquery.metadata.business.BusinessQuery model)
Returns an instance of OLAPTotalsSelectorInterface.

Parameters:
model - the data model.
Returns:
OLAPTotalsSelectorInterface an instance of OLAPTotalsSelectorInterface.



Copyright © 2009 SAS Institute Inc. All Rights Reserved.