Enum WALRecord.RecordType

    • Enum Constant Detail

      • CHECKPOINT_RECORD

        public static final WALRecord.RecordType CHECKPOINT_RECORD
        Checkpoint (begin) record
      • DATA_PAGE_INSERT_FRAGMENT_RECORD

        public static final WALRecord.RecordType DATA_PAGE_INSERT_FRAGMENT_RECORD
      • DATA_PAGE_SET_FREE_LIST_PAGE

        public static final WALRecord.RecordType DATA_PAGE_SET_FREE_LIST_PAGE
      • PARTITION_META_PAGE_UPDATE_COUNTERS

        public static final WALRecord.RecordType PARTITION_META_PAGE_UPDATE_COUNTERS
      • MEMORY_RECOVERY

        public static final WALRecord.RecordType MEMORY_RECOVERY
        Memory recovering start marker
      • META_PAGE_UPDATE_LAST_SUCCESSFUL_SNAPSHOT_ID

        public static final WALRecord.RecordType META_PAGE_UPDATE_LAST_SUCCESSFUL_SNAPSHOT_ID
        Meta page update last successful snapshot id.
      • META_PAGE_UPDATE_LAST_SUCCESSFUL_FULL_SNAPSHOT_ID

        public static final WALRecord.RecordType META_PAGE_UPDATE_LAST_SUCCESSFUL_FULL_SNAPSHOT_ID
        Meta page update last successful full snapshot id.
      • META_PAGE_UPDATE_NEXT_SNAPSHOT_ID

        public static final WALRecord.RecordType META_PAGE_UPDATE_NEXT_SNAPSHOT_ID
        Meta page update next snapshot id.
      • META_PAGE_UPDATE_LAST_ALLOCATED_INDEX

        public static final WALRecord.RecordType META_PAGE_UPDATE_LAST_ALLOCATED_INDEX
        Meta page update last allocated index.
      • PART_META_UPDATE_STATE

        public static final WALRecord.RecordType PART_META_UPDATE_STATE
        Partition meta update state.
      • PAGE_LIST_META_RESET_COUNT_RECORD

        public static final WALRecord.RecordType PAGE_LIST_META_RESET_COUNT_RECORD
        Page list meta reset count record.
      • SWITCH_SEGMENT_RECORD

        public static final WALRecord.RecordType SWITCH_SEGMENT_RECORD
        Switch segment record. Marker record for indicate end of segment. If the next one record is written down exactly at the end of segment, SWITCH_SEGMENT_RECORD will not be written, if not then it means that we have more that one byte in the end,then we write SWITCH_SEGMENT_RECORD as marker end of segment. No need write CRC or WAL pointer for this record. It is byte marker record.
      • BTREE_META_PAGE_INIT_ROOT2

        public static final WALRecord.RecordType BTREE_META_PAGE_INIT_ROOT2
        init
      • METASTORE_DATA_RECORD

        public static final WALRecord.RecordType METASTORE_DATA_RECORD
        Metastore data record.
      • ROTATED_ID_PART_RECORD

        public static final WALRecord.RecordType ROTATED_ID_PART_RECORD
        Rotated id part record.
      • MVCC_DATA_PAGE_TX_STATE_HINT_UPDATED_RECORD

        @Deprecated
        public static final WALRecord.RecordType MVCC_DATA_PAGE_TX_STATE_HINT_UPDATED_RECORD
        Deprecated.
      • MVCC_DATA_PAGE_NEW_TX_STATE_HINT_UPDATED_RECORD

        @Deprecated
        public static final WALRecord.RecordType MVCC_DATA_PAGE_NEW_TX_STATE_HINT_UPDATED_RECORD
        Deprecated.
      • ROLLBACK_TX_RECORD

        public static final WALRecord.RecordType ROLLBACK_TX_RECORD
        Rollback tx record.
      • PARTITION_META_PAGE_UPDATE_COUNTERS_V2

        public static final WALRecord.RecordType PARTITION_META_PAGE_UPDATE_COUNTERS_V2
        Partition meta page containing update counter gaps.
      • BTREE_META_PAGE_INIT_ROOT_V3

        public static final WALRecord.RecordType BTREE_META_PAGE_INIT_ROOT_V3
        Init root meta page (with flags and created version)
      • MASTER_KEY_CHANGE_RECORD

        public static final WALRecord.RecordType MASTER_KEY_CHANGE_RECORD
        Master key change record.
      • TRACKING_PAGE_REPAIR_DELTA

        public static final WALRecord.RecordType TRACKING_PAGE_REPAIR_DELTA
        Record that indicates that "corrupted" flag should be removed from tracking page.
      • OUT_OF_ORDER_UPDATE

        public static final WALRecord.RecordType OUT_OF_ORDER_UPDATE
        Out-of-order update which is used by atomic caches on backup nodes. (Placeholder)
      • ENCRYPTED_RECORD_V2

        public static final WALRecord.RecordType ENCRYPTED_RECORD_V2
        Encrypted WAL-record.
      • MASTER_KEY_CHANGE_RECORD_V2

        public static final WALRecord.RecordType MASTER_KEY_CHANGE_RECORD_V2
        Master key change record containing multiple keys for single cache group.
      • REENCRYPTION_START_RECORD

        public static final WALRecord.RecordType REENCRYPTION_START_RECORD
        Logical record to restart reencryption with the latest encryption key.
      • PARTITION_META_PAGE_DELTA_RECORD_V3

        public static final WALRecord.RecordType PARTITION_META_PAGE_DELTA_RECORD_V3
        Partition meta page delta record includes encryption status data.
      • INDEX_META_PAGE_DELTA_RECORD

        public static final WALRecord.RecordType INDEX_META_PAGE_DELTA_RECORD
        Index meta page delta record includes encryption status data.
      • PARTITION_META_PAGE_DELTA_RECORD_V4

        public static final WALRecord.RecordType PARTITION_META_PAGE_DELTA_RECORD_V4
        IGNITE-11704 placeholder: Partition meta page delta record includes tombstones count.
      • ENCRYPTED_DATA_RECORD_V3

        public static final WALRecord.RecordType ENCRYPTED_DATA_RECORD_V3
        Ecnrypted data record.
      • INDEX_ROOT_PAGE_RENAME_RECORD

        public static final WALRecord.RecordType INDEX_ROOT_PAGE_RENAME_RECORD
        Record for renaming the index root pages.
      • PARTITION_CLEARING_START_RECORD

        public static final WALRecord.RecordType PARTITION_CLEARING_START_RECORD
        Partition clearing start.
      • ENCRYPTED_OUT_OF_ORDER_UPDATE

        public static final WALRecord.RecordType ENCRYPTED_OUT_OF_ORDER_UPDATE
        Ecnrypted out-of-order update which is used by atomic caches on backup nodes. (Placeholder)
      • CLUSTER_SNAPSHOT

        public static final WALRecord.RecordType CLUSTER_SNAPSHOT
        ClusterSnapshot start.
      • INCREMENTAL_SNAPSHOT_START_RECORD

        public static final WALRecord.RecordType INCREMENTAL_SNAPSHOT_START_RECORD
        Incremental snapshot start record.
      • INCREMENTAL_SNAPSHOT_FINISH_RECORD

        public static final WALRecord.RecordType INCREMENTAL_SNAPSHOT_FINISH_RECORD
        Incremental snapshot finish record.
      • CDC_MANAGER_RECORD

        public static final WALRecord.RecordType CDC_MANAGER_RECORD
        CDC manager record.
      • CDC_MANAGER_STOP_RECORD

        public static final WALRecord.RecordType CDC_MANAGER_STOP_RECORD
        CDC manager record.
      • DATA_PAGE_FRAGMENTED_UPDATE_RECORD

        public static final WALRecord.RecordType DATA_PAGE_FRAGMENTED_UPDATE_RECORD
        Physical WAL record that represents a fragment of an entry update. (Placeholder)
      • RESERVED_IDX2

        public static final WALRecord.RecordType RESERVED_IDX2
        Reserved for further improvements.
    • Field Detail

      • STOP_ITERATION_RECORD_TYPE

        public static final int STOP_ITERATION_RECORD_TYPE
        Fake record type, causes stop iterating and indicates segment EOF Note: regular record type is incremented by 1 and minimal value written to file is also 1 For WALMode.FSYNC this value is at least came from padding
        See Also:
        Constant Field Values
    • Method Detail

      • values

        public static WALRecord.RecordType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (WALRecord.RecordType c : WALRecord.RecordType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static WALRecord.RecordType valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • index

        public int index()
        Returns:
        Index for serialization.