line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
18
|
|
|
18
|
|
743
|
use strict; |
|
18
|
|
|
|
|
28
|
|
|
18
|
|
|
|
|
3046
|
|
2
|
18
|
|
|
18
|
|
96
|
use warnings; |
|
18
|
|
|
|
|
29
|
|
|
18
|
|
|
|
|
784
|
|
3
|
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
package UR::DataSource::RDBMS::BitmapIndex; |
5
|
|
|
|
|
|
|
|
6
|
18
|
|
|
18
|
|
70
|
use UR; |
|
18
|
|
|
|
|
26
|
|
|
18
|
|
|
|
|
99
|
|
7
|
|
|
|
|
|
|
our $VERSION = "0.46"; # UR $VERSION; |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
UR::Object::Type->define( |
10
|
|
|
|
|
|
|
class_name => 'UR::DataSource::RDBMS::BitmapIndex', |
11
|
|
|
|
|
|
|
is => ['UR::DataSource::RDBMS::Entity'], |
12
|
|
|
|
|
|
|
dsmap => 'dd_bitmap_index', |
13
|
|
|
|
|
|
|
er_role => '', |
14
|
|
|
|
|
|
|
id_properties => [qw/data_source table_name bitmap_index_name/], |
15
|
|
|
|
|
|
|
properties => [ |
16
|
|
|
|
|
|
|
bitmap_index_name => { type => 'varchar', len => undef, sql => 'bitmap_index_name' }, |
17
|
|
|
|
|
|
|
data_source => { type => 'varchar', len => undef, sql => 'data_source' }, |
18
|
|
|
|
|
|
|
data_source_obj => { type => 'UR::DataSource', id_by => 'data_source'}, |
19
|
|
|
|
|
|
|
namespace => { calculate_from => [ 'data_source'], |
20
|
|
|
|
|
|
|
calculate => q( (split(/::/,$data_source))[0] ) }, |
21
|
|
|
|
|
|
|
owner => { type => 'varchar', len => undef, is_optional => 1, sql => 'owner' }, |
22
|
|
|
|
|
|
|
table_name => { type => 'varchar', len => undef, sql => 'table_name' }, |
23
|
|
|
|
|
|
|
], |
24
|
|
|
|
|
|
|
data_source => 'UR::DataSource::Meta', |
25
|
|
|
|
|
|
|
); |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
1; |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
=pod |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
=head1 NAME |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
UR::DataSource::RDBMS::BitmapIndex - metadata about a data source's bitmap indexes |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
=head1 DESCRIPTION |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
This class represents instances of bitmap indexes in a data source. They are |
38
|
|
|
|
|
|
|
maintained by 'ur update classes' and stored in the namespace's MetaDB. |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
The existence of bitmap indexes in a datasource affects SQL generation during |
41
|
|
|
|
|
|
|
a Context commit. Oracle's implementation requires a table covered by a |
42
|
|
|
|
|
|
|
bitmap index to be locked while it is being updated. |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
=cut |