public class SDOParameterMap extends Object
Represents the parameters that can be passed into Oracle’s Spatial operators
| Modifier and Type | Field and Description |
|---|---|
static String |
DISTANCE
The distance parameter
|
static String |
MASK
The mask parameter
|
static String |
MAX_RESOLUTION
The max_resolution parameter
|
static String |
MIN_RESOLUTION
The min_resolution parameter
|
static String |
QUERYTYPE
The querytype parameter
|
static String |
SDO_BATCH_SIZE
The sdo_batch_size parameter
|
static String |
SDO_NUM_RES
The sdo_num_res parameter
|
static String |
UNIT
The unit parameter
|
| Constructor and Description |
|---|
SDOParameterMap()
Constructs an empty instance
|
| Modifier and Type | Method and Description |
|---|---|
Double |
getDistance() |
String |
getMask() |
Double |
getMaxResolution() |
Double |
getMinResolution() |
String |
getQueryType() |
Integer |
getSdoBatchSize() |
Integer |
getSdoNumRes() |
String |
getUnit() |
boolean |
isEmpty()
Checks whether this instance is empty
|
void |
removeDistance()
Removes the distance parameter
|
void |
removeMask()
Removes the mask parameter
|
void |
removeMaxResolution()
Removes the max_resolution parameter
|
void |
removeMinResolution()
Removes the min_resolution parameter
|
void |
removeQueryType()
Removes the querytype parameter
|
void |
removeSdoBatchSize()
Removes the sdo_batch_size parameter
|
void |
removeSdoNumRes()
Removes the sdo_num_res parameter
|
void |
removeUnit()
Removes the unit parameter
|
void |
setDistance(Double distance)
Adds the distance parameter with the specified value
|
void |
setMask(String mask)
Adds the mask parameter with the specified value
|
void |
setMaxResolution(Double res)
Adds the max_resolution parameter with the specified value
|
void |
setMinResolution(Double res)
Adds the min_resolution parameter with the specified value
|
void |
setQueryType(String queryType)
Adds the querytype parameter with the specified value
|
void |
setQueryTypeToFilter()
Adds the querytype parameter with value "FILTER"
|
void |
setSdoBatchSize(Integer size)
Adds the sdo_batch_size parameter with the specified value
|
void |
setSdoNumRes(Integer res)
Adds the sdo_num_res parameter with the specified value
|
void |
setUnit(String unit)
Adds the unit parameter with the specified value
|
String |
toQuotedString()
Returns all parameters contained in this instance as a quoted String containing
the <parameter name>=<parameter value> pairs separated by spaces.
|
public static final String DISTANCE
The distance parameter
public static final String SDO_BATCH_SIZE
The sdo_batch_size parameter
public static final String SDO_NUM_RES
The sdo_num_res parameter
public static final String UNIT
The unit parameter
public static final String MIN_RESOLUTION
The min_resolution parameter
public static final String MAX_RESOLUTION
The max_resolution parameter
public static final String MASK
The mask parameter
public static final String QUERYTYPE
The querytype parameter
public boolean isEmpty()
Checks whether this instance is empty
public Double getDistance()
public void setDistance(Double distance)
Adds the distance parameter with the specified value
distance - The value for the distance parameterpublic void removeDistance()
Removes the distance parameter
public Integer getSdoBatchSize()
public void setSdoBatchSize(Integer size)
Adds the sdo_batch_size parameter with the specified value
size - The value for the sdo_batch_size parameterpublic void removeSdoBatchSize()
Removes the sdo_batch_size parameter
public Integer getSdoNumRes()
public void setSdoNumRes(Integer res)
Adds the sdo_num_res parameter with the specified value
res - The value for the sdo_num_res parameterpublic void removeSdoNumRes()
Removes the sdo_num_res parameter
public String getUnit()
public void setUnit(String unit)
Adds the unit parameter with the specified value
unit - The value for the unit parameterpublic void removeUnit()
Removes the unit parameter
public Double getMaxResolution()
public void setMaxResolution(Double res)
Adds the max_resolution parameter with the specified value
res - The value for the max_resolution parameterpublic void removeMaxResolution()
Removes the max_resolution parameter
public Double getMinResolution()
public void setMinResolution(Double res)
Adds the min_resolution parameter with the specified value
res - The value for the min_resolution parameterpublic void removeMinResolution()
Removes the min_resolution parameter
public String getMask()
public void setMask(String mask)
Adds the mask parameter with the specified value
mask - The value for the mask parameterpublic void removeMask()
Removes the mask parameter
public void setQueryTypeToFilter()
Adds the querytype parameter with value "FILTER"
public String getQueryType()
public void setQueryType(String queryType)
Adds the querytype parameter with the specified value
queryType - The value for the quertype parameterpublic void removeQueryType()
Removes the querytype parameter
public String toQuotedString()
Returns all parameters contained in this instance as a quoted String containing the <parameter name>=<parameter value> pairs separated by spaces.
The return format is as expected by the various SDO_GEOMETRY spatial functions.
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.