1Rose::DB::Object::MetadUastear::CCoonlturRmionbs:ue:t:Be:idDtBfP:ie:erOllbdj(De3oc)ctu:m:eMnettaatdiaotna::Column::Bitfield(3)
2
3
4
6 Rose::DB::Object::Metadata::Column::Bitfield - Bitfield column
7 metadata.
8
10 use Rose::DB::Object::Metadata::Column::Bitfield;
11
12 $col = Rose::DB::Object::Metadata::Column::Bitfield->new(...);
13 $col->make_methods(...);
14 ...
15
17 Objects of this class store and manipulate metadata for bitfield
18 columns in a database. Column metadata objects store information about
19 columns (data type, size, etc.) and are responsible for parsing,
20 formatting, and creating object methods that manipulate column values.
21
22 This class inherits from Rose::DB::Object::Metadata::Column. Inherited
23 methods that are not overridden will not be documented a second time
24 here. See the Rose::DB::Object::Metadata::Column documentation for
25 more information.
26
27 Important note: if you are using MySQL 5.0.3 or later, you must allow
28 inline column values in any Rose::DB::Object-derived class that has one
29 or more bitfield columns. (That is, columns that use the "BIT" data
30 type.) This requirement may be relaxed in the future.
31
33 "get_set"
34 Rose::DB::Object::MakeMethods::Generic, bitfield, ...
35
36 "get"
37 Rose::DB::Object::MakeMethods::Generic, bitfield, ...
38
39 "get_set"
40 Rose::DB::Object::MakeMethods::Generic, bitfield, ...
41
42 See the Rose::DB::Object::Metadata::Column documentation for an
43 explanation of this method map.
44
46 bits [INT]
47 Get or set the number of bits in the column.
48
49 parse_value DB, VALUE
50 Convert VALUE to the equivalent "Bit::Vector" object. The return
51 value of the column object's bits() method is used to determine the
52 length of the bitfield in bits. DB is a Rose::DB object that is
53 used as part of the parsing process. Both arguments are required.
54
55 type
56 Returns "bitfield".
57
59 John C. Siracusa (siracusa@gmail.com)
60
62 Copyright (c) 2010 by John C. Siracusa. All rights reserved. This
63 program is free software; you can redistribute it and/or modify it
64 under the same terms as Perl itself.
65
66
67
68perl v5.36.0 Ros2e0:2:3D-B0:1:-O2b0ject::Metadata::Column::Bitfield(3)