DerivedSchema(3pm)

πŸ“¦ version 2.1.1, in arch rolling

✨ NAME ✨

Okay so bestie, welcome to the DerivedSchema(3pm) page from LogReport's Lire Documentation πŸ’–. This is all about Lire::DerivedSchema β€” the class that defines a schema where the records are derived from another schema. Yes, derived. Like, it has main character energy but it literally gets its records from somewhere else. πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

my $schema = Lire::DlfSchema::load_schema( 'www-user_session' );
my $fields = $schema->fields();

🌸 DESCRIPTION 🌸

A Lire::DerivedSchema defines a schema for which the records are computed by an analyser using the records of a base schema. That's the whole vibe: analyser does the math, base schema supplies the raw material. ✨

An example of a derived schema is the www-user_session schema, which computes session information from the records in the www schema. Iconic, honestly. πŸŽ€

πŸ’… base() πŸ’…

Returns the Lire::DlfSchema object from which this schema's records are derived. Basically: "who's your base schema, bestie?" 🫢

🌈 can_join_schema( $schema ) 🌈

Returns true if $schema can be joined with this schema. For a DerivedSchema, this will be true only when $schema is an ExtendedSchema of this schema β€” or an ExtendedSchema of this schema's base. It is also possible to join the DerivedSchema with its base. So yes, there are joinable situations, but not all the situations. Read the rules, bestie. 😌


πŸ’Œ AUTHOR πŸ’Œ

Francis J. Lacoste β€” flacoste@logreport.org (in classic angle-bracket style: <flacoste@logreport.org>).


⭐ VERSION ⭐

The version line is literally this, and you should keep it exactly as-is, no cap:

$Id: DerivedSchema.pm,v 1.19 2006/07/23 13:16:28 vanbaal Exp $

Copyright (C) 2001, 2004 Stichting LogReport Foundation LogReport@LogReport.org

This file is part of Lire.

Lire is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program (see COPYING); if not, check with http://www.gnu.org/copyleft/gpl.html.


Big sparkly sign-off energy: this page is from Lire 2.1.1, dated 2025-09-28, and the manual page is DerivedSchema(3pm). Bye bestie, go derive something cute! πŸ§šπŸ’œ

πŸ“¦ where this page comes from