public class UpdateRecordsBySeriesRequest extends Object implements org.apache.avro.generic.IndexedRecord
GPUdb.updateRecordsBySeries(UpdateRecordsBySeriesRequest)
.
Updates the view specified by tableName
to include full series
(track) information from the worldTableName
for the series (tracks)
present in the viewName
.
Constructor and Description |
---|
UpdateRecordsBySeriesRequest()
Constructs an UpdateRecordsBySeriesRequest object with default
parameters.
|
UpdateRecordsBySeriesRequest(String tableName,
String worldTableName,
String viewName,
List<String> reserved,
Map<String,String> options)
Constructs an UpdateRecordsBySeriesRequest object with the specified
parameters.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Object |
get(int index)
This method supports the Avro framework and is not intended to be called
directly by the user.
|
static org.apache.avro.Schema |
getClassSchema()
This method supports the Avro framework and is not intended to be called
directly by the user.
|
Map<String,String> |
getOptions() |
List<String> |
getReserved() |
org.apache.avro.Schema |
getSchema()
This method supports the Avro framework and is not intended to be called
directly by the user.
|
String |
getTableName() |
String |
getViewName() |
String |
getWorldTableName() |
int |
hashCode() |
void |
put(int index,
Object value)
This method supports the Avro framework and is not intended to be called
directly by the user.
|
UpdateRecordsBySeriesRequest |
setOptions(Map<String,String> options) |
UpdateRecordsBySeriesRequest |
setReserved(List<String> reserved) |
UpdateRecordsBySeriesRequest |
setTableName(String tableName) |
UpdateRecordsBySeriesRequest |
setViewName(String viewName) |
UpdateRecordsBySeriesRequest |
setWorldTableName(String worldTableName) |
String |
toString() |
public UpdateRecordsBySeriesRequest()
public UpdateRecordsBySeriesRequest(String tableName, String worldTableName, String viewName, List<String> reserved, Map<String,String> options)
tableName
- Name of the view on which the update operation will be
performed. Must be an existing view.worldTableName
- Name of the table containing the complete series
(track) information.viewName
- Optional name of the view containing the series
(tracks) which have to be updated. The default value
is ''.reserved
- The default value is an empty List
.options
- Optional parameters. The default value is an empty
Map
.public static org.apache.avro.Schema getClassSchema()
public String getTableName()
public UpdateRecordsBySeriesRequest setTableName(String tableName)
tableName
- Name of the view on which the update operation will be
performed. Must be an existing view.this
to mimic the builder pattern.public String getWorldTableName()
public UpdateRecordsBySeriesRequest setWorldTableName(String worldTableName)
worldTableName
- Name of the table containing the complete series
(track) information.this
to mimic the builder pattern.public String getViewName()
public UpdateRecordsBySeriesRequest setViewName(String viewName)
viewName
- Optional name of the view containing the series
(tracks) which have to be updated. The default value
is ''.this
to mimic the builder pattern.public UpdateRecordsBySeriesRequest setReserved(List<String> reserved)
reserved
- The default value is an empty List
.this
to mimic the builder pattern.public Map<String,String> getOptions()
Map
.public UpdateRecordsBySeriesRequest setOptions(Map<String,String> options)
options
- Optional parameters. The default value is an empty
Map
.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.