Package com.gpudb.protocol
Class AggregateConvexHullResponse
java.lang.Object
com.gpudb.protocol.AggregateConvexHullResponse
All Implemented Interfaces:
org.apache.avro.generic.GenericContainer, org.apache.avro.generic.IndexedRecordpublic class AggregateConvexHullResponse extends Object implements org.apache.avro.generic.IndexedRecord
A set of results returned by
GPUdb.aggregateConvexHull.Constructor Summary
ConstructorsConstructorDescriptionConstructs an AggregateConvexHullResponse object with default parameters.Method Summary
Modifier and TypeMethodDescriptionbooleanget(int index) This method supports the Avro framework and is not intended to be called directly by the user.static org.apache.avro.SchemaThis method supports the Avro framework and is not intended to be called directly by the user.intgetCount()Count of the number of points in the convex set.getInfo()Additional information.booleanIndicates whether a valid convex hull could be computed for the input.org.apache.avro.SchemaThis method supports the Avro framework and is not intended to be called directly by the user.Array of x coordinates of the resulting convex set.Array of y coordinates of the resulting convex set.inthashCode()voidThis method supports the Avro framework and is not intended to be called directly by the user.setCount(int count) Count of the number of points in the convex set.Additional information.setIsValid(boolean isValid) Indicates whether a valid convex hull could be computed for the input.setXVector(List<Double> xVector) Array of x coordinates of the resulting convex set.setYVector(List<Double> yVector) Array of y coordinates of the resulting convex set.toString()
Method Details
getClassSchema
public static org.apache.avro.Schema getClassSchema()This method supports the Avro framework and is not intended to be called directly by the user.Returns:The schema for the class.setXVector
Array of x coordinates of the resulting convex set.Parameters:xVector- The new value forxVector.Returns:thisto mimic the builder pattern.setYVector
Array of y coordinates of the resulting convex set.Parameters:yVector- The new value foryVector.Returns:thisto mimic the builder pattern.getCount
public int getCount()Count of the number of points in the convex set.Returns:The current value ofcount.setCount
Count of the number of points in the convex set.Parameters:count- The new value forcount.Returns:thisto mimic the builder pattern.getIsValid
public boolean getIsValid()Indicates whether a valid convex hull could be computed for the input.Returns:The current value ofisValid.setIsValid
Indicates whether a valid convex hull could be computed for the input.Parameters:isValid- The new value forisValid.Returns:thisto mimic the builder pattern.setInfo
Additional information.Parameters:info- The new value forinfo.Returns:thisto mimic the builder pattern.getSchema
public org.apache.avro.Schema getSchema()This method supports the Avro framework and is not intended to be called directly by the user.Specified by:getSchemain interfaceorg.apache.avro.generic.GenericContainerReturns:The schema object describing this class.get
This method supports the Avro framework and is not intended to be called directly by the user.Specified by:getin interfaceorg.apache.avro.generic.IndexedRecordParameters:index- the position of the field to getReturns:value of the field with the given index.Throws:put
This method supports the Avro framework and is not intended to be called directly by the user.Specified by:putin interfaceorg.apache.avro.generic.IndexedRecordParameters:index- the position of the field to setvalue- the value to setThrows: