1Rose::DB::Object::MetadUastear::CCoonlturRmionbs:ue:t:Be:idDtBfP:ie:erOllbdj(De3oc)ctu:m:eMnettaatdiaotna::Column::Bitfield(3)
2
3
4

NAME

6       Rose::DB::Object::Metadata::Column::Bitfield - Bitfield column
7       metadata.
8

SYNOPSIS

10         use Rose::DB::Object::Metadata::Column::Bitfield;
11
12         $col = Rose::DB::Object::Metadata::Column::Bitfield->new(...);
13         $col->make_methods(...);
14         ...
15

DESCRIPTION

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

METHOD MAP

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

OBJECT METHODS

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
52           the length of the bitfield in bits.  DB is a Rose::DB object that
53           is used as part of the parsing process.  Both arguments are
54           required.
55
56       type
57           Returns "bitfield".
58

AUTHOR

60       John C. Siracusa (siracusa@gmail.com)
61

LICENSE

63       Copyright (c) 2010 by John C. Siracusa.  All rights reserved.  This
64       program is free software; you can redistribute it and/or modify it
65       under the same terms as Perl itself.
66
67
68
69perl v5.32.0                   Ros2e0:2:0D-B0:7:-O2b8ject::Metadata::Column::Bitfield(3)
Impressum