Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
src
client
model
metadata.hh
Go to the documentation of this file.
1
#pragma once
2
3
#include <string>
4
#include <vector>
5
#include <stdint.h>
6
7
#include "
block_metadata.hh
"
8
9
namespace
velox {
10
namespace
model {
11
12
class
metadata
{
13
public
:
14
metadata
() =
default
;
15
16
std::string
name
;
17
uint32_t
hash_key
= 0;
18
uint64_t
size
= 0;
19
unsigned
int
num_block
= 0;
20
unsigned
int
num_chunks
= 0;
21
unsigned
int
num_static_blocks
= 0;
22
unsigned
int
type
;
23
unsigned
int
replica
;
24
bool
has_block_data
=
true
;
25
26
std::vector<std::string>
blocks
;
27
std::vector<uint32_t>
hash_keys
;
28
std::vector<uint64_t>
block_size
;
29
std::vector<block_metadata>
block_data
;
30
};
31
32
}
33
}
velox::model::metadata::num_chunks
unsigned int num_chunks
Definition:
metadata.hh:20
velox::model::metadata
Definition:
metadata.hh:12
velox::model::metadata::num_block
unsigned int num_block
Definition:
metadata.hh:19
velox::model::metadata::has_block_data
bool has_block_data
Definition:
metadata.hh:24
velox::model::metadata::replica
unsigned int replica
Definition:
metadata.hh:23
velox::model::metadata::hash_keys
std::vector< uint32_t > hash_keys
Definition:
metadata.hh:27
velox::model::metadata::metadata
metadata()=default
velox::model::metadata::block_size
std::vector< uint64_t > block_size
Definition:
metadata.hh:28
velox::model::metadata::size
uint64_t size
Definition:
metadata.hh:18
velox::model::metadata::name
std::string name
Definition:
metadata.hh:16
velox::model::metadata::num_static_blocks
unsigned int num_static_blocks
Definition:
metadata.hh:21
velox::model::metadata::blocks
std::vector< std::string > blocks
Definition:
metadata.hh:26
velox::model::metadata::hash_key
uint32_t hash_key
Definition:
metadata.hh:17
velox::model::metadata::type
unsigned int type
Definition:
metadata.hh:22
velox::model::metadata::block_data
std::vector< block_metadata > block_data
Definition:
metadata.hh:29
block_metadata.hh
Generated on Wed Jan 30 2019 08:53:21 for VeloxDFS by
1.8.6