public class AggregateConvexHullRequest extends Object implements org.apache.avro.generic.IndexedRecord
GPUdb.aggregateConvexHull(AggregateConvexHullRequest)
.
Calculates and returns the convex hull for the values in a table specified
by tableName
.
Constructor and Description |
---|
AggregateConvexHullRequest()
Constructs an AggregateConvexHullRequest object with default parameters.
|
AggregateConvexHullRequest(String tableName,
String xColumnName,
String yColumnName,
Map<String,String> options)
Constructs an AggregateConvexHullRequest 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() |
String |
getXColumnName() |
String |
getYColumnName() |
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.
|
AggregateConvexHullRequest |
setOptions(Map<String,String> options) |
AggregateConvexHullRequest |
setTableName(String tableName) |
AggregateConvexHullRequest |
setXColumnName(String xColumnName) |
AggregateConvexHullRequest |
setYColumnName(String yColumnName) |
String |
toString() |
public AggregateConvexHullRequest()
public AggregateConvexHullRequest(String tableName, String xColumnName, String yColumnName, Map<String,String> options)
tableName
- Name of table on which the operation will be
performed. Must be an existing table. It cannot be a
collection.xColumnName
- Name of the column containing the x coordinates of
the points for the operation being performed.yColumnName
- Name of the column containing the y coordinates of
the points for the operation being performed.options
- Optional parameters. The default value is an empty
Map
.public static org.apache.avro.Schema getClassSchema()
public String getTableName()
public AggregateConvexHullRequest setTableName(String tableName)
tableName
- Name of table on which the operation will be
performed. Must be an existing table. It cannot be a
collection.this
to mimic the builder pattern.public String getXColumnName()
public AggregateConvexHullRequest setXColumnName(String xColumnName)
xColumnName
- Name of the column containing the x coordinates of
the points for the operation being performed.this
to mimic the builder pattern.public String getYColumnName()
public AggregateConvexHullRequest setYColumnName(String yColumnName)
yColumnName
- Name of the column containing the y coordinates of
the points for the operation being performed.this
to mimic the builder pattern.public Map<String,String> getOptions()
Map
.public AggregateConvexHullRequest 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.