public class ShowTableResponse extends Object implements org.apache.avro.generic.IndexedRecord
GPUdb.showTable(ShowTableRequest)
.Modifier and Type | Class and Description |
---|---|
static class |
ShowTableResponse.AdditionalInfo
Additional information about the respective tables in
tableNames . |
static class |
ShowTableResponse.TableDescriptions
List of descriptions for the respective tables in
tableNames . |
Constructor and Description |
---|
ShowTableResponse()
Constructs a ShowTableResponse object with default parameters.
|
public ShowTableResponse()
public static org.apache.avro.Schema getClassSchema()
public String getTableName()
tableName
.public ShowTableResponse setTableName(String tableName)
tableName
- Value of tableName
.this
to mimic the builder pattern.public List<String> getTableNames()
tableName
is a table or view, then the single element
of the array is tableName
. If tableName
is a
collection and show_children
is set to true
,
then this array is populated with the names of all tables and
views contained by the given collection; if show_children
is false
then this array will only
include the collection name itself. If tableName
is an
empty string, then the array contains the names of all
collections and top-level tables.public ShowTableResponse setTableNames(List<String> tableNames)
tableNames
- If tableName
is a table or view, then the
single element of the array is tableName
. If
tableName
is a collection and show_children
is set to true
, then this
array is populated with the names of all tables and
views contained by the given collection; if show_children
is false
then this array will
only include the collection name itself. If tableName
is an empty string, then the array
contains the names of all collections and top-level
tables.this
to mimic the builder pattern.public List<List<String>> getTableDescriptions()
tableNames
.
Supported values:
public ShowTableResponse setTableDescriptions(List<List<String>> tableDescriptions)
tableDescriptions
- List of descriptions for the respective tables
in tableNames
.
Supported values:
this
to mimic the builder pattern.public List<String> getTypeIds()
tableNames
.public ShowTableResponse setTypeIds(List<String> typeIds)
typeIds
- Type ids of the respective tables in tableNames
.this
to mimic the builder pattern.public List<String> getTypeSchemas()
tableNames
.public ShowTableResponse setTypeSchemas(List<String> typeSchemas)
typeSchemas
- Type schemas of the respective tables in tableNames
.this
to mimic the builder pattern.public List<String> getTypeLabels()
tableNames
.public ShowTableResponse setTypeLabels(List<String> typeLabels)
typeLabels
- Type labels of the respective tables in tableNames
.this
to mimic the builder pattern.public List<Map<String,List<String>>> getProperties()
tableNames
.public ShowTableResponse setProperties(List<Map<String,List<String>>> properties)
properties
- Property maps of the respective tables in tableNames
.this
to mimic the builder pattern.public List<Map<String,String>> getAdditionalInfo()
tableNames
.
Supported values:
public ShowTableResponse setAdditionalInfo(List<Map<String,String>> additionalInfo)
additionalInfo
- Additional information about the respective
tables in tableNames
.
Supported values:
this
to mimic the builder pattern.public List<Long> getSizes()
get_sizes
option is false
.
Otherwise, sizes of the respective tables represented in tableNames
. For all but track data types, this is simply the
number of total objects in a table. For track types, since each
track semantically contains many individual objects, the sizes
are the counts of conceptual tracks (each of which may be
associated with multiple objects).public ShowTableResponse setSizes(List<Long> sizes)
sizes
- Empty array if the get_sizes
option is false
. Otherwise, sizes of the respective tables
represented in tableNames
. For all but track data
types, this is simply the number of total objects in a
table. For track types, since each track semantically
contains many individual objects, the sizes
are
the counts of conceptual tracks (each of which may be
associated with multiple objects).this
to mimic the builder pattern.public List<Long> getFullSizes()
get_sizes
option is false
.
Otherwise, number of total objects in the respective tables
represented in tableNames
. For all but track data types,
this is the same as sizes
. For track types, since each
track semantically contains many individual objects, fullSizes
is the count of total objects.public ShowTableResponse setFullSizes(List<Long> fullSizes)
fullSizes
- Empty array if the get_sizes
option is false
. Otherwise, number of total objects in the
respective tables represented in tableNames
.
For all but track data types, this is the same as
sizes
. For track types, since each track
semantically contains many individual objects, fullSizes
is the count of total objects.this
to mimic the builder pattern.public List<Double> getJoinSizes()
get_sizes
option is false
.
Otherwise, number of unfiltered objects in the cross product of
the sub-tables in the joined-tables represented in tableNames
. For simple tables, this number will be the same as
sizes
. For join-tables this value gives the number of
joined-table rows that must be processed by any aggregate
functions operating on the table.public ShowTableResponse setJoinSizes(List<Double> joinSizes)
joinSizes
- Empty array if the get_sizes
option is false
. Otherwise, number of unfiltered objects in the
cross product of the sub-tables in the joined-tables
represented in tableNames
. For simple tables,
this number will be the same as sizes
. For
join-tables this value gives the number of
joined-table rows that must be processed by any
aggregate functions operating on the table.this
to mimic the builder pattern.public long getTotalSize()
get_sizes
option is false
. Otherwise,
the sum of the elements of sizes
.public ShowTableResponse setTotalSize(long totalSize)
totalSize
- -1 if the get_sizes
option is false
.
Otherwise, the sum of the elements of sizes
.this
to mimic the builder pattern.public long getTotalFullSize()
get_sizes
option is false
. The sum of
the elements of fullSizes
.public ShowTableResponse setTotalFullSize(long totalFullSize)
totalFullSize
- -1 if the get_sizes
option is false
. The sum of the elements of fullSizes
.this
to mimic the builder pattern.public org.apache.avro.Schema getSchema()
getSchema
in interface org.apache.avro.generic.GenericContainer
public Object get(int index)
get
in interface org.apache.avro.generic.IndexedRecord
index
- the position of the field to getIndexOutOfBoundsException
public void put(int index, Object value)
put
in interface org.apache.avro.generic.IndexedRecord
index
- the position of the field to setvalue
- the value to setIndexOutOfBoundsException
Copyright © 2019. All rights reserved.