Struct hbase_thrift::hbase::ColumnDescriptor [−][src]
pub struct ColumnDescriptor {
pub name: Option<Text>,
pub max_versions: Option<i32>,
pub compression: Option<String>,
pub in_memory: Option<bool>,
pub bloom_filter_type: Option<String>,
pub bloom_filter_vector_size: Option<i32>,
pub bloom_filter_nb_hashes: Option<i32>,
pub block_cache_enabled: Option<bool>,
pub time_to_live: Option<i32>,
}
Expand description
An HColumnDescriptor contains information about a column family such as the number of versions, compression settings, etc. It is used as input when creating a table or adding a column.
Fields
name: Option<Text>
max_versions: Option<i32>
compression: Option<String>
in_memory: Option<bool>
bloom_filter_type: Option<String>
bloom_filter_vector_size: Option<i32>
bloom_filter_nb_hashes: Option<i32>
block_cache_enabled: Option<bool>
time_to_live: Option<i32>
Implementations
pub fn new<F1, F2, F3, F4, F5, F6, F7, F8, F9>(
name: F1,
max_versions: F2,
compression: F3,
in_memory: F4,
bloom_filter_type: F5,
bloom_filter_vector_size: F6,
bloom_filter_nb_hashes: F7,
block_cache_enabled: F8,
time_to_live: F9
) -> ColumnDescriptor where
F1: Into<Option<Text>>,
F2: Into<Option<i32>>,
F3: Into<Option<String>>,
F4: Into<Option<bool>>,
F5: Into<Option<String>>,
F6: Into<Option<i32>>,
F7: Into<Option<i32>>,
F8: Into<Option<bool>>,
F9: Into<Option<i32>>,
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for ColumnDescriptor
impl Send for ColumnDescriptor
impl Sync for ColumnDescriptor
impl Unpin for ColumnDescriptor
impl UnwindSafe for ColumnDescriptor
Blanket Implementations
Mutably borrows from an owned value. Read more