When providing the parameter string through setParams or the constructor none of the other values will be used. Instead the string as provided will be used.
Creating an instance of SpatialParameters without configuring it and passing it into the SpatialExpressionFactory call is equivalent to passing in null. The resulting SQL will have NULL writen out for the parameters argument to the spatial operator.
| Modifier and Type | Class and Description |
|---|---|
| public static enum | |
| public static enum | |
| public static enum |
| Modifier and Type | Field and Description |
|---|---|
| private Number | |
| private static String | |
| private static String | |
| private SpatialParameters. | |
| private static String | |
| private Number | |
| private static String | |
| private Number | |
| private String | |
| private SpatialParameters. | |
| private static String | |
| private static String | |
| private SpatialParameters. |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Number | |
| public SpatialParameters. | |
| public Number | |
| public Number | |
| public String | getParameterString()
PUBLIC: build a String describing this set of parameters that can be used in conjunction with an Oracle Spatial function |
| public String | |
| public SpatialParameters. | |
| public SpatialParameters. | |
| public SpatialParameters | Returns: this instance of SpatialParametersPUBLIC: Set the DISTANCE parameter |
| public SpatialParameters | Returns: this instance of SpatialParametersa value from the SpatialParmeters.Mask enum maskPUBLIC: Set the MASK parameter |
| public SpatialParameters | Returns: this instance of SpatialParametersan array of values from the SpatialParmeters.Mask enum masksPUBLIC: Set the MASK parameter |
| public SpatialParameters | Returns: this instance of SpatialParametersPUBLIC: Set the MAX_RESOLUTION parameter |
| public SpatialParameters | Returns: this instance of SpatialParametersPUBLIC: Set the MIN_RESOLUTION parameter |
| public SpatialParameters | |
| public SpatialParameters | Returns: this instance of SpatialParametersa value from the SpatialParameters.QueryType enum queryTypePUBLIC: Set the QUERY_TYPE parameter |
| public SpatialParameters | Returns: this instance of SpatialParametersa value from the SpatialParameters.Units enum unitsPUBLIC: Set the UNIT parameter |
| private boolean | writeParam(StringWriter writer, String paramName, Object paramValue, boolean hasParams)
INTERNAL: Write the parameter onto the StringWriter being used to construct the params string. |
| distance | back to summary |
|---|---|
| private Number distance | |
| DISTANCE_PARAM | back to summary |
|---|---|
| private static String DISTANCE_PARAM | |
| MASK_PARAM | back to summary |
|---|---|
| private static String MASK_PARAM | |
| masks | back to summary |
|---|---|
| private SpatialParameters. | |
| MAX_RES_PARAM | back to summary |
|---|---|
| private static String MAX_RES_PARAM | |
| maxResolution | back to summary |
|---|---|
| private Number maxResolution | |
| MIN_RES_PARAM | back to summary |
|---|---|
| private static String MIN_RES_PARAM | |
| minResolution | back to summary |
|---|---|
| private Number minResolution | |
| params | back to summary |
|---|---|
| private String params | |
| queryType | back to summary |
|---|---|
| private SpatialParameters. | |
| QUERYTYPE_PARAM | back to summary |
|---|---|
| private static String QUERYTYPE_PARAM | |
| UNIT_PARAM | back to summary |
|---|---|
| private static String UNIT_PARAM | |
| units | back to summary |
|---|---|
| private SpatialParameters. | |
| SpatialParameters | back to summary |
|---|---|
| public SpatialParameters() | |
| SpatialParameters | back to summary |
|---|---|
| public SpatialParameters(String params) | |
| getDistance | back to summary |
|---|---|
| public Number getDistance() | |
| getMasks | back to summary |
|---|---|
| public SpatialParameters. | |
| getMaxResolution | back to summary |
|---|---|
| public Number getMaxResolution() | |
| getMinResolution | back to summary |
|---|---|
| public Number getMinResolution() | |
| getParameterString | back to summary |
|---|---|
| public String getParameterString() PUBLIC: build a String describing this set of parameters that can be used in conjunction with an Oracle Spatial function | |
| getParams | back to summary |
|---|---|
| public String getParams() | |
| getQueryType | back to summary |
|---|---|
| public SpatialParameters. | |
| getUnits | back to summary |
|---|---|
| public SpatialParameters. | |
| setDistance | back to summary |
|---|---|
| public SpatialParameters setDistance(Number distance) PUBLIC: Set the DISTANCE parameter
| |
| setMask | back to summary |
|---|---|
| public SpatialParameters setMask(SpatialParameters. PUBLIC: Set the MASK parameter
| |
| setMasks | back to summary |
|---|---|
| public SpatialParameters setMasks(SpatialParameters. PUBLIC: Set the MASK parameter
| |
| setMaxResolution | back to summary |
|---|---|
| public SpatialParameters setMaxResolution(Number maxResolution) PUBLIC: Set the MAX_RESOLUTION parameter
| |
| setMinResolution | back to summary |
|---|---|
| public SpatialParameters setMinResolution(Number minResolution) PUBLIC: Set the MIN_RESOLUTION parameter
| |
| setParams | back to summary |
|---|---|
| public SpatialParameters setParams(String params) PUBLIC: Set the PARAMS (String) value. If this value is set then no other param values will be used.
| |
| setQueryType | back to summary |
|---|---|
| public SpatialParameters setQueryType(SpatialParameters. PUBLIC: Set the QUERY_TYPE parameter
| |
| setUnits | back to summary |
|---|---|
| public SpatialParameters setUnits(SpatialParameters. PUBLIC: Set the UNIT parameter
| |
| writeParam | back to summary |
|---|---|
| private boolean writeParam(StringWriter writer, String paramName, Object paramValue, boolean hasParams) INTERNAL: Write the parameter onto the StringWriter being used to construct the params string. Only write something if there is a value and return true indicating if a parameter is written. | |
| Modifier and Type | Field and Description |
|---|---|
| public static final SpatialParameters. | |
| public static final SpatialParameters. | |
| public static final SpatialParameters. | |
| public static final SpatialParameters. | |
| public static final SpatialParameters. | |
| public static final SpatialParameters. | |
| public static final SpatialParameters. | |
| public static final SpatialParameters. | |
| public static final SpatialParameters. | |
| public static final SpatialParameters. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static SpatialParameters. | |
| public static SpatialParameters. |
| ANYINTERACT | back to summary |
|---|---|
| public static final SpatialParameters. | |
| CONTAINS | back to summary |
|---|---|
| public static final SpatialParameters. | |
| COVEREDBY | back to summary |
|---|---|
| public static final SpatialParameters. | |
| COVERS | back to summary |
|---|---|
| public static final SpatialParameters. | |
| EQUAL | back to summary |
|---|---|
| public static final SpatialParameters. | |
| INSIDE | back to summary |
|---|---|
| public static final SpatialParameters. | |
| ON | back to summary |
|---|---|
| public static final SpatialParameters. | |
| OVERLAPBDYDISJOINT | back to summary |
|---|---|
| public static final SpatialParameters. | |
| OVERLAPBDYINTERSECT | back to summary |
|---|---|
| public static final SpatialParameters. | |
| TOUCH | back to summary |
|---|---|
| public static final SpatialParameters. | |
| Mask | back to summary |
|---|---|
| private Mask() | |
| valueOf | back to summary |
|---|---|
| public static SpatialParameters. | |
| values | back to summary |
|---|---|
| public static SpatialParameters. | |
| Modifier and Type | Field and Description |
|---|---|
| public static final SpatialParameters. | |
| public static final SpatialParameters. | |
| public static final SpatialParameters. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static SpatialParameters. | |
| public static SpatialParameters. |
| FILTER | back to summary |
|---|---|
| public static final SpatialParameters. | |
| JOIN | back to summary |
|---|---|
| public static final SpatialParameters. | |
| WINDOW | back to summary |
|---|---|
| public static final SpatialParameters. | |
| QueryType | back to summary |
|---|---|
| private QueryType() | |
| valueOf | back to summary |
|---|---|
| public static SpatialParameters. | |
| values | back to summary |
|---|---|
| public static SpatialParameters. | |
| Modifier and Type | Field and Description |
|---|---|
| public static final SpatialParameters. | |
| public static final SpatialParameters. | |
| public static final SpatialParameters. | |
| public static final SpatialParameters. | |
| public static final SpatialParameters. | |
| public static final SpatialParameters. | |
| public static final SpatialParameters. | |
| public static final SpatialParameters. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static SpatialParameters. | |
| public static SpatialParameters. |
| CM | back to summary |
|---|---|
| public static final SpatialParameters. | |
| FOOT | back to summary |
|---|---|
| public static final SpatialParameters. | |
| INCH | back to summary |
|---|---|
| public static final SpatialParameters. | |
| KM | back to summary |
|---|---|
| public static final SpatialParameters. | |
| M | back to summary |
|---|---|
| public static final SpatialParameters. | |
| MILE | back to summary |
|---|---|
| public static final SpatialParameters. | |
| MM | back to summary |
|---|---|
| public static final SpatialParameters. | |
| NAUT_MILE | back to summary |
|---|---|
| public static final SpatialParameters. | |
| Units | back to summary |
|---|---|
| private Units() | |
| valueOf | back to summary |
|---|---|
| public static SpatialParameters. | |
| values | back to summary |
|---|---|
| public static SpatialParameters. | |