NAME
Data::AnyXfer::Elastic::Types - Common Elasticsearch Moo Types
SYNOPSIS
use Data::AnyXfer::Elastic::Types qw/ IndexName IndexType IndexId IndexNameArray /;
...
has index_name => (
is => 'ro',
isa => IndexName,
);
DESCRIPTION
A collection of Moo types specific to Core::Elasticsearch.
The types are validated so that strings can only contain:
- lowercase a-z
- numbers
- full-stops
- dashes
- underscores
TYPES
- IndexName
-
Moo Type for Elasticsearch index name
- IndexType
-
Moo Type for Elasticsearch index type
- IndexId
-
Moo Type for Elasticsearch document name
- IndexNameArray
-
Moo Type for multiple Elasticsearch index names
COPYRIGHT
This software is copyright (c) 2019, Anthony Lucas.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.