Package com.twilio.kudu.sql.mutation
Class CubeMutationState
- java.lang.Object
-
- com.twilio.kudu.sql.mutation.MutationState
-
- com.twilio.kudu.sql.mutation.CubeMutationState
-
public class CubeMutationState extends MutationState
-
-
Field Summary
-
Fields inherited from class com.twilio.kudu.sql.mutation.MutationState
calciteModifiableKuduTable, kuduTable, session
-
-
Constructor Summary
Constructors Constructor Description CubeMutationState(CalciteModifiableKuduTable calciteModifiableKuduTable)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
Clears the cube mutation state (and thus frees up memory)void
flush()
protected void
updateMutationState(Map<Integer,Object> colIndexToValueMap)
Updates the aggregated values for this cube table that is used to generate an upsert when commit is called-
Methods inherited from class com.twilio.kudu.sql.mutation.MutationState
mutateRow, mutateTuples
-
-
-
-
Constructor Detail
-
CubeMutationState
public CubeMutationState(CalciteModifiableKuduTable calciteModifiableKuduTable)
-
-
Method Detail
-
updateMutationState
protected void updateMutationState(Map<Integer,Object> colIndexToValueMap)
Updates the aggregated values for this cube table that is used to generate an upsert when commit is called- Overrides:
updateMutationState
in classMutationState
- Parameters:
colIndexToValueMap
- Kudu index to new value mapping
-
flush
public void flush()
- Overrides:
flush
in classMutationState
-
clear
public void clear()
Description copied from class:MutationState
Clears the cube mutation state (and thus frees up memory)- Overrides:
clear
in classMutationState
-
-