Package tilda.parsing.parts.helpers
Class PivotHelper
- java.lang.Object
-
- tilda.parsing.parts.helpers.PivotHelper
-
public class PivotHelper extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description PivotHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
genPivotColumns(ParserSession PS, View V, Object O)
static java.lang.String
getPivotedViewColumnTypeStr(ViewColumn VC, ViewPivotAggregate A, ViewPivotValue VPV)
static ViewColumn
getPivottedColumn(View V, java.lang.String Name)
static ViewColumn
getPivotViewColumn(ParserSession PS, View V, ViewPivotAggregate A)
static ViewPivot
getPivotWithColumn(View V, java.lang.String ColName)
static ViewPivot
getPivotWithValue(View V, java.lang.String val)
static ViewColumn
handlePivotColumn(ParserSession PS, ViewColumn VC, ViewPivot P, ViewPivotAggregate A, ViewPivotValue VPV, Object O)
static void
HandlePivots(ParserSession PS, View V, java.util.Set<java.lang.String> ColumnNames)
static boolean
isAllowedSourceAggregate(ViewColumn VC)
static boolean
isPivotAggregate(ViewColumn VC)
static boolean
isPivotColumn(ViewColumn VC)
-
-
-
Method Detail
-
getPivotViewColumn
public static ViewColumn getPivotViewColumn(ParserSession PS, View V, ViewPivotAggregate A) throws java.lang.Error
- Throws:
java.lang.Error
-
handlePivotColumn
public static ViewColumn handlePivotColumn(ParserSession PS, ViewColumn VC, ViewPivot P, ViewPivotAggregate A, ViewPivotValue VPV, Object O)
-
getPivotedViewColumnTypeStr
public static java.lang.String getPivotedViewColumnTypeStr(ViewColumn VC, ViewPivotAggregate A, ViewPivotValue VPV)
-
genPivotColumns
public static void genPivotColumns(ParserSession PS, View V, Object O)
-
getPivottedColumn
public static ViewColumn getPivottedColumn(View V, java.lang.String Name)
-
isPivotAggregate
public static boolean isPivotAggregate(ViewColumn VC)
-
isPivotColumn
public static boolean isPivotColumn(ViewColumn VC)
-
isAllowedSourceAggregate
public static boolean isAllowedSourceAggregate(ViewColumn VC)
-
HandlePivots
public static void HandlePivots(ParserSession PS, View V, java.util.Set<java.lang.String> ColumnNames)
-
-