File Coverage

blib/lib/Paws/Glue/Table.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package Paws::Glue::Table;
2 1     1   412 use Moose;
  1         3  
  1         10  
3             has CreatedBy => (is => 'ro', isa => 'Str');
4             has CreateTime => (is => 'ro', isa => 'Str');
5             has DatabaseName => (is => 'ro', isa => 'Str');
6             has Description => (is => 'ro', isa => 'Str');
7             has LastAccessTime => (is => 'ro', isa => 'Str');
8             has LastAnalyzedTime => (is => 'ro', isa => 'Str');
9             has Name => (is => 'ro', isa => 'Str', required => 1);
10             has Owner => (is => 'ro', isa => 'Str');
11             has Parameters => (is => 'ro', isa => 'Paws::Glue::ParametersMap');
12             has PartitionKeys => (is => 'ro', isa => 'ArrayRef[Paws::Glue::Column]');
13             has Retention => (is => 'ro', isa => 'Int');
14             has StorageDescriptor => (is => 'ro', isa => 'Paws::Glue::StorageDescriptor');
15             has TableType => (is => 'ro', isa => 'Str');
16             has UpdateTime => (is => 'ro', isa => 'Str');
17             has ViewExpandedText => (is => 'ro', isa => 'Str');
18             has ViewOriginalText => (is => 'ro', isa => 'Str');
19             1;
20              
21             ### main pod documentation begin ###
22              
23             =head1 NAME
24              
25             Paws::Glue::Table
26              
27             =head1 USAGE
28              
29             This class represents one of two things:
30              
31             =head3 Arguments in a call to a service
32              
33             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
34             Each attribute should be used as a named argument in the calls that expect this type of object.
35              
36             As an example, if Att1 is expected to be a Paws::Glue::Table object:
37              
38             $service_obj->Method(Att1 => { CreatedBy => $value, ..., ViewOriginalText => $value });
39              
40             =head3 Results returned from an API call
41              
42             Use accessors for each attribute. If Att1 is expected to be an Paws::Glue::Table object:
43              
44             $result = $service_obj->Method(...);
45             $result->Att1->CreatedBy
46              
47             =head1 DESCRIPTION
48              
49             Represents a collection of related data organized in columns and rows.
50              
51             =head1 ATTRIBUTES
52              
53              
54             =head2 CreatedBy => Str
55              
56             Person or entity who created the table.
57              
58              
59             =head2 CreateTime => Str
60              
61             Time when the table definition was created in the Data Catalog.
62              
63              
64             =head2 DatabaseName => Str
65              
66             Name of the metadata database where the table metadata resides.
67              
68              
69             =head2 Description => Str
70              
71             Description of the table.
72              
73              
74             =head2 LastAccessTime => Str
75              
76             Last time the table was accessed. This is usually taken from HDFS, and
77             may not be reliable.
78              
79              
80             =head2 LastAnalyzedTime => Str
81              
82             Last time column statistics were computed for this table.
83              
84              
85             =head2 B<REQUIRED> Name => Str
86              
87             Name of the table.
88              
89              
90             =head2 Owner => Str
91              
92             Owner of the table.
93              
94              
95             =head2 Parameters => L<Paws::Glue::ParametersMap>
96              
97             Properties associated with this table, as a list of key-value pairs.
98              
99              
100             =head2 PartitionKeys => ArrayRef[L<Paws::Glue::Column>]
101              
102             A list of columns by which the table is partitioned. Only primitive
103             types are supported as partition keys.
104              
105              
106             =head2 Retention => Int
107              
108             Retention time for this table.
109              
110              
111             =head2 StorageDescriptor => L<Paws::Glue::StorageDescriptor>
112              
113             A storage descriptor containing information about the physical storage
114             of this table.
115              
116              
117             =head2 TableType => Str
118              
119             The type of this table (C<EXTERNAL_TABLE>, C<VIRTUAL_VIEW>, etc.).
120              
121              
122             =head2 UpdateTime => Str
123              
124             Last time the table was updated.
125              
126              
127             =head2 ViewExpandedText => Str
128              
129             If the table is a view, the expanded text of the view; otherwise
130             C<null>.
131              
132              
133             =head2 ViewOriginalText => Str
134              
135             If the table is a view, the original text of the view; otherwise
136             C<null>.
137              
138              
139              
140             =head1 SEE ALSO
141              
142             This class forms part of L<Paws>, describing an object used in L<Paws::Glue>
143              
144             =head1 BUGS and CONTRIBUTIONS
145              
146             The source code is located here: https://github.com/pplu/aws-sdk-perl
147              
148             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
149              
150             =cut
151