Class SpatialExpression

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

public final class SpatialExpression extends Object
Represents a spatial SQL expression that can be used in a select list, insert/update value expression, or order clause while still carrying any required JDBC bind values.
  • Method Details

    • expression

      public String expression()
      Returns the raw SQL expression.
      Returns:
      SQL expression
    • selection

      public String selection(String alias)
      Returns this expression as a select-list projection with the given alias.
      Parameters:
      alias - projection alias
      Returns:
      SQL select-list entry
    • 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