public abstract class PostgresOlapCubeQuery<TSource extends DataSource> extends Object implements OlapCubeQuery<TSource>
OlapCubeQuery.OlapCubeQueryBuilder<TSource extends DataSource>| Modifier and Type | Field and Description |
|---|---|
protected Map<String,Function<String,String>> |
cubeDimensions |
protected Map<String,Function<String,String>> |
cubeFacts |
protected DataSource |
dataSource |
protected ServiceLocator |
locator |
protected Connection |
transactionConnection |
| Modifier | Constructor and Description |
|---|---|
protected |
PostgresOlapCubeQuery(ServiceLocator locator) |
| Modifier and Type | Method and Description |
|---|---|
List<Map<String,Object>> |
analyze(List<String> dimensions,
List<String> facts,
Collection<Map.Entry<String,Boolean>> order,
Specification<TSource> filter,
Integer limit,
Integer offset) |
protected Connection |
getConnection() |
Set<String> |
getDimensions() |
Set<String> |
getFacts() |
protected String |
getLambdaAlias(Specification<TSource> specification) |
protected abstract String |
getSource() |
protected void |
releaseConnection(Connection connection) |
protected Specification<TSource> |
rewriteSpecification(Specification<TSource> specification) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitanalyze, analyze, builderprotected final ServiceLocator locator
protected final Connection transactionConnection
protected final DataSource dataSource
protected PostgresOlapCubeQuery(ServiceLocator locator)
protected abstract String getSource()
public Set<String> getDimensions()
getDimensions in interface OlapCubeQuery<TSource extends DataSource>public Set<String> getFacts()
getFacts in interface OlapCubeQuery<TSource extends DataSource>protected String getLambdaAlias(Specification<TSource> specification)
protected Connection getConnection()
protected void releaseConnection(Connection connection) throws SQLException
SQLExceptionprotected Specification<TSource> rewriteSpecification(Specification<TSource> specification)
public List<Map<String,Object>> analyze(List<String> dimensions, List<String> facts, Collection<Map.Entry<String,Boolean>> order, Specification<TSource> filter, Integer limit, Integer offset)
analyze in interface OlapCubeQuery<TSource extends DataSource>Copyright © 2015. All rights reserved.