DBIx::Class::Indexer - Base class for all indexers compatible with


DBIx-Class-Indexed documentation Contained in the DBIx-Class-Indexed distribution.

Index


Code Index:

NAME

Top

DBIx::Class::Indexer - Base class for all indexers compatible with DBIx::Class::Indexed.

SYNOPSIS

Top

    package MySchema::Foo;

    use base qw( DBIx::Class );

    __PACKAGE__->load_components( qw( Indexed Core ) );
    __PACKAGE__->set_indexer( 'WebService::Lucene', { server => 'http://localhost:8080/lucene/' } );

    


DESCRIPTION

Top

METHODS

Top

new( \%connection_info, $class )

Constructs a new instance of this indexer. Passes the index connection information and the table class driving the indexing.

insert( $object )

Handles the insert operation.

update( $object )

Handles the update operation.

delete( $object )

Handles the delete operation.

AUTHOR

Top

* Adam Paynter <adapay@cpan.org>
* Brian Cassidy <bricas@cpan.org>

COPYRIGHT AND LICENSE

Top


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;