org.apache.lens.cube.parse
Class StorageUtil

java.lang.Object
  extended by org.apache.lens.cube.parse.StorageUtil

public final class StorageUtil
extends Object


Method Summary
static String getNotLatestClauseForDimensions(String alias, Set<String> timedDimensions, String partCol)
           
static String getWhereClause(org.apache.lens.cube.parse.CandidateDim dim, String alias)
           
static String getWhereClause(String clause, String alias)
           
static String getWherePartClause(String timeDimName, String tableName, List<String> parts)
           
static String joinWithAnd(String... clauses)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getWherePartClause

public static String getWherePartClause(String timeDimName,
                                        String tableName,
                                        List<String> parts)

getNotLatestClauseForDimensions

public static String getNotLatestClauseForDimensions(String alias,
                                                     Set<String> timedDimensions,
                                                     String partCol)

joinWithAnd

public static String joinWithAnd(String... clauses)

getWhereClause

public static String getWhereClause(String clause,
                                    String alias)

getWhereClause

public static String getWhereClause(org.apache.lens.cube.parse.CandidateDim dim,
                                    String alias)


Copyright © 2014–2015 Apache Software Foundation. All rights reserved.