« blib/lib/Paws/Firehose/FailureDescription.pm
↑ Summary
blib/lib/Paws/Firehose/HttpEndpointBufferingHints.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::Firehose::HiveJsonSerDe; | ||
| 3 | use Moose; | ||
| 4 | has TimestampFormats => (is => 'ro', isa => 'ArrayRef[Str|Undef]'); | ||
| 5 | |||
| 6 | 1; | ||
| 7 | |||
| 8 | ### main pod documentation begin ### | ||
| 9 | |||
| 10 | =head1 NAME | ||
| 11 | |||
| 12 | Paws::Firehose::HiveJsonSerDe | ||
| 13 | |||
| 14 | =head1 USAGE | ||
| 15 | |||
| 16 | This class represents one of two things: | ||
| 17 | |||
| 18 | =head3 Arguments in a call to a service | ||
| 19 | |||
| 20 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 21 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 22 | |||
| 23 | As an example, if Att1 is expected to be a Paws::Firehose::HiveJsonSerDe object: | ||
| 24 | |||
| 25 | $service_obj->Method(Att1 => { TimestampFormats => $value, ..., TimestampFormats => $value }); | ||
| 26 | |||
| 27 | =head3 Results returned from an API call | ||
| 28 | |||
| 29 | Use accessors for each attribute. If Att1 is expected to be an Paws::Firehose::HiveJsonSerDe object: | ||
| 30 | |||
| 31 | $result = $service_obj->Method(...); | ||
| 32 | $result->Att1->TimestampFormats | ||
| 33 | |||
| 34 | =head1 DESCRIPTION | ||
| 35 | |||
| 36 | The native Hive / HCatalog JsonSerDe. Used by Kinesis Data Firehose for | ||
| 37 | deserializing data, which means converting it from the JSON format in | ||
| 38 | preparation for serializing it to the Parquet or ORC format. This is | ||
| 39 | one of two deserializers you can choose, depending on which one offers | ||
| 40 | the functionality you need. The other option is the OpenX SerDe. | ||
| 41 | |||
| 42 | =head1 ATTRIBUTES | ||
| 43 | |||
| 44 | |||
| 45 | =head2 TimestampFormats => ArrayRef[Str|Undef] | ||
| 46 | |||
| 47 | Indicates how you want Kinesis Data Firehose to parse the date and | ||
| 48 | timestamps that may be present in your input data JSON. To specify | ||
| 49 | these format strings, follow the pattern syntax of JodaTime's | ||
| 50 | DateTimeFormat format strings. For more information, see Class | ||
| 51 | DateTimeFormat | ||
| 52 | (https://www.joda.org/joda-time/apidocs/org/joda/time/format/DateTimeFormat.html). | ||
| 53 | You can also use the special value C<millis> to parse timestamps in | ||
| 54 | epoch milliseconds. If you don't specify a format, Kinesis Data | ||
| 55 | Firehose uses C<java.sql.Timestamp::valueOf> by default. | ||
| 56 | |||
| 57 | |||
| 58 | |||
| 59 | =head1 SEE ALSO | ||
| 60 | |||
| 61 | This class forms part of L<Paws>, describing an object used in L<Paws::Firehose> | ||
| 62 | |||
| 63 | =head1 BUGS and CONTRIBUTIONS | ||
| 64 | |||
| 65 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 66 | |||
| 67 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 68 | |||
| 69 | =cut | ||
| 70 |