NAME¶
Rose::DB::Object::Metadata::Column::BigInt - Big integer column metadata.
SYNOPSIS¶
use Rose::DB::Object::Metadata::Column::BigInt;
$col = Rose::DB::Object::Metadata::Column::BigInt->new(...);
$col->make_methods(...);
...
DESCRIPTION¶
Objects of this class store and manipulate metadata for big integer (sometimes
called "int8") columns in a database. Values are stored internally
and returned as Math::BigInt objects. If the Math::BigInt::GMP module is
installed, it will be used transparently for better performance.
This class inherits from Rose::DB::Object::Metadata::Column::Integer. Inherited
methods that are not overridden will not be documented a second time here. See
the Rose::DB::Object::Metadata::Column::Integer documentation for more
information.
METHOD MAP¶
If perl is compiled to use 64-bit integers, then the method map is:
- "get_set"
- Rose::DB::Object::MakeMethods::Generic, scalar, "interface =>
'get_set', ..."
- "get"
- Rose::DB::Object::MakeMethods::Generic, scalar, "interface =>
'get', ..."
- "get_set"
- Rose::DB::Object::MakeMethods::Generic, scalar, "interface =>
'set', ..."
Otherwise, the method map is:
- "get_set"
- Rose::DB::Object::MakeMethods::Generic, scalar, "interface =>
'get_set', ..."
- "get"
- Rose::DB::Object::MakeMethods::Generic, scalar, "interface =>
'get', ..."
- "get_set"
- Rose::DB::Object::MakeMethods::Generic, scalar, "interface =>
'set', ..."
See the Rose::DB::Object::Metadata::Column documentation for an explanation of
this method map.
OBJECT METHODS¶
- type
- Returns "bigint".
AUTHOR¶
John C. Siracusa (siracusa@gmail.com)
LICENSE¶
Copyright (c) 2010 by John C. Siracusa. All rights reserved. This program is
free software; you can redistribute it and/or modify it under the same terms
as Perl itself.