public class FilterBySeriesRequest extends Object implements org.apache.avro.generic.IndexedRecord
GPUdb.filterBySeries(FilterBySeriesRequest)
.
Modifier and Type | Class and Description |
---|---|
static class |
FilterBySeriesRequest.Options
Optional parameters.
|
Constructor and Description |
---|
FilterBySeriesRequest()
Constructs a FilterBySeriesRequest object with default parameters.
|
FilterBySeriesRequest(String tableName,
String viewName,
String trackId,
List<String> targetTrackIds,
Map<String,String> options)
Constructs a FilterBySeriesRequest 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() |
org.apache.avro.Schema |
getSchema()
This method supports the Avro framework and is not intended to be called directly by the user.
|
String |
getTableName() |
List<String> |
getTargetTrackIds() |
String |
getTrackId() |
String |
getViewName() |
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.
|
FilterBySeriesRequest |
setOptions(Map<String,String> options) |
FilterBySeriesRequest |
setTableName(String tableName) |
FilterBySeriesRequest |
setTargetTrackIds(List<String> targetTrackIds) |
FilterBySeriesRequest |
setTrackId(String trackId) |
FilterBySeriesRequest |
setViewName(String viewName) |
String |
toString() |
public FilterBySeriesRequest()
public FilterBySeriesRequest(String tableName, String viewName, String trackId, List<String> targetTrackIds, Map<String,String> options)
tableName
- Name of the table on which the filter by track operation will be performed. Must be a currently existing
table with track semantic type.viewName
- If provided, then this will be the name of the view containing the results. Must not be an already existing
collection, table or view.trackId
- The ID of the track which will act as the filtering points. Must be an existing track within the given table.targetTrackIds
- Up to one track ID to intersect with the "filter" track. If any provided, it must be an valid track ID
within the given set.options
- Optional parameters.
public static org.apache.avro.Schema getClassSchema()
public String getTableName()
public FilterBySeriesRequest setTableName(String tableName)
tableName
- Name of the table on which the filter by track operation will be performed. Must be a currently existing
table with track semantic type.this
to mimic the builder pattern.public String getViewName()
public FilterBySeriesRequest setViewName(String viewName)
viewName
- If provided, then this will be the name of the view containing the results. Must not be an already existing
collection, table or view.this
to mimic the builder pattern.public String getTrackId()
public FilterBySeriesRequest setTrackId(String trackId)
trackId
- The ID of the track which will act as the filtering points. Must be an existing track within the given table.this
to mimic the builder pattern.public List<String> getTargetTrackIds()
public FilterBySeriesRequest setTargetTrackIds(List<String> targetTrackIds)
targetTrackIds
- Up to one track ID to intersect with the "filter" track. If any provided, it must be an valid track ID
within the given set.this
to mimic the builder pattern.public Map<String,String> getOptions()
public FilterBySeriesRequest setOptions(Map<String,String> options)
options
- Optional parameters.
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.