Class SpatialPredicate

java.lang.Object
com.oracle.spring.spatial.SpatialPredicate
All Implemented Interfaces:
SpatialJdbcBindable

public final class SpatialPredicate extends Object
Represents a spatial predicate suitable for use in a SQL WHERE clause while carrying the bind values needed by Spring JDBC.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.springframework.jdbc.core.simple.JdbcClient.StatementSpec
    bind(org.springframework.jdbc.core.simple.JdbcClient.StatementSpec statement)
    Applies this part's bind parameters to the given statement.
    Returns the SQL predicate clause.

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • clause

      public String clause()
      Returns the SQL predicate clause.
      Returns:
      SQL predicate
    • bind

      public org.springframework.jdbc.core.simple.JdbcClient.StatementSpec bind(org.springframework.jdbc.core.simple.JdbcClient.StatementSpec statement)
      Description copied from interface: SpatialJdbcBindable
      Applies this part's bind parameters to the given statement.
      Specified by:
      bind in interface SpatialJdbcBindable
      Parameters:
      statement - statement to update
      Returns:
      updated statement