public class FilterByGeometryRequest extends Object implements org.apache.avro.generic.IndexedRecord
GPUdb.filterByGeometry(FilterByGeometryRequest)
.
inputWkt
.Modifier and Type | Class and Description |
---|---|
static class |
FilterByGeometryRequest.Operation
The geometric filtering operation to perform Values: contains, crosses, disjoint, equals, intersects, overlaps, touches,
within.
|
Constructor and Description |
---|
FilterByGeometryRequest()
Constructs a FilterByGeometryRequest object with default parameters.
|
FilterByGeometryRequest(String tableName,
String viewName,
String columnName,
String inputWkt,
String operation,
Map<String,String> options)
Constructs a FilterByGeometryRequest 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.
|
String |
getColumnName() |
String |
getInputWkt() |
String |
getOperation() |
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 |
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.
|
FilterByGeometryRequest |
setColumnName(String columnName) |
FilterByGeometryRequest |
setInputWkt(String inputWkt) |
FilterByGeometryRequest |
setOperation(String operation) |
FilterByGeometryRequest |
setOptions(Map<String,String> options) |
FilterByGeometryRequest |
setTableName(String tableName) |
FilterByGeometryRequest |
setViewName(String viewName) |
String |
toString() |
public FilterByGeometryRequest()
public FilterByGeometryRequest(String tableName, String viewName, String columnName, String inputWkt, String operation, Map<String,String> options)
tableName
- Name of the table on which the filter by geometry will be performed. Must be an existing table, collection
or view containing a column named WKT.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.columnName
- Name of the column to be used in the filter. Must be 'WKT'inputWkt
- A geometry in WKT format that will be used to filter the objects in tableName
.operation
- The geometric filtering operation to perform Values: contains, crosses, disjoint, equals, intersects,
overlaps, touches, within.options
- Optional parameters.public static org.apache.avro.Schema getClassSchema()
public String getTableName()
public FilterByGeometryRequest setTableName(String tableName)
tableName
- Name of the table on which the filter by geometry will be performed. Must be an existing table, collection
or view containing a column named WKT.this
to mimic the builder pattern.public String getViewName()
public FilterByGeometryRequest 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 getColumnName()
public FilterByGeometryRequest setColumnName(String columnName)
columnName
- Name of the column to be used in the filter. Must be 'WKT'this
to mimic the builder pattern.public String getInputWkt()
tableName
.public FilterByGeometryRequest setInputWkt(String inputWkt)
inputWkt
- A geometry in WKT format that will be used to filter the objects in tableName
.this
to mimic the builder pattern.public String getOperation()
public FilterByGeometryRequest setOperation(String operation)
operation
- The geometric filtering operation to perform Values: contains, crosses, disjoint, equals, intersects,
overlaps, touches, within.this
to mimic the builder pattern.public FilterByGeometryRequest 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.