KinoSearch::Plan::BlobType - Default behaviors for binary fields.


KinoSearch documentation  | view source Contained in the KinoSearch distribution.

Index


NAME

Top

KinoSearch::Plan::BlobType - Default behaviors for binary fields.

SYNOPSIS

Top

    my $string_type = KinoSearch::Plan::StringType->new;
    my $blob_type   = KinoSearch::Plan::BlobType->new( stored => 1 );
    my $schema      = KinoSearch::Plan::Schema->new;
    $schema->spec_field( name => 'id',   type => $string_type );
    $schema->spec_field( name => 'jpeg', type => $blob_type );







DESCRIPTION

Top

BlobType is an implementation of FieldType tuned for use with fields containing binary data, which cannot be indexed or searched -- only stored.

CONSTRUCTORS

Top

new( [labeled params] )

    my $blob_type = KinoSearch::Plan::BlobType->new(
        stored => 1,  # default: false
    );

INHERITANCE

Top

KinoSearch::Plan::BlobType isa KinoSearch::Plan::FieldType isa KinoSearch::Object::Obj.

COPYRIGHT AND LICENSE

Top


KinoSearch documentation  | view source Contained in the KinoSearch distribution.