Package org.apache.hadoop.ozone.container.metadata
package org.apache.hadoop.ozone.container.metadata
This package contains classes that define the structure of the datanode's database,
and allow reading and writing to it.
-
ClassDescriptionThis class serves as an intermediate format for all possible database layouts for datanodes.Implementation of the
DatanodeStoreinterface that contains functionality common to all more derived datanode store implementations.Block Iterator for KeyValue Container.Block localId Iterator for KeyValue Container.AbstractRDBStore<DEF extends org.apache.hadoop.hdds.utils.db.DBDefinition>Abstract Interface defining the way to interact with any rocksDB in the datanode.ContainerCreateInfo is a class that holds information about the state and other information on creation This class is immutable.This class allows support of the schema version one RocksDB layout for datanode, where all data is kept in the same default table.This class defines the RocksDB structure for datanode following schema version 3, where the block data, metadata, and transactions which are to be deleted are put in their own separate column families and with containerID as key prefix.This class defines the RocksDB structure for datanodes following schema version 2, where the block data, metadata, and transactions which are to be deleted are put in their own separate column families.Interface for interacting with datanode databases.Constructs a datanode store in accordance with schema version 1, which places all data in the default column family.Constructs a datanode store in accordance with schema version 3, which uses three column families/tables: 1.Constructs a datanode store in accordance with schema version 2, which uses three column families/tables: 1.Constructs a datanode store in accordance with schema version 2, which uses three column families/tables: 1.DatanodeTable<KEY,VALUE> Wrapper class to represent a table in a datanode RocksDB instance.Interface for interacting with datanode databases.DeleteTransactionStore<TXN_KEY>Store interface for DeleteTransaction table.Codec for parsingContainerProtos.ChunkInfoListobjects from data that may have been written using schema version one.For RocksDB instances written using DB schema version 1, all data is stored in the default column family.Containers written using schema version 1 wrote unprefixed block ID keys as longs, and metadata or prefixed block IDs as Strings.Class for defining the schema for master volume in a datanode.Interface for interacting with database in the master volume of a datanode.Class for interacting with database in the master volume of a datanode.this will hold old version tables required during upgrade, and these are initialized based on version only.