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
. If the table is a
collection and 'show_children' is set to 'true', then this array is populated with the names of all child tables of
the given collection. If 'show_children' is 'false' then this array will only include the collection itself. . If
tableName
is an empty string, then the array contains the names of all top-level tables in GPUdb.public ShowTableResponse setTableNames(List<String> tableNames)
tableNames
- If the table is a child-type table, then the single element of the array is tableName
. If the
table is a collection and 'show_children' is set to 'true', then this array is populated with the names of
all child tables of the given collection. If 'show_children' is 'false' then this array will only include
the collection itself. . If tableName
is an empty string, then the array contains the names of all
top-level tables in GPUdb.this
to mimic the builder pattern.public List<List<String>> getTableDescriptions()
tableNames
. Values include:
'COLLECTION','VIEW','REPLICATED','JOIN' Values: COLLECTION, VIEW, REPLICATED, JOIN.public ShowTableResponse setTableDescriptions(List<List<String>> tableDescriptions)
tableDescriptions
- List of descriptions for the respective tables in tableNames
. Values include:
'COLLECTION','VIEW','REPLICATED','JOIN' Values: COLLECTION, VIEW, REPLICATED, JOIN.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
. Values: .public ShowTableResponse setAdditionalInfo(List<Map<String,String>> additionalInfo)
additionalInfo
- Additional information about the respective tables in tableNames
. Values: .this
to mimic the builder pattern.public List<Long> getSizes()
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 'size' is the count 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 'size' is the count of
'conceptual' tracks (each of which may be associated with multiple objects).this
to mimic the builder pattern.public List<Long> getFullSizes()
tableNames
. For all but track data types, this is the same as sizes. For track types, since
each track semantically contains many individual objects, the 'full size' 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, the 'full size' is the count
of total objects.this
to mimic the builder pattern.public List<Double> getJoinSizes()
tableNames
. For simple tables this number will be the same as
size. 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 size. 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()
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()
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 © 2016. All rights reserved.