Monitoring::Livestatus::Class::Base::Table
Base class for all table objects.
Base class for all table objects.
Reference to context object Monitoring::Livestatus::Class
Reference to filter object Monitoring::Livestatus::Class
Reference to filter object Monitoring::Livestatus::Class
Containts the table name.
Containts all the statments.
Containts all the options.
Arguments: $colA, $colB, ...
Return: $self
Set columns...
Returns a array or reference to array, depending on the calling context, of all header columns.
Example usage:
$table_obj->search( { name => 'localhost' } );
$table_obj->search( { name => [ 'localhost', 'gateway' ] } );
$table_obj->search( [ { name => 'localhost' }, { name => 'gateway' } ] );
Returns: $self
Returns a array or reference to array, depending on the calling context.
Example usage:
my $hashref_array = $table_obj->search( { } )->hashref_array;
print Dumper $hashref_array;
Returns a hash of hash references.
Example usage:
my $hashref_pk = $table_obj->search( { } )->hashref_pk();
print Dumper $hashref_pk;
See "AUTHOR" in Monitoring::Livestatus::Class and "CONTRIBUTORS" in Monitoring::Livestatus::Class.
Copyright 2009 Robert Bohne.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.