org.jpox.store.expression.spatial
Class Spatial

java.lang.Object
  extended byorg.jpox.store.expression.spatial.Spatial

public class Spatial
extends java.lang.Object

Spatial functions to perform on literals. Not implemented

Version:
$Revision: 1.1 $

Constructor Summary
Spatial()
           
 
Method Summary
 boolean containsMethod(org.jpox.store.expression.ScalarExpression leftExpr, org.jpox.store.expression.ScalarExpression rightExpr)
          Evaluates if the leftExpr geometry contains the rightExpr geometry (OVERLAPBDYDISJOINT or OVERLAPBDYINTERSECT topological relationship).
 boolean equalsMethod(org.jpox.store.expression.ScalarExpression leftExpr, org.jpox.store.expression.ScalarExpression rightExpr)
          Evaluates if the leftExpr geometry equals the rightExpr geometry (EQUALS topological relationship).
 SpatialExpression geometryMethod(org.jpox.store.expression.ScalarExpression expr)
          Creates a spatial expression from a literal.
 SpatialExpression geometryMethod(org.jpox.store.expression.ScalarExpression operation, org.jpox.store.expression.ScalarExpression expr1)
          Creates a spatial expression from a literal.
 SpatialExpression geometryMethod(org.jpox.store.expression.ScalarExpression operation, org.jpox.store.expression.ScalarExpression expr1, org.jpox.store.expression.ScalarExpression expr2)
          Creates a spatial expression from a literal.
 SpatialExpression geometryMethod(org.jpox.store.expression.ScalarExpression operation, org.jpox.store.expression.ScalarExpression expr1, org.jpox.store.expression.ScalarExpression expr2, org.jpox.store.expression.ScalarExpression expr3)
          Creates a spatial expression from a literal.
 SpatialExpression geometryMethod(org.jpox.store.expression.ScalarExpression operation, org.jpox.store.expression.ScalarExpression expr1, org.jpox.store.expression.ScalarExpression expr2, org.jpox.store.expression.ScalarExpression expr3, org.jpox.store.expression.ScalarExpression expr4)
          Creates a spatial expression from a literal.
 SpatialExpression geometryMethod(org.jpox.store.expression.ScalarExpression operation, org.jpox.store.expression.ScalarExpression expr1, org.jpox.store.expression.ScalarExpression expr2, org.jpox.store.expression.ScalarExpression expr3, org.jpox.store.expression.ScalarExpression expr4, org.jpox.store.expression.ScalarExpression expr5)
          Creates a spatial expression from a literal.
 boolean insideMethod(java.lang.Object leftExpr, java.lang.Object rightExpr)
          Evaluates if the leftExpr geometry is inside the rightExpr geometry (INSIDE topological relationship).
 boolean overlapsMethod(org.jpox.store.expression.ScalarExpression leftExpr, org.jpox.store.expression.ScalarExpression rightExpr)
          Evaluates if the leftExpr geometry overlaps the rightExpr geometry (OVERLAPBDYDISJOINT or OVERLAPBDYINTERSECT topological relationship).
 boolean touchesMethod(org.jpox.store.expression.ScalarExpression leftExpr, org.jpox.store.expression.ScalarExpression rightExpr)
          Evaluates if the leftExpr geometry touches the rightExpr geometry (TOUCH topological relationship).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Spatial

public Spatial()
Method Detail

insideMethod

public boolean insideMethod(java.lang.Object leftExpr,
                            java.lang.Object rightExpr)
Evaluates if the leftExpr geometry is inside the rightExpr geometry (INSIDE topological relationship).

Parameters:
leftExpr - the searched geometry
rightExpr - the geometry
Returns:
true expression if leftExpr is inside the rightExpr

touchesMethod

public boolean touchesMethod(org.jpox.store.expression.ScalarExpression leftExpr,
                             org.jpox.store.expression.ScalarExpression rightExpr)
Evaluates if the leftExpr geometry touches the rightExpr geometry (TOUCH topological relationship).

Parameters:
leftExpr - the geometry
rightExpr - the geometry
Returns:
true expression if leftExpr touches the rightExpr

overlapsMethod

public boolean overlapsMethod(org.jpox.store.expression.ScalarExpression leftExpr,
                              org.jpox.store.expression.ScalarExpression rightExpr)
Evaluates if the leftExpr geometry overlaps the rightExpr geometry (OVERLAPBDYDISJOINT or OVERLAPBDYINTERSECT topological relationship).

Parameters:
leftExpr - the geometry
rightExpr - the geometry
Returns:
true expression if leftExpr overlaps the rightExpr

containsMethod

public boolean containsMethod(org.jpox.store.expression.ScalarExpression leftExpr,
                              org.jpox.store.expression.ScalarExpression rightExpr)
Evaluates if the leftExpr geometry contains the rightExpr geometry (OVERLAPBDYDISJOINT or OVERLAPBDYINTERSECT topological relationship).

Parameters:
leftExpr - the geometry
rightExpr - the geometry
Returns:
true expression if leftExpr contains the rightExpr

equalsMethod

public boolean equalsMethod(org.jpox.store.expression.ScalarExpression leftExpr,
                            org.jpox.store.expression.ScalarExpression rightExpr)
Evaluates if the leftExpr geometry equals the rightExpr geometry (EQUALS topological relationship).

Parameters:
leftExpr - the geometry
rightExpr - the geometry
Returns:
true expression if leftExpr equals the rightExpr

geometryMethod

public SpatialExpression geometryMethod(org.jpox.store.expression.ScalarExpression expr)
Creates a spatial expression from a literal.

Parameters:
expr - the literal expression representing the geometry
Returns:
A Spatial Expression

geometryMethod

public SpatialExpression geometryMethod(org.jpox.store.expression.ScalarExpression operation,
                                        org.jpox.store.expression.ScalarExpression expr1)
Creates a spatial expression from a literal.

Parameters:
operation - the operation expression
expr1 - the 1st argument
Returns:
A Spatial Expression

geometryMethod

public SpatialExpression geometryMethod(org.jpox.store.expression.ScalarExpression operation,
                                        org.jpox.store.expression.ScalarExpression expr1,
                                        org.jpox.store.expression.ScalarExpression expr2)
Creates a spatial expression from a literal.

Parameters:
operation - the operation expression
expr1 - the 1st argument
expr2 - the 2nd argument
Returns:
A Spatial Expression

geometryMethod

public SpatialExpression geometryMethod(org.jpox.store.expression.ScalarExpression operation,
                                        org.jpox.store.expression.ScalarExpression expr1,
                                        org.jpox.store.expression.ScalarExpression expr2,
                                        org.jpox.store.expression.ScalarExpression expr3)
Creates a spatial expression from a literal.

Parameters:
operation - the operation expression
expr1 - the 1st argument
expr2 - the 2nd argument
expr3 - the 3th argument
Returns:
A Spatial Expression

geometryMethod

public SpatialExpression geometryMethod(org.jpox.store.expression.ScalarExpression operation,
                                        org.jpox.store.expression.ScalarExpression expr1,
                                        org.jpox.store.expression.ScalarExpression expr2,
                                        org.jpox.store.expression.ScalarExpression expr3,
                                        org.jpox.store.expression.ScalarExpression expr4)
Creates a spatial expression from a literal.

Parameters:
operation - the operation expression
expr1 - the 1st argument
expr2 - the 2nd argument
expr3 - the 3th argument
expr4 - the 4th argument
Returns:
A Spatial Expression

geometryMethod

public SpatialExpression geometryMethod(org.jpox.store.expression.ScalarExpression operation,
                                        org.jpox.store.expression.ScalarExpression expr1,
                                        org.jpox.store.expression.ScalarExpression expr2,
                                        org.jpox.store.expression.ScalarExpression expr3,
                                        org.jpox.store.expression.ScalarExpression expr4,
                                        org.jpox.store.expression.ScalarExpression expr5)
Creates a spatial expression from a literal.

Parameters:
operation - the operation expression
expr1 - the 1st argument
expr2 - the 2nd argument
expr3 - the 3th argument
expr4 - the 4th argument
expr5 - the 5th argument
Returns:
A Spatial Expression


Copyright © 2003-2007 Java Persistent Objects (JPOX). All Rights Reserved.