MCPcopy Create free account
hub / github.com/TileDB-Inc/TileDB / get_range

Method get_range

tiledb/sm/subarray/subarray.cc:946–959  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

944}
945
946void Subarray::get_range(
947 uint32_t dim_idx, uint64_t range_idx, const Range** range) const {
948 auto dim_num = array_->array_schema_latest().dim_num();
949 if (dim_idx >= dim_num) {
950 throw SubarrayException("Cannot get range; Invalid dimension index");
951 }
952
953 auto range_num = range_subset_[dim_idx].num_ranges();
954 if (range_idx >= range_num) {
955 throw SubarrayException("Cannot get range; Invalid range index");
956 }
957
958 *range = &range_subset_[dim_idx][range_idx];
959}
960
961void Subarray::get_range(
962 uint32_t dim_idx,

Callers 15

coveredMethod · 0.45
includesMethod · 0.45
expand_to_tiles_auxFunction · 0.45
ndrectangle.ccFile · 0.45
processMethod · 0.45
init_rangesMethod · 0.45
compute_range_uint64Method · 0.45

Calls 10

SubarrayExceptionClass · 0.85
array_schema_latestMethod · 0.80
num_rangesMethod · 0.80
start_strMethod · 0.80
end_strMethod · 0.80
start_fixedMethod · 0.80
end_fixedMethod · 0.80
dim_numMethod · 0.45
var_sizeMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected