Package org.gridgain.tpcds.qgen
Class SlowlyChangingDimensionUtils
java.lang.Object
org.gridgain.tpcds.qgen.SlowlyChangingDimensionUtils
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Method Summary
Modifier and TypeMethodDescriptioncomputeScdKey(Table table, long rowNumber) static <T> TgetValueForSlowlyChangingDimension(int fieldChangeFlag, boolean isNewKey, T oldValue, T newValue) static longmatchSurrogateKey(long unique, long julianDate, Table table, Scaling scaling) static booleanshouldChangeDimension(int flags, boolean isNewKey)
-
Method Details
-
computeScdKey
public static SlowlyChangingDimensionUtils.SlowlyChangingDimensionKey computeScdKey(Table table, long rowNumber) -
getValueForSlowlyChangingDimension
public static <T> T getValueForSlowlyChangingDimension(int fieldChangeFlag, boolean isNewKey, T oldValue, T newValue) -
shouldChangeDimension
public static boolean shouldChangeDimension(int flags, boolean isNewKey) -
matchSurrogateKey
-