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
is true
, an array containing the
number of records of each corresponding table in tableNames
. Otherwise, an empty array.public ShowTableResponse setSizes(List<Long> sizes)
sizes
- If get_sizes
is true
, an array containing
the number of records of each corresponding table in
tableNames
. Otherwise, an empty array.this
to mimic the builder pattern.public List<Long> getFullSizes()
get_sizes
is true
, an array containing the
number of records of each corresponding table in tableNames
(same values as sizes
). Otherwise, an empty
array.public ShowTableResponse setFullSizes(List<Long> fullSizes)
fullSizes
- If get_sizes
is true
, an array
containing the number of records of each corresponding
table in tableNames
(same values as sizes
). Otherwise, an empty array.this
to mimic the builder pattern.public List<Double> getJoinSizes()
get_sizes
is true
, an array containing the
number of unfiltered records in the cross product of the
sub-tables of each corresponding join-table 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. Otherwise, (if get_sizes
is false
), an empty array.public ShowTableResponse setJoinSizes(List<Double> joinSizes)
joinSizes
- If get_sizes
is true
, an array
containing the number of unfiltered records in the
cross product of the sub-tables of each corresponding
join-table 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.
Otherwise, (if get_sizes
is false
), an
empty array.this
to mimic the builder pattern.public long getTotalSize()
get_sizes
is true
, the sum of the elements of
sizes
. Otherwise, -1.public ShowTableResponse setTotalSize(long totalSize)
totalSize
- If get_sizes
is true
, the sum of the
elements of sizes
. Otherwise, -1.this
to mimic the builder pattern.public long getTotalFullSize()
get_sizes
is true
, the sum of the elements of
fullSizes
(same value as totalSize
). Otherwise,
-1.public ShowTableResponse setTotalFullSize(long totalFullSize)
totalFullSize
- If get_sizes
is true
, the sum of
the elements of fullSizes
(same value as
totalSize
). Otherwise, -1.this
to mimic the builder pattern.public ShowTableResponse setInfo(Map<String,String> info)
info
- Additional information.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 © 2020. All rights reserved.