« blib/lib/Paws/Firehose/OutputFormatConfiguration.pm
↑ Summary
blib/lib/Paws/Firehose/ProcessingConfiguration.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::Firehose::ParquetSerDe; | ||
| 3 | use Moose; | ||
| 4 | has BlockSizeBytes => (is => 'ro', isa => 'Int'); | ||
| 5 | has Compression => (is => 'ro', isa => 'Str'); | ||
| 6 | has EnableDictionaryCompression => (is => 'ro', isa => 'Bool'); | ||
| 7 | has MaxPaddingBytes => (is => 'ro', isa => 'Int'); | ||
| 8 | has PageSizeBytes => (is => 'ro', isa => 'Int'); | ||
| 9 | has WriterVersion => (is => 'ro', isa => 'Str'); | ||
| 10 | |||
| 11 | 1; | ||
| 12 | |||
| 13 | ### main pod documentation begin ### | ||
| 14 | |||
| 15 | =head1 NAME | ||
| 16 | |||
| 17 | Paws::Firehose::ParquetSerDe | ||
| 18 | |||
| 19 | =head1 USAGE | ||
| 20 | |||
| 21 | This class represents one of two things: | ||
| 22 | |||
| 23 | =head3 Arguments in a call to a service | ||
| 24 | |||
| 25 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 26 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 27 | |||
| 28 | As an example, if Att1 is expected to be a Paws::Firehose::ParquetSerDe object: | ||
| 29 | |||
| 30 | $service_obj->Method(Att1 => { BlockSizeBytes => $value, ..., WriterVersion => $value }); | ||
| 31 | |||
| 32 | =head3 Results returned from an API call | ||
| 33 | |||
| 34 | Use accessors for each attribute. If Att1 is expected to be an Paws::Firehose::ParquetSerDe object: | ||
| 35 | |||
| 36 | $result = $service_obj->Method(...); | ||
| 37 | $result->Att1->BlockSizeBytes | ||
| 38 | |||
| 39 | =head1 DESCRIPTION | ||
| 40 | |||
| 41 | A serializer to use for converting data to the Parquet format before | ||
| 42 | storing it in Amazon S3. For more information, see Apache Parquet | ||
| 43 | (https://parquet.apache.org/documentation/latest/). | ||
| 44 | |||
| 45 | =head1 ATTRIBUTES | ||
| 46 | |||
| 47 | |||
| 48 | =head2 BlockSizeBytes => Int | ||
| 49 | |||
| 50 | The Hadoop Distributed File System (HDFS) block size. This is useful if | ||
| 51 | you intend to copy the data from Amazon S3 to HDFS before querying. The | ||
| 52 | default is 256 MiB and the minimum is 64 MiB. Kinesis Data Firehose | ||
| 53 | uses this value for padding calculations. | ||
| 54 | |||
| 55 | |||
| 56 | =head2 Compression => Str | ||
| 57 | |||
| 58 | The compression code to use over data blocks. The possible values are | ||
| 59 | C<UNCOMPRESSED>, C<SNAPPY>, and C<GZIP>, with the default being | ||
| 60 | C<SNAPPY>. Use C<SNAPPY> for higher decompression speed. Use C<GZIP> if | ||
| 61 | the compression ratio is more important than speed. | ||
| 62 | |||
| 63 | |||
| 64 | =head2 EnableDictionaryCompression => Bool | ||
| 65 | |||
| 66 | Indicates whether to enable dictionary compression. | ||
| 67 | |||
| 68 | |||
| 69 | =head2 MaxPaddingBytes => Int | ||
| 70 | |||
| 71 | The maximum amount of padding to apply. This is useful if you intend to | ||
| 72 | copy the data from Amazon S3 to HDFS before querying. The default is 0. | ||
| 73 | |||
| 74 | |||
| 75 | =head2 PageSizeBytes => Int | ||
| 76 | |||
| 77 | The Parquet page size. Column chunks are divided into pages. A page is | ||
| 78 | conceptually an indivisible unit (in terms of compression and | ||
| 79 | encoding). The minimum value is 64 KiB and the default is 1 MiB. | ||
| 80 | |||
| 81 | |||
| 82 | =head2 WriterVersion => Str | ||
| 83 | |||
| 84 | Indicates the version of row format to output. The possible values are | ||
| 85 | C<V1> and C<V2>. The default is C<V1>. | ||
| 86 | |||
| 87 | |||
| 88 | |||
| 89 | =head1 SEE ALSO | ||
| 90 | |||
| 91 | This class forms part of L<Paws>, describing an object used in L<Paws::Firehose> | ||
| 92 | |||
| 93 | =head1 BUGS and CONTRIBUTIONS | ||
| 94 | |||
| 95 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 96 | |||
| 97 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 98 | |||
| 99 | =cut | ||
| 100 |