Class CubeMutationState

java.lang.Object
com.twilio.kudu.sql.mutation.MutationState
com.twilio.kudu.sql.mutation.CubeMutationState

public class CubeMutationState extends MutationState
  • Constructor Details

  • Method Details

    • 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 class MutationState
      Parameters:
      colIndexToValueMap - Kudu index to new value mapping
    • flush

      public void flush()
      Overrides:
      flush in class MutationState
    • clear

      public void clear()
      Description copied from class: MutationState
      Clears the cube mutation state (and thus frees up memory)
      Overrides:
      clear in class MutationState