DOKK / manpages / debian 10 / librose-db-object-perl / Rose::DB::Object::Metadata::Column::BigInt.3pm.en
Rose::DB::Object::Metadata::Column::BigInt(3pm) User Contributed Perl Documentation Rose::DB::Object::Metadata::Column::BigInt(3pm)

Rose::DB::Object::Metadata::Column::BigInt - Big integer column metadata.

  use Rose::DB::Object::Metadata::Column::BigInt;
  $col = Rose::DB::Object::Metadata::Column::BigInt->new(...);
  $col->make_methods(...);
  ...

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.

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.

Returns "bigint".

John C. Siracusa (siracusa@gmail.com)

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.

2022-08-26 perl v5.28.1