Package com.twilio.kudu.sql.mutation
Class CubeMutationState
java.lang.Object
com.twilio.kudu.sql.mutation.MutationState
com.twilio.kudu.sql.mutation.CubeMutationState
-
Field Summary
Fields inherited from class com.twilio.kudu.sql.mutation.MutationState
calciteModifiableKuduTable, kuduTable, session
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
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 calledMethods inherited from class com.twilio.kudu.sql.mutation.MutationState
mutateRow, mutateTuples
-
Constructor Details
-
CubeMutationState
-
-
Method Details
-
updateMutationState
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
-