com.healthmarketscience.jackcess.impl.query
Class CrossTabQueryImpl

java.lang.Object
  extended by com.healthmarketscience.jackcess.impl.query.QueryImpl
      extended by com.healthmarketscience.jackcess.impl.query.BaseSelectQueryImpl
          extended by com.healthmarketscience.jackcess.impl.query.CrossTabQueryImpl
All Implemented Interfaces:
BaseSelectQuery, CrossTabQuery, Query

public class CrossTabQueryImpl
extends BaseSelectQueryImpl
implements CrossTabQuery

Concrete Query subclass which represents a crosstab/pivot query, e.g.: TRANSFORM <expr> SELECT <query> PIVOT <expr>

Author:
James Ahlborn

Nested Class Summary
 
Nested classes/interfaces inherited from class com.healthmarketscience.jackcess.impl.query.QueryImpl
QueryImpl.Row
 
Nested classes/interfaces inherited from interface com.healthmarketscience.jackcess.query.Query
Query.Type
 
Constructor Summary
CrossTabQueryImpl(String name, List<QueryImpl.Row> rows, int objectId, int objectFlag)
           
 
Method Summary
 String getPivotExpression()
           
 String getTransformExpression()
           
 
Methods inherited from class com.healthmarketscience.jackcess.impl.query.BaseSelectQueryImpl
getFromRemoteDbPath, getFromRemoteDbType, getFromTables, getGroupings, getHavingExpression, getOrderings, getSelectColumns, getSelectType, getWhereExpression
 
Methods inherited from class com.healthmarketscience.jackcess.impl.query.QueryImpl
create, getName, getObjectFlag, getObjectId, getOwnerAccessType, getParameters, getRows, getType, getTypeRow, isHidden, toSQLString, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.healthmarketscience.jackcess.query.BaseSelectQuery
getFromRemoteDbPath, getFromRemoteDbType, getFromTables, getGroupings, getHavingExpression, getOrderings, getSelectColumns, getSelectType, getWhereExpression
 
Methods inherited from interface com.healthmarketscience.jackcess.query.Query
getName, getObjectFlag, getObjectId, getOwnerAccessType, getParameters, getType, isHidden, toSQLString
 

Constructor Detail

CrossTabQueryImpl

public CrossTabQueryImpl(String name,
                         List<QueryImpl.Row> rows,
                         int objectId,
                         int objectFlag)
Method Detail

getTransformExpression

public String getTransformExpression()
Specified by:
getTransformExpression in interface CrossTabQuery

getPivotExpression

public String getPivotExpression()
Specified by:
getPivotExpression in interface CrossTabQuery


Copyright © 2005–2017 Health Market Science. All rights reserved.