| DBIx-Class-Indexed documentation | Contained in the DBIx-Class-Indexed distribution. |
DBIx::Class::Indexer - Base class for all indexers compatible with DBIx::Class::Indexed.
package MySchema::Foo;
use base qw( DBIx::Class );
__PACKAGE__->load_components( qw( Indexed Core ) );
__PACKAGE__->set_indexer( 'WebService::Lucene', { server => 'http://localhost:8080/lucene/' } );
Constructs a new instance of this indexer. Passes the index connection information and the table class driving the indexing.
Handles the insert operation.
Handles the update operation.
Handles the delete operation.
Copyright 2006 by Adam Paynter
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
| DBIx-Class-Indexed documentation | Contained in the DBIx-Class-Indexed distribution. |
package DBIx::Class::Indexer; use strict; use warnings;
sub new { die 'Need to implement new() subroutine'; }
sub insert { die 'Need to implement insert() subroutine'; }
sub update { die 'Need to implement update() subroutine'; }
sub delete { die 'Need to implement delete() subroutine'; }
1;